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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69861 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
		
				
					committed by
					
						
						Martin L Roth
					
				
			
			
				
	
			
			
			
						parent
						
							676e0acb07
						
					
				
				
					commit
					b5e9946227
				
			@@ -109,6 +109,7 @@ test-lint:
 | 
			
		||||
	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-tools:
 | 
			
		||||
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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user