diff options
author | Paul Fagerburg <pfagerburg@google.com> | 2021-12-07 09:52:41 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-12-08 20:29:55 +0000 |
commit | 18dd6b8a9a6ab45079e25fb1c27dad21687d1095 (patch) | |
tree | c65813b3abffab4e9029aa2034d498cc1004a53b /util | |
parent | d5ea92078551de4de78debfd31dcef43f33fdfb0 (diff) |
util/testing: combine code coverage data
As part of the `what-jenkins-does` target, combine the code coverage
data from all unit tests (currently just coreboot and libpayload).
BUG=b:203800199
TEST=`make what-jenkins-does && ls -l coreboot-builds/coverage.info`
Signed-off-by: Paul Fagerburg <pfagerburg@google.com>
Change-Id: Id99615ca8279f80a402d5371221b8fd36fb91d55
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59959
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <patrick@coreboot.org>
Diffstat (limited to 'util')
-rw-r--r-- | util/testing/Makefile.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/testing/Makefile.inc b/util/testing/Makefile.inc index 1411c7e4e8..0830aea501 100644 --- a/util/testing/Makefile.inc +++ b/util/testing/Makefile.inc @@ -105,6 +105,7 @@ endif $(MAKE) unit-tests JUNIT_OUTPUT=y COV=1 (cd payloads/libpayload; unset COREBOOT_BUILD_DIR; $(MAKE) unit-tests coverage-report JUNIT_OUTPUT=y COV=1) $(MAKE) coverage-report JUNIT_OUTPUT=y COV=1 + find . -name 'tests.info' -exec cat {} + >$(COREBOOT_BUILD_DIR)/coverage.info test-basic: test-lint test-tools test-abuild test-payloads test-cleanup |