aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_groups_test_2_SUITE_data
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2010-06-07 18:41:43 +0200
committerRaimo Niskanen <[email protected]>2010-06-09 16:19:26 +0200
commit10a06d2d2d1f967608877a8de2ad9c7fc5702353 (patch)
tree819cd57d2af17099a9bb10494627b20ee6f41afc /lib/common_test/test/ct_groups_test_2_SUITE_data
parent2dbeff631ce93744972cb04039d434aa172d28f4 (diff)
downloadotp-10a06d2d2d1f967608877a8de2ad9c7fc5702353.tar.gz
otp-10a06d2d2d1f967608877a8de2ad9c7fc5702353.tar.bz2
otp-10a06d2d2d1f967608877a8de2ad9c7fc5702353.zip
Make {repeat*,N} property in group execute the group N times exactly
To be consistent with the behaviour of the run_test repeat flag/option, the repeat* group property has been changed to specify absolute number of test runs. Previously {repeat,N} meant "execute the group 1 time + N repeats". Now it means "execute the group N times".
Diffstat (limited to 'lib/common_test/test/ct_groups_test_2_SUITE_data')
-rw-r--r--lib/common_test/test/ct_groups_test_2_SUITE_data/groups_1/repeat_1_SUITE.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/common_test/test/ct_groups_test_2_SUITE_data/groups_1/repeat_1_SUITE.erl b/lib/common_test/test/ct_groups_test_2_SUITE_data/groups_1/repeat_1_SUITE.erl
index 4edbc3e384..91a0a2e882 100644
--- a/lib/common_test/test/ct_groups_test_2_SUITE_data/groups_1/repeat_1_SUITE.erl
+++ b/lib/common_test/test/ct_groups_test_2_SUITE_data/groups_1/repeat_1_SUITE.erl
@@ -31,12 +31,12 @@ suite() ->
groups() ->
[
- {test_group_1, [{repeat,1}], [testcase_1a,testcase_1b]},
- {test_group_2, [{repeat,0}], [testcase_2a,testcase_2b]},
+ {test_group_1, [{repeat,2}], [testcase_1a,testcase_1b]},
+ {test_group_2, [{repeat,1}], [testcase_2a,testcase_2b]},
- {test_group_3, [{repeat_until_all_fail,0}],
+ {test_group_3, [{repeat_until_all_fail,1}],
[testcase_3a,
- {test_group_4, [{repeat_until_any_fail,0}],
+ {test_group_4, [{repeat_until_any_fail,1}],
[testcase_4a, testcase_4b]},
testcase_3b]}
].