From a0e36d8cbaad6ead0102721fdedb3b4c50f0273c Mon Sep 17 00:00:00 2001 From: Jakub Czapiga Date: Tue, 6 Sep 2022 10:42:16 +0200 Subject: tests: Add support for tests build failures detection This patch introduces new target: junit.xml-unit-tests, which builds and runs unit-tests. It also creates build log containing build logs. This feature allows for one to see build failures in Jenkins dashboard. Signed-off-by: Jakub Czapiga Change-Id: I94184379dcc2ac10f1a47f4a9d205cacbeb640fe Reviewed-on: https://review.coreboot.org/c/coreboot/+/67372 Reviewed-by: Julius Werner Tested-by: build bot (Jenkins) --- tests/Makefile.common | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/Makefile.common') diff --git a/tests/Makefile.common b/tests/Makefile.common index 04bd6c94c353..595f870aca92 100644 --- a/tests/Makefile.common +++ b/tests/Makefile.common @@ -170,3 +170,5 @@ $(TEST_KCONFIG_AUTOHEADER): $(TEST_DOTCONFIG) $(objutil)/kconfig/conf $(TEST_KCONFIG_AUTOCONFIG): $(TEST_KCONFIG_AUTOHEADER) true + +TEST_COMMON_DEPENDENCIES := $(CMOCKA_LIB) $(TEST_KCONFIG_AUTOCONFIG) -- cgit v1.2.3