aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/andor_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-10-12 10:43:56 +0200
committerLukas Larsson <[email protected]>2011-02-17 17:25:13 +0100
commit3d0f4a3085f11389e5b22d10f96f0cbf08c9337f (patch)
tree1103c2da64be7f08e523b499d9c5b35c6f6901c2 /lib/compiler/test/andor_SUITE.erl
parenta424e5a7dffcbf4685ee3be9fdec7002fa03294b (diff)
downloadotp-3d0f4a3085f11389e5b22d10f96f0cbf08c9337f.tar.gz
otp-3d0f4a3085f11389e5b22d10f96f0cbf08c9337f.tar.bz2
otp-3d0f4a3085f11389e5b22d10f96f0cbf08c9337f.zip
Update compiler tests to conform with common_test standard
Diffstat (limited to 'lib/compiler/test/andor_SUITE.erl')
-rw-r--r--lib/compiler/test/andor_SUITE.erl22
1 files changed, 16 insertions, 6 deletions
diff --git a/lib/compiler/test/andor_SUITE.erl b/lib/compiler/test/andor_SUITE.erl
index 84cfd16e60..990ec13887 100644
--- a/lib/compiler/test/andor_SUITE.erl
+++ b/lib/compiler/test/andor_SUITE.erl
@@ -18,16 +18,26 @@
%%
-module(andor_SUITE).
--export([all/1,
+-export([all/0,groups/0,init_per_group/2,end_per_group/2,
t_case/1,t_and_or/1,t_andalso/1,t_orelse/1,inside/1,overlap/1,
combined/1,in_case/1,before_and_inside_if/1]).
--include("test_server.hrl").
+-include_lib("test_server/include/test_server.hrl").
+
+all() ->
+test_lib:recompile(andor_SUITE),
+ [t_case, t_and_or, t_andalso, t_orelse, inside, overlap,
+ combined, in_case, before_and_inside_if].
+
+groups() ->
+ [].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
-all(suite) ->
- test_lib:recompile(?MODULE),
- [t_case,t_and_or,t_andalso,t_orelse,inside,overlap,combined,in_case,
- before_and_inside_if].
t_case(Config) when is_list(Config) ->
%% We test boolean cases almost but not quite like cases