-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Labels
area: Code Coveragearea: TestsuiteTestsuiteTestsuitebugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bug
Description
Describe the bug
Application should be able to include the private header coverage.h
that is conditionally exposed when CONFIG_COVERAGE_GCOV=y
by:
#include "coverage"
but since there is a typo in the CMakeLists.txt
, it is not able to do so:
zephyr_include_directories_ifdef(CONFIG_COVERAGE_GCOV ${zephyr_BASE}/subsys/testsuite/coverage) |
Specifically, the zephyr_BASE
variable should be ZEPHYR_BASE
instead.
To Reproduce
Steps to reproduce the behavior:
- Enable
CONFIG_COVERAGE_GCOV
and try to include thecoverage.h
in an application west build ...
- See error
Expected behavior
Compilation should pass
Impact
Application can't include the coverage.h
, otherwise the compilation fails.
Environment (please complete the following information):
- OS: Linux
- Toolchain: Zephyr SDK
- Commit SHA or Version used: 193eeae
Metadata
Metadata
Assignees
Labels
area: Code Coveragearea: TestsuiteTestsuiteTestsuitebugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bug