:orphan: .. title:: ZTEST_RETEST_IF_PASSED .. option:: 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 =================== \ :option:`ZTEST ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Symbols selected by this symbol =============================== - \ :option:`REBOOT ` Kconfig definition ================== .. highlight:: kconfig At ``subsys/testsuite/ztest/Kconfig:49`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:55`` → ``subsys/testsuite/Kconfig:6`` Menu path: (Top) → Sub Systems and OS Services → Testing → Zephyr testing framework .. parsed-literal:: config ZTEST_RETEST_IF_PASSED bool "Reset the board to test again if the test passed" select \ :option:`REBOOT ` depends on \ :option:`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.)*