The latest development version of this page may be more current than this released 2.7.5 version.

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.
For more information see
https://docs.zephyrproject.org/latest/guides/coverage.html

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:33

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:61

Menu path: (Top) → Sub Systems and OS Services → 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.
      For more information see
      https://docs.zephyrproject.org/latest/guides/coverage.html

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