aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/cth_surefire.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2012-08-24 15:02:36 +0200
committerPeter Andersson <[email protected]>2012-08-24 16:55:26 +0200
commit00455b5fec96bf320fc8b3656bb9dbd0395fa23b (patch)
treee62a013e94079b83a6dbb5d7db85d1d01d12050e /lib/common_test/src/cth_surefire.erl
parent313355eb792d9bc811b5cb979a7cf9fbc9a6c075 (diff)
downloadotp-00455b5fec96bf320fc8b3656bb9dbd0395fa23b.tar.gz
otp-00455b5fec96bf320fc8b3656bb9dbd0395fa23b.tar.bz2
otp-00455b5fec96bf320fc8b3656bb9dbd0395fa23b.zip
Solve problem with registering parallel testcases
Diffstat (limited to 'lib/common_test/src/cth_surefire.erl')
-rw-r--r--lib/common_test/src/cth_surefire.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/cth_surefire.erl b/lib/common_test/src/cth_surefire.erl
index e7bd84e51b..76b0f0b5ea 100644
--- a/lib/common_test/src/cth_surefire.erl
+++ b/lib/common_test/src/cth_surefire.erl
@@ -92,7 +92,7 @@ on_tc_fail(_TC, Res, State) ->
{fail,lists:flatten(io_lib:format("~p",[Res]))} },
State#state{ test_cases = [NewTC | tl(TCs)]}.
-on_tc_skip(Tc,{Type,Reason} = Res, State) when Type == tc_auto_skip ->
+on_tc_skip(Tc,{Type,_Reason} = Res, State) when Type == tc_auto_skip ->
do_tc_skip(Res, end_tc(Tc,[],Res,init_tc(State,[])));
on_tc_skip(_Tc, _Res, State = #state{test_cases = []}) ->
State;