:orphan: .. title:: ZTEST_FATAL_HOOK .. option:: CONFIG_ZTEST_FATAL_HOOK *Using a pre-defined fatal handler and hook function* Type: ``bool`` Help ==== Use the pre-defined common fatal error handler and a post hook to do actions in your test case, this option often enabled when doing error test case. Remember to add ignore_fault tag in yaml file when using twister to run testing. Direct dependencies =================== \ :option:`ZTEST ` *(Includes any dependencies from ifs and menus.)* Default ======= - n Kconfig definition ================== .. highlight:: kconfig At ``subsys/testsuite/ztest/Kconfig:57`` 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_FATAL_HOOK bool "Using a pre-defined fatal handler and hook function" default n depends on \ :option:`ZTEST ` help Use the pre-defined common fatal error handler and a post hook to do actions in your test case, this option often enabled when doing error test case. Remember to add ignore_fault tag in yaml file when using twister to run testing. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*