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>
diff --git a/util/testing/Makefile.inc b/util/testing/Makefile.inc
index 6f14c2d..ff55df0 100644
--- a/util/testing/Makefile.inc
+++ b/util/testing/Makefile.inc
@@ -115,7 +115,9 @@
 	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