:orphan: .. title:: CONFIG_ZTEST_RETEST_IF_PASSED .. kconfig:: CONFIG_ZTEST_RETEST_IF_PASSED CONFIG_ZTEST_RETEST_IF_PASSED ############################# *Reset the board to test again if the test passed* Type: ``bool`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`ZTEST ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Symbols selected by this symbol =============================== - \ :kconfig:`REBOOT ` Kconfig definition ================== At ``/testsuite/ztest/Kconfig:50`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:61`` → ``/testsuite/Kconfig:6`` Menu path: (Top) → Sub Systems and OS Services → Testing → Zephyr testing framework .. code-block:: kconfig 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.)*