CONFIG_FORCE_NO_ASSERT

Force-disable no assertions

Type: bool

Help

This boolean option disables Zephyr assertion testing even in circumstances (twister) where it is enabled via CFLAGS and not Kconfig. Added solely to be able to work around compiler bugs for specific tests.

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/subsys/debug/Kconfig:232

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:17

Menu path: (Top) → Sub Systems and OS Services → Debugging Options

config FORCE_NO_ASSERT
    bool "Force-disable no assertions"
    help
      This boolean option disables Zephyr assertion testing even
      in circumstances (twister) where it is enabled via
      CFLAGS and not Kconfig.  Added solely to be able to work
      around compiler bugs for specific tests.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)