CONFIG_COVERAGE_GCOV

Create Coverage data from hardware platform

Type: bool

Help

This option will select the custom gcov library. The reports will be available over serial. This serial dump can be passed to gen_gcov_files.py which creates the required .gcda files. These can be read by gcov utility. For more details see gcovr.com .

Direct dependencies

COVERAGE && !NATIVE_APPLICATION

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/subsys/testsuite/Kconfig:42

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:52

Menu path: (Top) → Sub Systems and OS Services → Testing → Create coverage data

config COVERAGE_GCOV
    bool "Create Coverage data from hardware platform"
    default y
    depends on COVERAGE && !NATIVE_APPLICATION
    help
      This option will select the custom gcov library. The reports will
      be available over serial. This serial dump can be passed to
      gen_gcov_files.py which creates the required .gcda files. These
      can be read by gcov utility. For more details see gcovr.com .

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