From 1add48381955fa60d4ec9fb4e1d30d62703925de Mon Sep 17 00:00:00 2001 From: Jakub Czapiga Date: Fri, 5 Mar 2021 11:37:23 +0100 Subject: tests/Makefile.inc: Enable support for multiple test groups Until now output of all test groups run in single unit test were saved in the same file which caused Jenkins to fail because of existence of multiple root XML elements. Now each test group is saved to its own file containing its name at the end of the filename. Signed-off-by: Jakub Czapiga Change-Id: I21ba512073bc8d8693daad8a9b86d5b076bea03f Reviewed-on: https://review.coreboot.org/c/coreboot/+/51281 Tested-by: build bot (Jenkins) Reviewed-by: Paul Fagerburg --- tests/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/Makefile.inc b/tests/Makefile.inc index 1e260fabba..ca974a905a 100644 --- a/tests/Makefile.inc +++ b/tests/Makefile.inc @@ -148,7 +148,7 @@ $(TEST_KCONFIG_AUTOCONFIG): $(TEST_KCONFIG_AUTOHEADER) ifeq ($(JUNIT_OUTPUT),y) $(alltests): export CMOCKA_MESSAGE_OUTPUT=xml -$(alltests): export CMOCKA_XML_FILE=$(testobj)/junit-$(subst /,_,$^).xml +$(alltests): export CMOCKA_XML_FILE=$(testobj)/junit-$(subst /,_,$^)-%g.xml endif $(alltests): $$($$(@)-bin) -- cgit v1.2.3