summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.common
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2022-09-06 10:42:16 +0200
committerPatrick Georgi <patrick@coreboot.org>2022-09-21 14:06:42 +0000
commita0e36d8cbaad6ead0102721fdedb3b4c50f0273c (patch)
tree6c62d045a8992ac1b786cf2be09c6560d6a61cae /tests/Makefile.common
parentb525ea726b257ca6b4e03f4f4427f92046722e26 (diff)
downloadcoreboot-a0e36d8cbaad6ead0102721fdedb3b4c50f0273c.tar.gz
coreboot-a0e36d8cbaad6ead0102721fdedb3b4c50f0273c.tar.bz2
coreboot-a0e36d8cbaad6ead0102721fdedb3b4c50f0273c.zip
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 <jacz@semihalf.com> Change-Id: I94184379dcc2ac10f1a47f4a9d205cacbeb640fe Reviewed-on: https://review.coreboot.org/c/coreboot/+/67372 Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'tests/Makefile.common')
-rw-r--r--tests/Makefile.common2
1 files changed, 2 insertions, 0 deletions
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)