aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2011-09-27 13:24:23 +0200
committerPeter Andersson <[email protected]>2011-09-27 14:06:32 +0200
commit001f0a4baa95ccc6eb553cad9e4551b4e520dc8b (patch)
tree4cf38199371926a4f0666ada5ba28073265d0b31 /lib/common_test/src
parent021b96da72cb7be9c65296016cd8a1eb8c6fc604 (diff)
downloadotp-001f0a4baa95ccc6eb553cad9e4551b4e520dc8b.tar.gz
otp-001f0a4baa95ccc6eb553cad9e4551b4e520dc8b.tar.bz2
otp-001f0a4baa95ccc6eb553cad9e4551b4e520dc8b.zip
Solve problem with ct_init/end_per_group being counted as test cases
Diffstat (limited to 'lib/common_test/src')
-rw-r--r--lib/common_test/src/ct_framework.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/common_test/src/ct_framework.erl b/lib/common_test/src/ct_framework.erl
index fb89685b7b..37ecf4f928 100644
--- a/lib/common_test/src/ct_framework.erl
+++ b/lib/common_test/src/ct_framework.erl
@@ -1296,6 +1296,10 @@ report(What,Data) ->
ok;
{end_per_group,_} ->
ok;
+ {ct_init_per_group,_} ->
+ ok;
+ {ct_end_per_group,_} ->
+ ok;
{_,ok} ->
add_to_stats(ok);
{_,{skipped,{failed,{_,init_per_testcase,_}}}} ->