doc: ztest: Use directives for ZTEST_SHUFFLE
ZTEST_SHUFFLE is a Kconfig, so the appropriate directive should be used. Signed-off-by: Manoel Brunnen <mb@lee-brunnen.de>
This commit is contained in:
parent
dbbcfa6749
commit
f0e054634f
|
@ -574,14 +574,15 @@ These will be surrounded by blocks such as:
|
|||
Shuffling Test Sequence
|
||||
***********************
|
||||
By default the tests are sorted and ran in alphanumerical order. Test cases may
|
||||
be dependent on this sequence. Enable `ZTEST_SHUFFLE` to randomize the order. The
|
||||
output from the test will display the seed for failed tests. For native posix
|
||||
builds you can provide the seed as an argument to twister with `--seed`
|
||||
be dependent on this sequence. Enable :kconfig:option:`CONFIG_ZTEST_SHUFFLE` to
|
||||
randomize the order. The output from the test will display the seed for failed
|
||||
tests. For native posix builds you can provide the seed as an argument to
|
||||
twister with `--seed`
|
||||
|
||||
Static configuration of ZTEST_SHUFFLE contains:
|
||||
|
||||
- :c:macro:`ZTEST_SHUFFLE_SUITE_REPEAT_COUNT` - Number of iterations the test suite will run.
|
||||
- :c:macro:`ZTEST_SHUFFLE_TEST_REPEAT_COUNT` - Number of iterations the test will run.
|
||||
- :kconfig:option:`CONFIG_ZTEST_SHUFFLE_SUITE_REPEAT_COUNT` - Number of iterations the test suite will run.
|
||||
- :kconfig:option:`CONFIG_ZTEST_SHUFFLE_TEST_REPEAT_COUNT` - Number of iterations the test will run.
|
||||
|
||||
|
||||
Test Selection
|
||||
|
|
Loading…
Reference in a new issue