aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-11-22 15:29:41 +0100
committerLukas Larsson <[email protected]>2010-12-08 18:07:51 +0100
commit07673c7267b222101ab102112eff9f96049cd308 (patch)
tree1da8015187d78996c524e69ea841c0e9586a6bbd /lib/common_test
parent0655bd3132d42457be62f1f22ba36e9267555047 (diff)
downloadotp-07673c7267b222101ab102112eff9f96049cd308.tar.gz
otp-07673c7267b222101ab102112eff9f96049cd308.tar.bz2
otp-07673c7267b222101ab102112eff9f96049cd308.zip
Add tags to tests
Diffstat (limited to 'lib/common_test')
-rw-r--r--lib/common_test/test/ct_suite_callback_SUITE.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/common_test/test/ct_suite_callback_SUITE.erl b/lib/common_test/test/ct_suite_callback_SUITE.erl
index 4de888a79f..059d76822a 100644
--- a/lib/common_test/test/ct_suite_callback_SUITE.erl
+++ b/lib/common_test/test/ct_suite_callback_SUITE.erl
@@ -73,8 +73,9 @@ all(suite) ->
lists:reverse(
[
one_scb, two_scb, faulty_scb_no_init, minimal_scb,
- minimal_and_maximal_scb, faulty_scb_undef, scope_per_suite_scb,
- scope_per_tc_scb, scope_per_group_scb, scope_suite_scb
+ minimal_and_maximal_scb, faulty_scb_undef%, scope_per_suite_scb,
+% scope_per_tc_scb, scope_per_group_scb, scope_suite_scb,
+% fail_pre_suite_scb, fail_post_suite_scb, skip_pre_suite_scb, skip_post_suite_scb
]).
@@ -156,7 +157,7 @@ do_test(Tag, SuiteWildCard, SCBs, Config) ->
Suites = filelib:wildcard(
filename:join([DataDir,"scb/tests",SuiteWildCard])),
{Opts,ERPid} = setup([{suite,Suites},
- {suite_callbacks,SCBs}], Config),
+ {suite_callbacks,SCBs},{label,Tag}], Config),
ok = ct_test_support:run(Opts, Config),
Events = ct_test_support:get_events(ERPid, Config),
@@ -316,7 +317,7 @@ test_events(faulty_scb_undef) ->
{?eh,test_start,{'DEF',{'START_TIME','LOGDIR'}}},
{?eh,tc_start,{ct_scb_empty_SUITE,init_per_suite}},
{?eh,tc_done,{ct_scb_empty_SUITE,init_per_suite,
- {fail, FailReasonStr}}},
+ {failed, {error,FailReasonStr}}}},
{?eh,tc_auto_skip,{ct_scb_empty_SUITE,test_case,
{failed, FailReason}}},
@@ -488,7 +489,6 @@ test_events(skip_post_suite_scb) ->
{?eh,tc_start,{ct_scb_empty_SUITE,end_per_suite}},
{?eh,tc_done,{ct_scb_empty_SUITE,end_per_suite,ok}},
-
{?eh,test_done,{'DEF','STOP_TIME'}},
{?eh,stop_logging,[]}
];