aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-12-06 16:48:31 +0100
committerLukas Larsson <[email protected]>2011-02-17 17:33:19 +0100
commit83f932257470f5ae01fc61130e997fdea0562653 (patch)
tree8a9eb98fd60c89e09dca5f858f76b1b318374524 /erts/test
parent19d5a0e59f9897361d18b3c8987561620a212f04 (diff)
downloadotp-83f932257470f5ae01fc61130e997fdea0562653.tar.gz
otp-83f932257470f5ae01fc61130e997fdea0562653.tar.bz2
otp-83f932257470f5ae01fc61130e997fdea0562653.zip
Add ts_install_scb to suite/0
Diffstat (limited to 'erts/test')
-rw-r--r--erts/test/autoimport_SUITE.erl4
-rw-r--r--erts/test/erl_print_SUITE.erl4
-rw-r--r--erts/test/erlc_SUITE.erl4
-rw-r--r--erts/test/erlexec_SUITE.erl4
-rw-r--r--erts/test/ethread_SUITE.erl4
-rw-r--r--erts/test/install_SUITE.erl4
-rw-r--r--erts/test/nt_SUITE.erl4
-rw-r--r--erts/test/otp_SUITE.erl4
-rw-r--r--erts/test/run_erl_SUITE.erl4
-rw-r--r--erts/test/z_SUITE.erl4
10 files changed, 30 insertions, 10 deletions
diff --git a/erts/test/autoimport_SUITE.erl b/erts/test/autoimport_SUITE.erl
index cd37ef1374..eb23ef46b9 100644
--- a/erts/test/autoimport_SUITE.erl
+++ b/erts/test/autoimport_SUITE.erl
@@ -20,9 +20,11 @@
-module(autoimport_SUITE).
-include_lib("test_server/include/test_server.hrl").
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,fin_per_testcase/2,autoimports/1]).
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,fin_per_testcase/2,autoimports/1]).
-define(TEST_TIMEOUT, ?t:seconds(180)).
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[autoimports].
diff --git a/erts/test/erl_print_SUITE.erl b/erts/test/erl_print_SUITE.erl
index 5fd2bb5790..e598027885 100644
--- a/erts/test/erl_print_SUITE.erl
+++ b/erts/test/erl_print_SUITE.erl
@@ -32,12 +32,14 @@
-define(DEFAULT_TIMEOUT, ?t:minutes(10)).
--export([all/0,groups/0,init_per_group/2,end_per_group/2, init_per_testcase/2, fin_per_testcase/2]).
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2, init_per_testcase/2, fin_per_testcase/2]).
-export([erlang_display/1, integer/1, float/1, string/1, character/1, snprintf/1, quote/1]).
-include_lib("test_server/include/test_server.hrl").
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
test_cases().
diff --git a/erts/test/erlc_SUITE.erl b/erts/test/erlc_SUITE.erl
index efa9c84208..973fbad6e9 100644
--- a/erts/test/erlc_SUITE.erl
+++ b/erts/test/erlc_SUITE.erl
@@ -20,12 +20,14 @@
%% Tests the erlc command by compiling various types of files.
--export([all/0,groups/0,init_per_group/2,end_per_group/2, compile_erl/1,
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2, compile_erl/1,
compile_yecc/1, compile_script/1,
compile_mib/1, good_citizen/1, deep_cwd/1, arg_overflow/1]).
-include_lib("test_server/include/test_server.hrl").
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[compile_erl, compile_yecc, compile_script, compile_mib,
good_citizen, deep_cwd, arg_overflow].
diff --git a/erts/test/erlexec_SUITE.erl b/erts/test/erlexec_SUITE.erl
index 255caca4df..785c788603 100644
--- a/erts/test/erlexec_SUITE.erl
+++ b/erts/test/erlexec_SUITE.erl
@@ -31,7 +31,7 @@
-define(DEFAULT_TIMEOUT, ?t:minutes(1)).
--export([all/0,groups/0,init_per_group/2,end_per_group/2, init_per_testcase/2, fin_per_testcase/2]).
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2, init_per_testcase/2, fin_per_testcase/2]).
-export([args_file/1, evil_args_file/1, env/1, args_file_env/1, otp_7461/1, otp_7461_remote/1, otp_8209/1, zdbbl_dist_buf_busy_limit/1]).
@@ -51,6 +51,8 @@ fin_per_testcase(_Case, Config) ->
?t:timetrap_cancel(Dog),
ok.
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[args_file, evil_args_file, env, args_file_env,
otp_7461, otp_8209, zdbbl_dist_buf_busy_limit].
diff --git a/erts/test/ethread_SUITE.erl b/erts/test/ethread_SUITE.erl
index 5e6d677c66..dfce951c80 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/0,groups/0,init_per_group/2,end_per_group/2, init_per_testcase/2, fin_per_testcase/2]).
+-export([all/0, suite/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,
@@ -54,6 +54,8 @@ tests() ->
cond_wait, broadcast, detached_thread,
max_threads, tsd, spinlock, rwspinlock, rwmutex, atomic].
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
tests().
diff --git a/erts/test/install_SUITE.erl b/erts/test/install_SUITE.erl
index 84892384aa..8797d62cfa 100644
--- a/erts/test/install_SUITE.erl
+++ b/erts/test/install_SUITE.erl
@@ -29,7 +29,7 @@
%-define(line_trace, 1).
--export([all/0,groups/0,init_per_group/2,end_per_group/2, init_per_suite/1, end_per_suite/1,
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2, init_per_suite/1, end_per_suite/1,
init_per_testcase/2, fin_per_testcase/2]).
-export([bin_default/1,
@@ -75,6 +75,8 @@ dont_need_symlink_cases() ->
bin_unreasonable_path, 'bin white space',
bin_no_srcfile].
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
dont_need_symlink_cases() ++ need_symlink_cases().
diff --git a/erts/test/nt_SUITE.erl b/erts/test/nt_SUITE.erl
index 981a1c55f4..fc073067f1 100644
--- a/erts/test/nt_SUITE.erl
+++ b/erts/test/nt_SUITE.erl
@@ -22,7 +22,7 @@
-include_lib("test_server/include/test_server.hrl").
-include_lib("kernel/include/file.hrl").
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,fin_per_testcase/2,nt/1,handle_eventlog/2,
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,fin_per_testcase/2,nt/1,handle_eventlog/2,
middleman/1,service_basic/1, service_env/1, user_env/1, synced/1,
service_prio/1,
logout/1, debug/1, restart/1, restart_always/1,stopaction/1,
@@ -31,6 +31,8 @@
-define(TEST_SERVICES, [1,2,3,4,5,6,7,8,9,10,11]).
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
case os:type() of
{win32, nt} ->
diff --git a/erts/test/otp_SUITE.erl b/erts/test/otp_SUITE.erl
index 15c56fd6ea..afc089408a 100644
--- a/erts/test/otp_SUITE.erl
+++ b/erts/test/otp_SUITE.erl
@@ -19,7 +19,7 @@
-module(otp_SUITE).
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_suite/1,end_per_suite/1]).
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2,init_per_suite/1,end_per_suite/1]).
-export([undefined_functions/1,deprecated_not_in_obsolete/1,
obsolete_but_not_deprecated/1,call_to_deprecated/1,
call_to_size_1/1,strong_components/1]).
@@ -28,6 +28,8 @@
-import(lists, [filter/2,foldl/3,foreach/2]).
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[undefined_functions, deprecated_not_in_obsolete,
obsolete_but_not_deprecated, call_to_deprecated,
diff --git a/erts/test/run_erl_SUITE.erl b/erts/test/run_erl_SUITE.erl
index e4efd3075d..e541e884df 100644
--- a/erts/test/run_erl_SUITE.erl
+++ b/erts/test/run_erl_SUITE.erl
@@ -19,7 +19,7 @@
-module(run_erl_SUITE).
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,fin_per_testcase/2,
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,fin_per_testcase/2,
basic/1,heavy/1,heavier/1,defunct/1]).
-export([ping_me_back/1]).
@@ -34,6 +34,8 @@ fin_per_testcase(_Case, Config) ->
?t:timetrap_cancel(Dog),
ok.
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[basic, heavy, heavier, defunct].
diff --git a/erts/test/z_SUITE.erl b/erts/test/z_SUITE.erl
index 8126acb18d..8421982961 100644
--- a/erts/test/z_SUITE.erl
+++ b/erts/test/z_SUITE.erl
@@ -35,7 +35,7 @@
-define(DEFAULT_TIMEOUT, ?t:minutes(5)).
--export([all/0,groups/0,init_per_group/2,end_per_group/2, init_per_testcase/2, fin_per_testcase/2]).
+-export([all/0, suite/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]).
@@ -51,6 +51,8 @@ fin_per_testcase(_Case, Config) ->
?t:timetrap_cancel(Dog),
ok.
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[core_files].