aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-07-17 12:22:04 +0200
committerMicael Karlberg <[email protected]>2019-07-17 12:22:04 +0200
commit39e6da2829257fec14142f8b40135e42b43ff41b (patch)
treeabfa1c9cca0a0bc53cf4ee7653204d1b79194997 /lib
parent17fb07f0fb1c17d0712cc6176e14466efc19b93d (diff)
downloadotp-39e6da2829257fec14142f8b40135e42b43ff41b.tar.gz
otp-39e6da2829257fec14142f8b40135e42b43ff41b.tar.bz2
otp-39e6da2829257fec14142f8b40135e42b43ff41b.zip
[megaco|test] Removed the "compile all" compiler directive (appup)
Removed the "compile all" compiler directive for the appup megaco test suite.
Diffstat (limited to 'lib')
-rw-r--r--lib/megaco/test/megaco_appup_test.erl25
1 files changed, 22 insertions, 3 deletions
diff --git a/lib/megaco/test/megaco_appup_test.erl b/lib/megaco/test/megaco_appup_test.erl
index 8dc3ad51a0..a06d274844 100644
--- a/lib/megaco/test/megaco_appup_test.erl
+++ b/lib/megaco/test/megaco_appup_test.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2002-2016. All Rights Reserved.
+%% Copyright Ericsson AB 2002-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.
@@ -22,8 +22,23 @@
%%----------------------------------------------------------------------
-module(megaco_appup_test).
--compile(export_all).
--compile({no_auto_import,[error/1]}).
+-export([
+ all/0,
+ groups/0,
+
+ init_per_suite/1,
+ end_per_suite/1,
+
+ init_per_group/2,
+ end_per_group/2,
+
+ init_per_testcase/2,
+ end_per_testcase/2,
+
+ appup_file/1
+ ]).
+
+-compile({no_auto_import, [error/1]}).
-include_lib("common_test/include/ct.hrl").
-include("megaco_test_lib.hrl").
@@ -76,6 +91,10 @@ end_per_testcase(_Case, Config) when is_list(Config) ->
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Perform a simple check of the appup file
+appup_file(suite) ->
+ [];
+appup_file(doc) ->
+ ["Perform a simple check of the appup file"];
appup_file(Config) when is_list(Config) ->
ok = ?t:appup_test(megaco).