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

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:36

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

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