From 18dd6b8a9a6ab45079e25fb1c27dad21687d1095 Mon Sep 17 00:00:00 2001 From: Paul Fagerburg Date: Tue, 7 Dec 2021 09:52:41 -0700 Subject: [PATCH] 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 Change-Id: Id99615ca8279f80a402d5371221b8fd36fb91d55 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59959 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/testing/Makefile.inc | 1 + 1 file changed, 1 insertion(+) 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