summaryrefslogtreecommitdiff
path: root/util/testing
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-11-19 16:54:26 -0700
committerMartin L Roth <gaumless@gmail.com>2022-11-21 20:05:53 +0000
commit676e0acb07df5af3867db65d734d30fe09e5e0bd (patch)
tree39e5e0a2be56cbcf39c432334a1fc066362780ae /util/testing
parent7df45bbc0c19837d52f9fbcfb9e07e03a8cd3df3 (diff)
util/testing: Use new --name argument for abuild
This gets rid of the duplicated directory and xml filename and uses the --name argument to abuild instead, which also updates the test name in the junit xml file. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: Ibe538da42280696190b0a7a0c63fd86a63e40214 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69860 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'util/testing')
-rw-r--r--util/testing/Makefile.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/testing/Makefile.inc b/util/testing/Makefile.inc
index a2f035ef9d..f6bd20b851 100644
--- a/util/testing/Makefile.inc
+++ b/util/testing/Makefile.inc
@@ -109,10 +109,10 @@ test-lint:
util/lint/lint lint-extended $(JUNIT)
test-abuild:
- util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/chromeos $(ABUILD_OPTIONS) -x -X $(top)/abuild-chromeos.xml
- util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/default $(ABUILD_OPTIONS)
- util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/chromeos-clang $(ABUILD_OPTIONS) -x -X $(top)/abuild-chromeos_clang.xml -L
- util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/default-clang $(ABUILD_OPTIONS) -L
+ NAME=gcc-chromeos; util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/$${NAME} $(ABUILD_OPTIONS) -x --name $${NAME}
+ NAME=gcc; util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/$${NAME} $(ABUILD_OPTIONS) --name $${NAME}
+ NAME=clang-chromeos; util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/$${NAME} $(ABUILD_OPTIONS) -L -x --name $${NAME}
+ NAME=clang; util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/$${NAME} $(ABUILD_OPTIONS) -L --name $${NAME}
test-payloads:
$(MAKE) -C payloads/libpayload test-configs -j $(CPUS) V=$(V) Q=$(Q) MFLAGS= MAKEFLAGS= $(if $(TEST_NOCCACHE),,CONFIG_LP_CCACHE=y)