Extend Twister to allow defining repeat counts for specific scenarios by harness_config. Signed-off-by: Mateusz Junkier <mateusz.junkier@intel.com>
31 lines
779 B
YAML
31 lines
779 B
YAML
tests:
|
|
testing.ztest.repeat_suite_regex:
|
|
platform_allow: qemu_x86
|
|
harness: console
|
|
harness_config:
|
|
ztest_suite_repeat: 3
|
|
ztest_test_repeat: 2
|
|
type: multi_line
|
|
regex:
|
|
- "Running TESTSUITE testsuite"
|
|
- "Running TESTSUITE testsuite"
|
|
- "Running TESTSUITE testsuite"
|
|
|
|
testing.ztest.repeat_testcase_regex:
|
|
platform_allow: qemu_x86
|
|
harness: console
|
|
harness_config:
|
|
ztest_suite_repeat: 1
|
|
ztest_test_repeat: 5
|
|
type: multi_line
|
|
regex:
|
|
- "START - test_repeating"
|
|
- "START - test_repeating"
|
|
- "START - test_repeating"
|
|
- "START - test_repeating"
|
|
- "START - test_repeating"
|
|
|
|
testing.ztest.repeat_regex:
|
|
platform_allow: qemu_x86
|
|
harness: ztest
|