aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test/z_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-10-12 10:51:22 +0200
committerLukas Larsson <[email protected]>2011-02-17 17:28:28 +0100
commitafda520a493cfc6dda951d0881d28190f564ec08 (patch)
treefb21b65fe9b0b1a34933ee68e869fae63f4fbaaa /erts/test/z_SUITE.erl
parentcbd5fd9daadf1f46c718774732a65cf830b64f94 (diff)
downloadotp-afda520a493cfc6dda951d0881d28190f564ec08.tar.gz
otp-afda520a493cfc6dda951d0881d28190f564ec08.tar.bz2
otp-afda520a493cfc6dda951d0881d28190f564ec08.zip
Update system tests to conform with common_test standard
Diffstat (limited to 'erts/test/z_SUITE.erl')
-rw-r--r--erts/test/z_SUITE.erl19
1 files changed, 14 insertions, 5 deletions
diff --git a/erts/test/z_SUITE.erl b/erts/test/z_SUITE.erl
index 9f13a7083d..8126acb18d 100644
--- a/erts/test/z_SUITE.erl
+++ b/erts/test/z_SUITE.erl
@@ -35,11 +35,11 @@
-define(DEFAULT_TIMEOUT, ?t:minutes(5)).
--export([all/1, init_per_testcase/2, fin_per_testcase/2]).
+-export([all/0,groups/0,init_per_group/2,end_per_group/2, init_per_testcase/2, fin_per_testcase/2]).
-export([search_for_core_files/1, core_files/1]).
--include_lib("test_server/include/test_server.hrl").
+-include_lib("common_test/include/ct.hrl").
init_per_testcase(Case, Config) ->
@@ -51,9 +51,18 @@ fin_per_testcase(_Case, Config) ->
?t:timetrap_cancel(Dog),
ok.
-all(doc) -> [];
-all(suite) ->
- [core_files].
+all() ->
+[core_files].
+
+groups() ->
+ [].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
+
core_files(doc) ->