unittest: add support for coverage

Some missing features for getting coverage data for unit tests:
- Setting the unit_testing board to have coverage support and native
  application.
- Fixing the CONFIG_COVERAGE check

Signed-off-by: Yuval Peress <peress@google.com>
This commit is contained in:
Yuval Peress 2022-11-28 11:33:11 -07:00 committed by Christopher Friedt
commit 49ca6f8f7d
2 changed files with 3 additions and 1 deletions

View file

@ -4,5 +4,7 @@
config BOARD_UNIT_TESTING
bool "Unit testing board"
select HAS_COVERAGE_SUPPORT
select NATIVE_APPLICATION
help
Board for unit testing