aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test/ethread_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/ethread_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/ethread_SUITE.erl')
-rw-r--r--erts/test/ethread_SUITE.erl34
1 files changed, 16 insertions, 18 deletions
diff --git a/erts/test/ethread_SUITE.erl b/erts/test/ethread_SUITE.erl
index 69e5af802f..5e6d677c66 100644
--- a/erts/test/ethread_SUITE.erl
+++ b/erts/test/ethread_SUITE.erl
@@ -31,7 +31,7 @@
-define(DEFAULT_TIMEOUT, ?t:minutes(10)).
--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([create_join_thread/1,
equal_tids/1,
@@ -49,24 +49,22 @@
-include_lib("test_server/include/test_server.hrl").
-tests() ->
- [create_join_thread,
- equal_tids,
- mutex,
- try_lock_mutex,
- cond_wait,
- broadcast,
- detached_thread,
- max_threads,
- tsd,
- spinlock,
- rwspinlock,
- rwmutex,
- atomic].
-
-all(doc) -> [];
-all(suite) -> tests().
+tests() ->
+[create_join_thread, equal_tids, mutex, try_lock_mutex,
+ cond_wait, broadcast, detached_thread,
+ max_threads, tsd, spinlock, rwspinlock, rwmutex, atomic].
+all() ->
+tests().
+
+groups() ->
+ [].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
%%
%%