From 8ac8882c9c59313eba734e0727924e391f900b2e Mon Sep 17 00:00:00 2001
From: Micael Karlberg <bmk@erlang.org>
Date: Wed, 17 Jul 2019 15:13:34 +0200
Subject: [megaco|test] Removed the "compile all" compiler directive (call
 flow)

Removed the "compile all" compiler directive for the call flow
megaco test suite.
---
 lib/megaco/test/megaco_call_flow_test.erl | 94 +++++++++++++++++++++++++++++--
 1 file changed, 88 insertions(+), 6 deletions(-)

diff --git a/lib/megaco/test/megaco_call_flow_test.erl b/lib/megaco/test/megaco_call_flow_test.erl
index eb4574862d..03caf705ba 100644
--- a/lib/megaco/test/megaco_call_flow_test.erl
+++ b/lib/megaco/test/megaco_call_flow_test.erl
@@ -1,7 +1,7 @@
 %%
 %% %CopyrightBegin%
 %% 
-%% Copyright Ericsson AB 2000-2016. All Rights Reserved.
+%% Copyright Ericsson AB 2000-2019. All Rights Reserved.
 %% 
 %% Licensed under the Apache License, Version 2.0 (the "License");
 %% you may not use this file except in compliance with the License.
@@ -38,7 +38,85 @@
 
 -module(megaco_call_flow_test).
 
--compile(export_all).
+-export([
+         all/0,
+         groups/0,
+
+         init_per_group/2,
+         end_per_group/2,
+         init_per_testcase/2,
+         end_per_testcase/2,
+
+         pretty/1,
+         compact/1,
+         pretty_flex/1,
+         compact_flex/1,
+         bin/1,
+         ber/1,
+         per/1,
+         standard_erl/1,
+         compressed_erl/1,
+
+         t/0, t/1
+
+        ]).
+
+-export([
+         msg1/0,   msg1/1,
+         msg2/0,   msg2/1,
+         msg3/0,   msg3/1,
+         msg4/0,   msg4/1,
+         msg5a/0,  msg5a/1,
+         msg5b/0,  msg5b/1,
+         msg6/0,   msg6/1,
+         msg7/0,   msg7/1,
+         msg9/0,   msg9/1,
+         msg10/0,  msg10/1,
+         msg11/0,  msg11/1,
+         msg12/0,  msg12/1,
+         msg13/0,  msg13/1,
+         msg14/0,  msg14/1,
+         msg15/0,  msg15/1,
+         msg16/0,  msg16/1,
+         msg17a/0, msg17a/1,
+         msg17b/0, msg17b/1,
+         msg18a/0, msg18a/1,
+         msg18b/0, msg18b/1,
+         msg18c/0, msg18c/1,
+         msg18d/0, msg18d/1,
+         msg19a/0, msg19a/1,
+         msg19b/0, msg19b/1,
+         msg20/0,  msg20/1,
+         msg21/0,  msg21/1,
+         msg22a/0, msg22a/1,
+         msg22b/0, msg22b/1,
+         msg23a/0, msg23a/1,
+         msg23b/0, msg23b/1
+         
+        ]).
+
+-export([
+         encoders/0,
+         msg_sizes/0,
+         coding_times/0,
+         encoding_times/0,
+         decoding_times/0,
+         coding_times_stat/0,
+         encoding_times_stat/0,
+         decoding_times_stat/0,
+         size_stat/0,
+         gnuplot_gif/0,
+         gnuplot_size_gif/0,
+
+         gen_byte_msg/2,
+         gen_header_file_binary/1,
+         gen_ber_header/0,
+         gen_ber_bin_header/0,
+         gen_per_header/0,
+         single_meter/4,
+         count/2
+        ]).
+
 -include_lib("megaco/include/megaco.hrl").
 -include_lib("megaco/include/megaco_message_v1.hrl").
 -include("megaco_test_lib.hrl").
@@ -53,16 +131,20 @@ init_per_testcase(Case, Config) ->
 end_per_testcase(Case, Config) ->
     megaco_test_lib:end_per_testcase(Case, Config).
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %% Top test case
 
 all() -> 
-    [{group, text}, {group, binary}].
+    [{group, text}, {group, binary}, {group, erl}].
 
 groups() -> 
-    [{text, [], [pretty, compact]},
-     {flex, [], [pretty_flex, compact_flex]},
-     {binary, [], [bin, ber, per]}].
+    [
+     {text,   [], [pretty, compact]},
+     {flex,   [], [pretty_flex, compact_flex]},
+     {binary, [], [bin, ber, per]},
+     {erl,    [], [standard_erl, compressed_erl]}
+    ].
 
 init_per_group(_GroupName, Config) ->
     Config.
-- 
cgit v1.2.3