aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-04-05 17:00:00 +0200
committerLukas Larsson <[email protected]>2011-04-15 14:45:00 +0200
commit8f33b229f303cbd360fd8c8262e26a5a47416710 (patch)
tree6b3f21605212c677bf41cbc03f4fa650dba83d0b /lib/common_test/src
parent39e1f346082183697de936904231d75ec61553a9 (diff)
downloadotp-8f33b229f303cbd360fd8c8262e26a5a47416710.tar.gz
otp-8f33b229f303cbd360fd8c8262e26a5a47416710.tar.bz2
otp-8f33b229f303cbd360fd8c8262e26a5a47416710.zip
Export ct_framework:end_tc/3 for backwards compatability reasons
Diffstat (limited to 'lib/common_test/src')
-rw-r--r--lib/common_test/src/ct_framework.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_framework.erl b/lib/common_test/src/ct_framework.erl
index 38a2aa53ac..3d4f674160 100644
--- a/lib/common_test/src/ct_framework.erl
+++ b/lib/common_test/src/ct_framework.erl
@@ -24,7 +24,7 @@
-module(ct_framework).
--export([init_tc/3, end_tc/4, get_suite/2, report/2, warn/1]).
+-export([init_tc/3, end_tc/3, end_tc/4, get_suite/2, report/2, warn/1]).
-export([error_notification/4]).
-export([overview_html_header/1]).
@@ -434,6 +434,9 @@ try_set_default(Name,Key,Info,Where) ->
%%%
%%% @doc Test server framework callback, called by the test_server
%%% when a test case is finished.
+end_tc(Mod, Fun, Args) ->
+ %% Have to keep end_tc/3 for backwards compatabilty issues
+ end_tc(Mod, Fun, Args, '$end_tc_dummy').
end_tc(?MODULE,error_in_suite,_, _) -> % bad start!
ok;
end_tc(Mod,Func,{TCPid,Result,[Args]}, Return) when is_pid(TCPid) ->