The latest development version of this page may be more current than this released 1.14.1 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. Currently this is fully supported only on the native POSIX port.

Direct dependencies

HAS_COVERAGE_SUPPORT

(Includes any dependencies from if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/testsuite/Kconfig:40

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

Menu path: (top menu) → Testing

config COVERAGE
    bool
    prompt "Create coverage data" if HAS_COVERAGE_SUPPORT
    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.

(Definitions include propagated dependencies, including from if’s and menus.)