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.
Defaults¶
No defaults. Implicitly defaults to n.
Kconfig definition¶
At <Zephyr Subsystem>/testsuite/ztest/Kconfig:50
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/Kconfig:61 → <Zephyr Subsystem>/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.)