CONFIG_ZTEST_RETEST_IF_PASSED
Reset the board to test again if the test passed
Type: bool
Help
If the test passed reset the board so it is run again. This
may be used as an alternative to manual resets when
attempting to reproduce an intermittent failure.
Direct dependencies
(Includes any dependencies from ifs and menus.)
Defaults
No defaults. Implicitly defaults to n
.
Symbols selected by this symbol
Kconfig definition
At <Zephyr>/subsys/testsuite/ztest/Kconfig:50
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:44
→ <Zephyr>/subsys/Kconfig:61
→ <Zephyr>/subsys/testsuite/Kconfig:6
Menu path: (Top) → Sub Systems and OS Services → Testing → Zephyr testing framework
config ZTEST_RETEST_IF_PASSED
bool "Reset the board to test again if the test passed"
select REBOOT
depends on ZTEST
help
If the test passed reset the board so it is run again. This
may be used as an alternative to manual resets when
attempting to reproduce an intermittent failure.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)