diff options
author | Peter Andersson <[email protected]> | 2014-03-04 01:36:28 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2014-03-12 17:05:00 +0100 |
commit | 0b2bc007ec8b2f393ae4888be2efe3c4f9f2b94c (patch) | |
tree | 29c6ff2f49963066ffa2ee8d2a189b018184e437 /lib/common_test/test/ct_hooks_SUITE_data | |
parent | ffa2475adee774d0fced95d47fffe4528d436dd0 (diff) | |
download | otp-0b2bc007ec8b2f393ae4888be2efe3c4f9f2b94c.tar.gz otp-0b2bc007ec8b2f393ae4888be2efe3c4f9f2b94c.tar.bz2 otp-0b2bc007ec8b2f393ae4888be2efe3c4f9f2b94c.zip |
Update test suites and fix various remaining problems
Diffstat (limited to 'lib/common_test/test/ct_hooks_SUITE_data')
-rw-r--r-- | lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl b/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl index 9ee2a90896..6caac7e447 100644 --- a/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl +++ b/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl @@ -229,9 +229,9 @@ post_end_per_testcase(TC,Config,Return,State) -> %% This function should be used for extra cleanup which might be needed. %% It is not possible to modify the config or the status of the test run. -spec on_tc_fail(TC :: init_per_suite | end_per_suite | - init_per_group | end_per_group | atom(), - Reason :: term(), State :: #state{}) -> - NewState :: #state{}. + init_per_group | end_per_group | atom() | + {Function :: atom(), GroupName :: atom()}, + Reason :: term(), State :: #state{}) -> NewState :: #state{}. on_tc_fail(TC, Reason, State) -> gen_event:notify( ?CT_EVMGR_REF, #event{ name = cth, node = node(), @@ -243,11 +243,11 @@ on_tc_fail(TC, Reason, State) -> %% or due to an init function failing. Test case can be %% end_per_suite, init_per_group, end_per_group and the actual test cases. -spec on_tc_skip(TC :: end_per_suite | - init_per_group | end_per_group | atom(), + init_per_group | end_per_group | atom() | + {Function :: atom(), GroupName :: atom()}, {tc_auto_skip, {failed, {Mod :: atom(), Function :: atom(), Reason :: term()}}} | - {tc_user_skip, {skipped, Reason :: term()}}, - State :: #state{}) -> - NewState :: #state{}. + {tc_user_skip, {skipped, Reason :: term()}}, + State :: #state{}) -> NewState :: #state{}. on_tc_skip(TC, Reason, State) -> gen_event:notify( ?CT_EVMGR_REF, #event{ name = cth, node = node(), |