coreboot-kgpe-d16/tests
Paul Fagerburg de6cbac3c4 tests: improve code coverage support
Fix the exclusion path for lcov; it should exclude the directory
with source code, not object files.

Use the COV environment variable to
* control whether we build for coverage or not
* select the output directory

Add a separate target for generating the report, so we can get a
report for all of the tests together or just a single test.

Add documentation.

Signed-off-by: Paul Fagerburg <pfagerburg@google.com>
Change-Id: I2bd2bfdedfab291aabeaa968c10b17e9b61c9c0a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54072
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jakub Czapiga <jacz@semihalf.com>
2021-05-19 19:56:02 +00:00
..
acpi tests: Add acpi/acpigen-test test case 2021-02-23 17:10:10 +00:00
commonlib commonlib/region: Turn addrspace_32bit into a more official API 2021-04-21 02:06:26 +00:00
device
include tests: Add lib/spd_cache-test test case 2021-05-14 08:59:29 +00:00
lib tests/lib/spd_cache-test: Initialize spd_block.addr_map 2021-05-18 10:08:39 +00:00
stubs Rename do_printk() to printk() 2021-04-14 10:38:09 +00:00
Makefile.inc tests: improve code coverage support 2021-05-19 19:56:02 +00:00