CONFIG_ZTEST_TC_UTIL_USER_OVERRIDE¶
Override tc_util.h
Type: bool
Help¶
Enable overriding defines in tc_util.h.
If True the user should provide tc_util_user_override.h in Zephyr's include path,
e.g. by adding zephyr_include_directories(project PRIVATE my_folder) to a project's CMakeLists.txt.
The override header may now #define the various macros and strings in tc_util.h which are
surrounded by #ifndef ... #endif blocks.
Defaults¶
No defaults. Implicitly defaults to n.
Kconfig definition¶
At <Zephyr Subsystem>/testsuite/ztest/Kconfig:41
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_TC_UTIL_USER_OVERRIDE
    bool "Override tc_util.h"
    depends on ZTEST
    help
      Enable overriding defines in tc_util.h.
      If True the user should provide tc_util_user_override.h in Zephyr's include path,
      e.g. by adding zephyr_include_directories(project PRIVATE my_folder) to a project's CMakeLists.txt.
      The override header may now #define the various macros and strings in tc_util.h which are
      surrounded by #ifndef ... #endif blocks.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)