aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/test/test_server_SUITE.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2013-11-28 17:38:41 +0100
committerPeter Andersson <[email protected]>2013-11-28 17:38:41 +0100
commita4565bd7d6e8362b3ca1ff0caedf7407e81d67cb (patch)
tree056af044a1103d1d3f6c9df5bf2992a02b8fc48c /lib/test_server/test/test_server_SUITE.erl
parent23a30d882464df4210ea53096ea50e7b44876812 (diff)
parentac7902caa784d4f4c73eb7291ab4736a75ad13a4 (diff)
downloadotp-a4565bd7d6e8362b3ca1ff0caedf7407e81d67cb.tar.gz
otp-a4565bd7d6e8362b3ca1ff0caedf7407e81d67cb.tar.bz2
otp-a4565bd7d6e8362b3ca1ff0caedf7407e81d67cb.zip
Merge branch 'maint'
Diffstat (limited to 'lib/test_server/test/test_server_SUITE.erl')
-rw-r--r--lib/test_server/test/test_server_SUITE.erl14
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/test_server/test/test_server_SUITE.erl b/lib/test_server/test/test_server_SUITE.erl
index 7260fd26c1..d1772ac411 100644
--- a/lib/test_server/test/test_server_SUITE.erl
+++ b/lib/test_server/test/test_server_SUITE.erl
@@ -116,7 +116,7 @@ test_server_shuffle01_SUITE(Config) ->
test_server_skip_SUITE(Config) ->
run_test_server_tests("test_server_skip_SUITE", [],
- 3, 0, 1, 0, 0, 1, 3, 0, 0, Config).
+ 3, 0, 1, 0, 1, 0, 3, 0, 0, Config).
test_server_conf01_SUITE(Config) ->
run_test_server_tests("test_server_conf01_SUITE", [],
@@ -247,11 +247,13 @@ run_test_server_tests(SuiteName, Skip, NCases, NFail, NExpected, NSucc,
{NActualSkip,NActualFail,NActualSucc} =
lists:foldl(fun(#tc{ result = skip },{S,F,Su}) ->
{S+1,F,Su};
- (#tc{ result = ok },{S,F,Su}) ->
- {S,F,Su+1};
- (#tc{ result = failed },{S,F,Su}) ->
- {S,F+1,Su}
- end,{0,0,0},Data#suite.cases),
+ (#tc{ result = auto_skip },{S,F,Su}) ->
+ {S+1,F,Su};
+ (#tc{ result = ok },{S,F,Su}) ->
+ {S,F,Su+1};
+ (#tc{ result = failed },{S,F,Su}) ->
+ {S,F+1,Su}
+ end,{0,0,0},Data#suite.cases),
Data.
translate_filename(Filename,EncodingOnTestNode) ->