@@ -150,22 +150,41 @@ config ZTEST_SHUFFLE
150150
151151if ZTEST_SHUFFLE
152152config ZTEST_SHUFFLE_SUITE_REPEAT_COUNT
153- int "Number of iterations the test suite will run"
153+ int "[DEPRECATED] Number of iterations the test suite will run"
154154 default 3
155155 help
156- This rule will execute a test suite N number of times. The tests
157- per suite will be shuffled on each iteration. The test order will likely
158- be different per iteration.
156+ This is used to execute a test suite N number of times.
157+ [DEPRECATED] use ZTEST_SUITE_REPEAT_COUNT instead.
159158
160159config ZTEST_SHUFFLE_TEST_REPEAT_COUNT
161- int "Number of iterations the test will run"
160+ int "[DEPRECATED] Number of iterations the test will run"
162161 default 3
163162 help
164- This rule will execute a test N number of times. The test order will
165- likely be different per iteration .
163+ This is used to execute a test case N number of times.
164+ [DEPRECATED] use ZTEST_TEST_REPEAT_COUNT instead .
166165
167166endif #ZTEST_SHUFFLE
168167
168+ config ZTEST_REPEAT
169+ bool "Repeat the tests and suites"
170+ help
171+ This rule will repeat the tests and the test suites.
172+
173+ if ZTEST_REPEAT
174+ config ZTEST_SUITE_REPEAT_COUNT
175+ int "Number of iterations the test suite will run"
176+ default 3
177+ help
178+ This rule will execute a test suite N number of times.
179+
180+ config ZTEST_TEST_REPEAT_COUNT
181+ int "Number of iterations the test will run"
182+ default 3
183+ help
184+ This rule will execute a test N number of times.
185+
186+ endif #ZTEST_REPEAT
187+
169188config ZTEST_SUMMARY
170189 bool "Display test summary"
171190 default y
0 commit comments