CONFIG_COVERAGE

Create coverage data

Type: bool

Help

This option will build your application with the -coverage option which will generate data that can be used to create coverage reports. Currently this is fully supported only on the native POSIX port.

Direct dependencies

HAS_COVERAGE_SUPPORT

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/testsuite/Kconfig:43

Included via Kconfig:10Kconfig.zephyr:44subsys/Kconfig:38

Menu path: (Top) → Testing

config COVERAGE
    bool "Create coverage data"
    depends on HAS_COVERAGE_SUPPORT
    help
      This option will build your application with the -coverage option
      which will generate data that can be used to create coverage reports.
      Currently this is fully supported only on the native POSIX port.

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