Martin L Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69495 )
Change subject: util/testing: Allow jenkins builders to skip clang testing ......................................................................
util/testing: Allow jenkins builders to skip clang testing
The coverity builds are going to skip the clang build, so add a flag to make it possible.
Signed-off-by: Martin Roth gaumless@gmail.com Change-Id: I0f8ac68c1bc8f8ff9be62d80db850355e742ee74 --- M util/testing/Makefile.inc 1 file changed, 15 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/69495/1
diff --git a/util/testing/Makefile.inc b/util/testing/Makefile.inc index ad01ac1..afc4b11 100644 --- a/util/testing/Makefile.inc +++ b/util/testing/Makefile.inc @@ -97,8 +97,10 @@ cd util/goswid ; go mod vendor 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) +ifneq ($(JENKINS_SKIP_CLANG_TESTS),y) 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 +endif $(foreach tool, $(TOOLLIST), $(MAKE) CPUS=$(CPUS) V=$(V) Q=$(Q) BLD_DIR="util/$(tool)" BLD="$(tool)" MFLAGS= MAKEFLAGS= MAKETARGET= junit.xml; ) unset COREBOOT_BUILD_DIR;$(MAKE) CPUS=$(CPUS) V=$(V) Q=$(Q) BLD_DIR=payloads/nvramcui BLD=nvramcui MFLAGS= MAKEFLAGS= MAKETARGET=all junit.xml unset COREBOOT_BUILD_DIR;$(MAKE) CPUS=$(CPUS) V=$(V) Q=$(Q) BLD_DIR=payloads/coreinfo BLD=coreinfo MFLAGS= MAKEFLAGS= MAKETARGET=defaultbuild junit.xml