aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2023-02-06 10:12:29 -0700
committerFelix Held <felix-coreboot@felixheld.de>2023-02-08 19:15:40 +0000
commit0363561a303c8779e228dc248017c0b0e95de159 (patch)
tree809fd0072243648d096ba9acff4f4fe175b6d6b7 /util
parent6e7645e4febcb254300b79e6dc4e66341fcb3ef4 (diff)
util/testing: Allow scanbuild test to be skipped
This is currently killing the jenkins builds. This patch allows it to be disabled until the reason is found. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I16dba80a88953aa95f7f647ba12b2ec3297ab81f Reviewed-on: https://review.coreboot.org/c/coreboot/+/72801 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'util')
-rw-r--r--util/testing/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/testing/Makefile.inc b/util/testing/Makefile.inc
index 6f14c2de2b..ff55df059b 100644
--- a/util/testing/Makefile.inc
+++ b/util/testing/Makefile.inc
@@ -115,7 +115,9 @@ test-lint:
util/lint/lint lint-extended $(JUNIT)
test-abuild:
+ifneq ($(JENKINS_SKIP_SCANBUILD_TEST),y)
NAME=scanbuild; SCANBUILD_ARGS='-k -plist-html -maxloop 10' util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/$${NAME} $(ABUILD_OPTIONS) -scan-build --target EMULATION_QEMU_X86_Q35 --exitcode --name $${NAME}
+endif
ifneq ($(JENKINS_SKIP_GCC_TESTS),y)
NAME=gcc-chromeos; util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/$${NAME} $(ABUILD_OPTIONS) -x --name $${NAME} --clean
NAME=gcc; util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/$${NAME} $(ABUILD_OPTIONS) --name $${NAME} --clean-somewhat