diff options
author | Peter Andersson <[email protected]> | 2010-06-07 18:41:43 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2010-06-09 16:19:26 +0200 |
commit | 10a06d2d2d1f967608877a8de2ad9c7fc5702353 (patch) | |
tree | 819cd57d2af17099a9bb10494627b20ee6f41afc /lib/common_test/test/ct_groups_test_2_SUITE_data/groups_1/repeat_1_SUITE.erl | |
parent | 2dbeff631ce93744972cb04039d434aa172d28f4 (diff) | |
download | otp-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/groups_1/repeat_1_SUITE.erl')
-rw-r--r-- | lib/common_test/test/ct_groups_test_2_SUITE_data/groups_1/repeat_1_SUITE.erl | 8 |
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]} ]. |