zephyr/tests/ztest/repeat/testcase.yaml
Mateusz Junkier 04b49fadab twister: harness_config extended by test retries in testcase.yaml
Extend Twister to allow defining repeat counts
for specific scenarios by harness_config.

Signed-off-by: Mateusz Junkier <mateusz.junkier@intel.com>
2025-05-13 03:20:10 +02:00

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