Martin L Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69861 )
Change subject: util/testing: Add scanbuild test build to what-jenkins-does ......................................................................
util/testing: Add scanbuild test build to what-jenkins-does
This tests building a single target with scanbuild so to make sure that option hasn't been broken. Since it's a different type of build, it hasn't previously been tested with what-jenkins-does.
Signed-off-by: Martin Roth gaumless@gmail.com Change-Id: I8a74dac203f4d38c0cb30a0b64724e6f9095b9dd --- M util/testing/Makefile.inc 1 file changed, 16 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/61/69861/1
diff --git a/util/testing/Makefile.inc b/util/testing/Makefile.inc index f6bd20b..ea35851 100644 --- a/util/testing/Makefile.inc +++ b/util/testing/Makefile.inc @@ -109,6 +109,7 @@ util/lint/lint lint-extended $(JUNIT)
test-abuild: + 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} 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} @@ -143,6 +144,7 @@ test-cleanup: rm -rf $(COREBOOT_BUILD_DIR)/chromeos $(COREBOOT_BUILD_DIR)/default rm -rf $(COREBOOT_BUILD_DIR)/chromeos-clang $(COREBOOT_BUILD_DIR)/default-clang + rm -rf $(COREBOOT_BUILD_DIR)/scanbuild $(MAKE) clean $(foreach tool, $(TOOLLIST), $(MAKE) -C util/$(tool) clean ; ) $(MAKE) -C src/soc/nvidia/tegra124/lp0 clean