aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/test
diff options
context:
space:
mode:
Diffstat (limited to 'lib/debugger/test')
-rw-r--r--lib/debugger/test/andor_SUITE.erl4
-rw-r--r--lib/debugger/test/bs_bincomp_SUITE.erl4
-rw-r--r--lib/debugger/test/bs_construct_SUITE.erl4
-rw-r--r--lib/debugger/test/bs_match_bin_SUITE.erl4
-rw-r--r--lib/debugger/test/bs_match_int_SUITE.erl4
-rw-r--r--lib/debugger/test/bs_match_misc_SUITE.erl4
-rw-r--r--lib/debugger/test/bs_match_tail_SUITE.erl4
-rw-r--r--lib/debugger/test/bs_utf_SUITE.erl4
-rw-r--r--lib/debugger/test/bug_SUITE.erl4
-rw-r--r--lib/debugger/test/dbg_ui_SUITE.erl4
-rw-r--r--lib/debugger/test/debugger_SUITE.erl4
-rw-r--r--lib/debugger/test/erl_eval_SUITE.erl4
-rw-r--r--lib/debugger/test/exception_SUITE.erl4
-rw-r--r--lib/debugger/test/fun_SUITE.erl4
-rw-r--r--lib/debugger/test/guard_SUITE.erl4
-rw-r--r--lib/debugger/test/int_SUITE.erl4
-rw-r--r--lib/debugger/test/int_break_SUITE.erl4
-rw-r--r--lib/debugger/test/int_eval_SUITE.erl4
-rw-r--r--lib/debugger/test/lc_SUITE.erl4
-rw-r--r--lib/debugger/test/record_SUITE.erl4
-rw-r--r--lib/debugger/test/trycatch_SUITE.erl8
21 files changed, 66 insertions, 22 deletions
diff --git a/lib/debugger/test/andor_SUITE.erl b/lib/debugger/test/andor_SUITE.erl
index 2ac7a73ebe..6932d5a162 100644
--- a/lib/debugger/test/andor_SUITE.erl
+++ b/lib/debugger/test/andor_SUITE.erl
@@ -20,12 +20,14 @@
%%
-module(andor_SUITE).
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/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_testcase/2,end_per_testcase/2,init_per_suite/1,end_per_suite/1,
t_andalso/1,t_orelse/1,inside/1,overlap/1,
combined/1,in_case/1]).
-include_lib("test_server/include/test_server.hrl").
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[cases()].
diff --git a/lib/debugger/test/bs_bincomp_SUITE.erl b/lib/debugger/test/bs_bincomp_SUITE.erl
index d25f68e91d..52854a694a 100644
--- a/lib/debugger/test/bs_bincomp_SUITE.erl
+++ b/lib/debugger/test/bs_bincomp_SUITE.erl
@@ -23,7 +23,7 @@
-module(bs_bincomp_SUITE).
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/2,
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/2,
byte_aligned/1,bit_aligned/1,extended_byte_aligned/1,
extended_bit_aligned/1,mixed/1]).
@@ -39,6 +39,8 @@ end_per_testcase(_Case, Config) ->
?t:timetrap_cancel(Dog),
ok.
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[byte_aligned, bit_aligned, extended_byte_aligned,
extended_bit_aligned, mixed].
diff --git a/lib/debugger/test/bs_construct_SUITE.erl b/lib/debugger/test/bs_construct_SUITE.erl
index 9971b90a42..262ff93500 100644
--- a/lib/debugger/test/bs_construct_SUITE.erl
+++ b/lib/debugger/test/bs_construct_SUITE.erl
@@ -19,12 +19,14 @@
-module(bs_construct_SUITE).
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/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_testcase/2,end_per_testcase/2,init_per_suite/1,end_per_suite/1,
test1/1, test2/1, test3/1, test4/1, test5/1, testf/1, not_used/1, in_guard/1,
coerce_to_float/1]).
-include_lib("test_server/include/test_server.hrl").
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[cases()].
diff --git a/lib/debugger/test/bs_match_bin_SUITE.erl b/lib/debugger/test/bs_match_bin_SUITE.erl
index d422580b20..8577a017d8 100644
--- a/lib/debugger/test/bs_match_bin_SUITE.erl
+++ b/lib/debugger/test/bs_match_bin_SUITE.erl
@@ -21,11 +21,13 @@
-module(bs_match_bin_SUITE).
-author('[email protected]').
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/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_testcase/2,end_per_testcase/2,init_per_suite/1,end_per_suite/1,
byte_split_binary/1,bit_split_binary/1]).
-include_lib("test_server/include/test_server.hrl").
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[cases()].
diff --git a/lib/debugger/test/bs_match_int_SUITE.erl b/lib/debugger/test/bs_match_int_SUITE.erl
index 14ccbe425a..11eab8090d 100644
--- a/lib/debugger/test/bs_match_int_SUITE.erl
+++ b/lib/debugger/test/bs_match_int_SUITE.erl
@@ -20,13 +20,15 @@
-module(bs_match_int_SUITE).
-author('[email protected]').
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/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_testcase/2,end_per_testcase/2,init_per_suite/1,end_per_suite/1,
integer/1,signed_integer/1,dynamic/1,more_dynamic/1,mml/1]).
-include_lib("test_server/include/test_server.hrl").
-import(lists, [seq/2]).
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[cases()].
diff --git a/lib/debugger/test/bs_match_misc_SUITE.erl b/lib/debugger/test/bs_match_misc_SUITE.erl
index d9116c6f8a..e0dafa2801 100644
--- a/lib/debugger/test/bs_match_misc_SUITE.erl
+++ b/lib/debugger/test/bs_match_misc_SUITE.erl
@@ -20,11 +20,13 @@
-module(bs_match_misc_SUITE).
-author('[email protected]').
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/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_testcase/2,end_per_testcase/2,init_per_suite/1,end_per_suite/1,
bound_var/1,bound_tail/1,t_float/1,little_float/1,sean/1]).
-include_lib("test_server/include/test_server.hrl").
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[cases()].
diff --git a/lib/debugger/test/bs_match_tail_SUITE.erl b/lib/debugger/test/bs_match_tail_SUITE.erl
index 3f5dea3011..33f805bbd3 100644
--- a/lib/debugger/test/bs_match_tail_SUITE.erl
+++ b/lib/debugger/test/bs_match_tail_SUITE.erl
@@ -20,11 +20,13 @@
-module(bs_match_tail_SUITE).
-author('[email protected]').
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/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_testcase/2,end_per_testcase/2,init_per_suite/1,end_per_suite/1,
aligned/1,unaligned/1,zero_tail/1]).
-include_lib("test_server/include/test_server.hrl").
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[cases()].
diff --git a/lib/debugger/test/bs_utf_SUITE.erl b/lib/debugger/test/bs_utf_SUITE.erl
index c15c4be351..adca9356b3 100644
--- a/lib/debugger/test/bs_utf_SUITE.erl
+++ b/lib/debugger/test/bs_utf_SUITE.erl
@@ -21,7 +21,7 @@
-module(bs_utf_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,
init_per_testcase/2,end_per_testcase/2,
utf8_roundtrip/1,unused_utf_char/1,utf16_roundtrip/1,
utf32_roundtrip/1,guard/1,extreme_tripping/1]).
@@ -29,6 +29,8 @@
-include_lib("test_server/include/test_server.hrl").
-compile([no_jopt,time]).
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[cases()].
diff --git a/lib/debugger/test/bug_SUITE.erl b/lib/debugger/test/bug_SUITE.erl
index fab94cc08f..26ae487c72 100644
--- a/lib/debugger/test/bug_SUITE.erl
+++ b/lib/debugger/test/bug_SUITE.erl
@@ -22,12 +22,14 @@
-include_lib("test_server/include/test_server.hrl").
--export([all/0,groups/0,init_per_group/2,end_per_group/2]).
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2]).
-export([]).
-export([otp2163/1, otp4845/1]).
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[{group, ticket_tests}].
diff --git a/lib/debugger/test/dbg_ui_SUITE.erl b/lib/debugger/test/dbg_ui_SUITE.erl
index 6207524be5..4f40cb3f9c 100644
--- a/lib/debugger/test/dbg_ui_SUITE.erl
+++ b/lib/debugger/test/dbg_ui_SUITE.erl
@@ -25,7 +25,7 @@
% Test server specific exports
--export([all/0,groups/0,init_per_group/2,end_per_group/2]).
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2]).
-export([function_tests/1]).
@@ -62,6 +62,8 @@ end_per_testcase(_Func, Config) ->
test_server:timetrap_cancel(Dog).
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[function_tests, {group, manual_tests}].
diff --git a/lib/debugger/test/debugger_SUITE.erl b/lib/debugger/test/debugger_SUITE.erl
index a10b2aecbc..1a95cfe222 100644
--- a/lib/debugger/test/debugger_SUITE.erl
+++ b/lib/debugger/test/debugger_SUITE.erl
@@ -24,10 +24,12 @@
-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,end_per_testcase/2,
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/2,
app_test/1,erts_debug/1,encrypted_debug_info/1,
no_abstract_code/1]).
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[app_test, erts_debug, no_abstract_code,
encrypted_debug_info].
diff --git a/lib/debugger/test/erl_eval_SUITE.erl b/lib/debugger/test/erl_eval_SUITE.erl
index f49e95669e..69fe183d28 100644
--- a/lib/debugger/test/erl_eval_SUITE.erl
+++ b/lib/debugger/test/erl_eval_SUITE.erl
@@ -17,7 +17,7 @@
%% %CopyrightEnd%
-module(erl_eval_SUITE).
--export([all/0,groups/0,init_per_group/2,end_per_group/2]).
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2]).
-export([guard_1/1, guard_2/1,
match_pattern/1,
@@ -70,6 +70,8 @@ end_per_testcase(_Case, Config) ->
ok.
-endif.
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[guard_1, guard_2, match_pattern, string_plusplus,
pattern_expr, match_bin, guard_3, guard_4, lc,
diff --git a/lib/debugger/test/exception_SUITE.erl b/lib/debugger/test/exception_SUITE.erl
index 9fc1a28b2f..e4e0897240 100644
--- a/lib/debugger/test/exception_SUITE.erl
+++ b/lib/debugger/test/exception_SUITE.erl
@@ -20,13 +20,15 @@
%%
-module(exception_SUITE).
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/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_testcase/2,end_per_testcase/2,init_per_suite/1,end_per_suite/1,
badmatch/1,pending_errors/1,nil_arith/1]).
-export([bad_guy/2]).
-include_lib("test_server/include/test_server.hrl").
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[cases()].
diff --git a/lib/debugger/test/fun_SUITE.erl b/lib/debugger/test/fun_SUITE.erl
index c52ddec1b5..e56df5fb09 100644
--- a/lib/debugger/test/fun_SUITE.erl
+++ b/lib/debugger/test/fun_SUITE.erl
@@ -20,7 +20,7 @@
%%
-module(fun_SUITE).
--export([all/0,groups/0,init_per_group/2,end_per_group/2,
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2,
init_per_testcase/2,end_per_testcase/2,
init_per_suite/1,end_per_suite/1,
good_call/1,bad_apply/1,bad_fun_call/1,badarity/1,
@@ -29,6 +29,8 @@
-include_lib("test_server/include/test_server.hrl").
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[cases()].
diff --git a/lib/debugger/test/guard_SUITE.erl b/lib/debugger/test/guard_SUITE.erl
index 8b127f183f..2b32fc702e 100644
--- a/lib/debugger/test/guard_SUITE.erl
+++ b/lib/debugger/test/guard_SUITE.erl
@@ -20,7 +20,7 @@
%%
-module(guard_SUITE).
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/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_testcase/2,end_per_testcase/2,init_per_suite/1,end_per_suite/1,
bad_arith/1,bad_tuple/1,test_heap_guards/1,guard_bifs/1,
type_tests/1,const_guard/1,
const_cond/1,basic_not/1,complex_not/1,
@@ -40,6 +40,8 @@
-export([init/4]).
-import(lists, [member/2]).
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[cases()].
diff --git a/lib/debugger/test/int_SUITE.erl b/lib/debugger/test/int_SUITE.erl
index f235d6e385..ad11705e21 100644
--- a/lib/debugger/test/int_SUITE.erl
+++ b/lib/debugger/test/int_SUITE.erl
@@ -22,7 +22,7 @@
-include_lib("test_server/include/test_server.hrl").
%% Test server specific exports
--export([all/0,groups/0,init_per_group/2,end_per_group/2]).
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2]).
-export([init_per_testcase/2, end_per_testcase/2]).
%% Test cases
@@ -59,6 +59,8 @@ end_per_testcase(_Case, Config) ->
?line test_server:timetrap_cancel(Dog),
?line ok.
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[interpret, guards, {group, list_suite}, interpretable].
diff --git a/lib/debugger/test/int_break_SUITE.erl b/lib/debugger/test/int_break_SUITE.erl
index cd33046efa..d90ffebf8d 100644
--- a/lib/debugger/test/int_break_SUITE.erl
+++ b/lib/debugger/test/int_break_SUITE.erl
@@ -24,11 +24,13 @@
-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,end_per_testcase/2,
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/2,
basic/1,cleanup/1]).
-export([auto_attach/1]).
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[basic, cleanup].
diff --git a/lib/debugger/test/int_eval_SUITE.erl b/lib/debugger/test/int_eval_SUITE.erl
index 9f0836c406..2a1ee5a911 100644
--- a/lib/debugger/test/int_eval_SUITE.erl
+++ b/lib/debugger/test/int_eval_SUITE.erl
@@ -22,7 +22,7 @@
%% Purpose: Deeper test of the evaluator.
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2, end_per_testcase/2,
+-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2, end_per_testcase/2,
bifs_outside_erlang/1, spawning/1, applying/1,
catch_and_throw/1, external_call/1, test_module_info/1,
apply_interpreted_fun/1, apply_uninterpreted_fun/1,
@@ -35,6 +35,8 @@
-include_lib("test_server/include/test_server.hrl").
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[bifs_outside_erlang, spawning, applying,
catch_and_throw, external_call, test_module_info,
diff --git a/lib/debugger/test/lc_SUITE.erl b/lib/debugger/test/lc_SUITE.erl
index 362e18eba1..90ec4474dc 100644
--- a/lib/debugger/test/lc_SUITE.erl
+++ b/lib/debugger/test/lc_SUITE.erl
@@ -21,11 +21,13 @@
-module(lc_SUITE).
-author('[email protected]').
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/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_testcase/2,end_per_testcase/2,init_per_suite/1,end_per_suite/1,
basic/1]).
-include_lib("test_server/include/test_server.hrl").
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[cases()].
diff --git a/lib/debugger/test/record_SUITE.erl b/lib/debugger/test/record_SUITE.erl
index 684bc2eaa3..89f4b0ad74 100644
--- a/lib/debugger/test/record_SUITE.erl
+++ b/lib/debugger/test/record_SUITE.erl
@@ -24,9 +24,11 @@
-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,end_per_testcase/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_testcase/2,end_per_testcase/2,init_per_suite/1,end_per_suite/1,
errors/1,record_test/1,eval_once/1]).
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[cases()].
diff --git a/lib/debugger/test/trycatch_SUITE.erl b/lib/debugger/test/trycatch_SUITE.erl
index 2d951be68f..8e2619e8e7 100644
--- a/lib/debugger/test/trycatch_SUITE.erl
+++ b/lib/debugger/test/trycatch_SUITE.erl
@@ -20,13 +20,15 @@
%%
-module(trycatch_SUITE).
--export([all/0,groups/0,init_per_group/2,end_per_group/2,init_per_testcase/2,end_per_testcase/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_testcase/2,end_per_testcase/2,init_per_suite/1,end_per_suite/1,
basic/1,lean_throw/1,try_of/1,try_after/1,%after_bind/1,
catch_oops/1,after_oops/1,eclectic/1,rethrow/1,
nested_of/1,nested_catch/1,nested_after/1]).
-include_lib("test_server/include/test_server.hrl").
+suite() -> [{suite_callbacks,[ts_install_scb]}].
+
all() ->
[cases()].
@@ -121,7 +123,9 @@ basic(Conf) when is_list(Conf) ->
ok.
-after_call() ->
+after_csuite() -> [{suite_callbacks,[ts_install_scb]}].
+
+all() ->
put(basic, after_was_called).
after_clean() ->