The latest development version of this page may be more current than this released 2.1.0 version.
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.

Direct dependencies

ZTEST

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/testsuite/ztest/Kconfig:40

Included via Kconfig:8Kconfig.zephyr:41subsys/Kconfig:36subsys/testsuite/Kconfig:6

Menu path: (Top) → 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.)