aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/minimal_terminate_cth.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2015-03-06 12:13:55 +0100
committerPeter Andersson <[email protected]>2015-03-06 12:13:55 +0100
commite6d39e161f14f5d9a4dc9c44ee1f31b47343567a (patch)
tree48bb13703a3976f4b035981375a929b08ecbe5d8 /lib/common_test/test/ct_hooks_SUITE_data/cth/tests/minimal_terminate_cth.erl
parente725cd9385f269b501ebc3ca31999ac69706b535 (diff)
parenteb8b95db65b701ceed13d34350fe2f635d7d9eb5 (diff)
downloadotp-e6d39e161f14f5d9a4dc9c44ee1f31b47343567a.tar.gz
otp-e6d39e161f14f5d9a4dc9c44ee1f31b47343567a.tar.bz2
otp-e6d39e161f14f5d9a4dc9c44ee1f31b47343567a.zip
Merge remote-tracking branch 'origin/peppe/common_test/inconsistent_return_value' into maint
* origin/peppe/common_test/inconsistent_return_value: Add tests Make it possible to skip test case by returning skipped tag OTP-12359
Diffstat (limited to 'lib/common_test/test/ct_hooks_SUITE_data/cth/tests/minimal_terminate_cth.erl')
-rw-r--r--lib/common_test/test/ct_hooks_SUITE_data/cth/tests/minimal_terminate_cth.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/minimal_terminate_cth.erl b/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/minimal_terminate_cth.erl
index 30721a6b3a..436470f46d 100644
--- a/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/minimal_terminate_cth.erl
+++ b/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/minimal_terminate_cth.erl
@@ -28,10 +28,14 @@
%% CT Hooks
-export([init/2]).
-export([terminate/1]).
+-export([on_tc_skip/3]).
init(Id, Opts) ->
empty_cth:init(Id, Opts).
+on_tc_skip(TC, Reason, State) ->
+ empty_cth:on_tc_skip(TC,Reason,State).
+
terminate(State) ->
empty_cth:terminate(State).