aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/cth_surefire.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2013-11-14 17:39:23 +0100
committerPeter Andersson <[email protected]>2013-11-19 16:17:01 +0100
commit093890dc793e85a09b40f1eca878f410c73cf625 (patch)
treed1a4e8587a000f410fb243a7fffaf356976f18f2 /lib/common_test/src/cth_surefire.erl
parent98c0e6608100da393df24722afea159a1f5dcc22 (diff)
downloadotp-093890dc793e85a09b40f1eca878f410c73cf625.tar.gz
otp-093890dc793e85a09b40f1eca878f410c73cf625.tar.bz2
otp-093890dc793e85a09b40f1eca878f410c73cf625.zip
Modify the auto_skip report for group config funcs to include group name
Also correct failing test cases and find and fix remaining bugs.
Diffstat (limited to 'lib/common_test/src/cth_surefire.erl')
-rw-r--r--lib/common_test/src/cth_surefire.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/common_test/src/cth_surefire.erl b/lib/common_test/src/cth_surefire.erl
index bbbca3828e..7ed2018bdf 100644
--- a/lib/common_test/src/cth_surefire.erl
+++ b/lib/common_test/src/cth_surefire.erl
@@ -138,6 +138,9 @@ on_tc_fail(_TC, Res, State) ->
{fail,lists:flatten(io_lib:format("~p",[Res]))} },
State#state{ test_cases = [NewTC | tl(TCs)]}.
+on_tc_skip({ConfigFunc,_GrName},{Type,_Reason} = Res, State0)
+ when Type == tc_auto_skip; Type == tc_user_skip ->
+ on_tc_skip(ConfigFunc, Res, State0);
on_tc_skip(Tc,{Type,_Reason} = Res, State0) when Type == tc_auto_skip ->
TcStr = atom_to_list(Tc),
State =