aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_testspec_1_SUITE.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2015-03-03 23:43:30 +0100
committerPeter Andersson <[email protected]>2015-03-18 12:01:03 +0100
commitf1a5f5ac353513c6e50c8b9cd6f95f3de760c582 (patch)
tree51c7245f28bbf6045cf4c417f5e4339edcc7fb2a /lib/common_test/test/ct_testspec_1_SUITE.erl
parent5051733044e526c2ca2122bb6012620cb47d1a29 (diff)
downloadotp-f1a5f5ac353513c6e50c8b9cd6f95f3de760c582.tar.gz
otp-f1a5f5ac353513c6e50c8b9cd6f95f3de760c582.tar.bz2
otp-f1a5f5ac353513c6e50c8b9cd6f95f3de760c582.zip
Always report ok to event handlers after successful cfg or tc func
Also make sure test_server never reports failures that can be mistaken for positive results.
Diffstat (limited to 'lib/common_test/test/ct_testspec_1_SUITE.erl')
-rw-r--r--lib/common_test/test/ct_testspec_1_SUITE.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/common_test/test/ct_testspec_1_SUITE.erl b/lib/common_test/test/ct_testspec_1_SUITE.erl
index c2670316b6..bc19283a47 100644
--- a/lib/common_test/test/ct_testspec_1_SUITE.erl
+++ b/lib/common_test/test/ct_testspec_1_SUITE.erl
@@ -795,7 +795,7 @@ test_events(skip_all_groups) ->
{?eh,test_stats,{0,0,{12,0}}},
{?eh,tc_user_skip,{groups_11_SUITE,{end_per_group,test_group_4},"SKIPPED!"}},
{?eh,tc_start,{groups_11_SUITE,end_per_suite}},
- {?eh,tc_done,{groups_11_SUITE,end_per_suite,init}},
+ {?eh,tc_done,{groups_11_SUITE,end_per_suite,ok}},
{negative,{?eh,tc_start,'_'},{?eh,stop_logging,'_'}}
];
@@ -840,7 +840,7 @@ test_events(skip_group) ->
{?eh,test_stats,{2,0,{6,0}}},
{?eh,tc_user_skip,{groups_11_SUITE,{end_per_group,test_group_2},
"SKIPPED!"}},
- {?eh,tc_done,{groups_11_SUITE,end_per_suite,init}},
+ {?eh,tc_done,{groups_11_SUITE,end_per_suite,ok}},
{negative,{?eh,tc_start,'_'},{?eh,stop_logging,'_'}}
];
@@ -876,7 +876,7 @@ test_events(skip_group_all_testcases) ->
{?eh,test_stats,{0,0,{4,0}}},
{?eh,tc_user_skip,{groups_11_SUITE,{end_per_group,test_group_1b},
"SKIPPED!"}},
- {?eh,tc_done,{groups_11_SUITE,end_per_suite,init}},
+ {?eh,tc_done,{groups_11_SUITE,end_per_suite,ok}},
{negative,{?eh,tc_start,'_'},{?eh,stop_logging,'_'}}
];
@@ -1065,7 +1065,7 @@ test_events(skip_subgroup) ->
{?eh,tc_done,{groups_12_SUITE,{end_per_group,test_group_4,[]},ok}}],
{?eh,tc_start,{groups_12_SUITE,end_per_suite}},
- {?eh,tc_done,{groups_12_SUITE,end_per_suite,init}},
+ {?eh,tc_done,{groups_12_SUITE,end_per_suite,ok}},
{negative,{?eh,tc_start,'_'},{?eh,stop_logging,'_'}}
];