-
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>/subsys/testsuite/ztest/Kconfig:40
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:52
→ <Zephyr>/subsys/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.)