Install all source files with coverage package 65/237365/2
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 29 Jun 2020 16:09:33 +0000 (18:09 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 29 Jun 2020 16:28:50 +0000 (18:28 +0200)
commitf792c669de828f941d15ef1408d2a9e642696a04
treec360e94ad946fc39032c0640797a141148397a84
parent9357acb28b30d245191c885a3b7f067a2af2f208
Install all source files with coverage package

We only need to calculate code coverage for code in src subdirectory. However,
if unit-tests sourcess are not provided, the lcov fails to notice some of the
covered code paths in header files.

This commit installs all the sources, but removes irrelevant ones from the
report. It adds ~ +5% and +10% to line and function coverage respectively.

Change-Id: If17259ee4b8b76b8c7060c8d49ec92577d997eaf
unit-tests/CMakeLists.txt
unit-tests/key-manager-coverage.sh.in