This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

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 subsys/debug/Kconfig:228

Included via Kconfig:8Kconfig.zephyr:42subsys/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.)