diff options
author | Jakub Czapiga <jacz@semihalf.com> | 2021-03-05 11:37:23 +0100 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2021-03-10 20:23:19 +0000 |
commit | 1add48381955fa60d4ec9fb4e1d30d62703925de (patch) | |
tree | 9b49ed8882c91d1ce7871df1b84cdc2c107716bd /tests | |
parent | 689c25b9d6bbd62875f1fb31dca5cc694b8e262f (diff) | |
download | coreboot-1add48381955fa60d4ec9fb4e1d30d62703925de.tar.xz |
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 <jacz@semihalf.com>
Change-Id: I21ba512073bc8d8693daad8a9b86d5b076bea03f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51281
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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) |