tests: Add a target to run all tests in thorough mode

"make check SPEED=thorough" is a little bit clunky to type and many
people are not aware of this nice possibility to run almost all test
in parallel this way. So add a "check-thorough" target that makes this
way of running the tests a little bit more accessible.

Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20261026093034.516604-1-thuth@redhat.com>
This commit is contained in:
Thomas Huth committed 2026-11-02 14:13:06 +01:00
1 parent 56afd82bd4
commit 13029d2189
1 file changed
+10 -3
+10 -3
View File
@@ -4,6 +4,7 @@
check-help:
@echo "Regression testing targets:"
@echo " $(MAKE) check Run block, qapi-schema, unit, softfloat, qtest and decodetree tests"
@echo " $(MAKE) check-thorough Download assets and run almost all non-flaky tests"
@echo " $(MAKE) bench Run speed tests"
@echo
@echo "Individual test suites:"
@@ -46,10 +47,13 @@ FUNCTIONAL_TARGETS=$(patsubst %-softmmu,check-functional-%, $(filter %-softmmu,$
$(FUNCTIONAL_TARGETS):
@$(MAKE) SPEED=thorough $(subst -functional,-func,$@)
.PHONY: check-functional
check-functional:
.PHONY: check-functional-precache
check-functional-precache:
@$(NINJA) precache-functional
@$(PYTHON) $(SRC_PATH)/scripts/clean_functional_cache.py
.PHONY: check-functional
check-functional: check-functional-precache
@QEMU_TEST_NO_DOWNLOAD=1 $(MAKE) SPEED=thorough check-func check-func-quick
.PHONY: check-func check-func-quick
@@ -57,9 +61,12 @@ check-func check-func-quick:
# Consolidated targets
.PHONY: check check-clean
.PHONY: check check-thorough check-clean
check:
check-thorough: check-functional-precache
$(MAKE) check SPEED=thorough QEMU_TEST_NO_DOWNLOAD=1
check-build: run-ninja
check-clean: