|
@@ -16,7 +16,7 @@ ifneq ($(filter $(all-check-targets), check-softfloat),)
|
|
|
@echo " $(MAKE) check-tcg Run TCG tests"
|
|
|
@echo " $(MAKE) check-softfloat Run FPU emulation tests"
|
|
|
endif
|
|
|
- @echo " $(MAKE) check-acceptance Run acceptance (functional) tests for currently configured targets"
|
|
|
+ @echo " $(MAKE) check-avocado Run avocado (integration) tests for currently configured targets"
|
|
|
@echo
|
|
|
@echo " $(MAKE) check-report.tap Generates an aggregated TAP test report"
|
|
|
@echo " $(MAKE) check-venv Creates a Python venv for tests"
|
|
@@ -24,7 +24,7 @@ endif
|
|
|
@echo
|
|
|
@echo "The following are useful for CI builds"
|
|
|
@echo " $(MAKE) check-build Build most test binaris"
|
|
|
- @echo " $(MAKE) get-vm-images Downloads all images used by acceptance tests, according to configured targets (~350 MB each, 1.5 GB max)"
|
|
|
+ @echo " $(MAKE) get-vm-images Downloads all images used by avocado tests, according to configured targets (~350 MB each, 1.5 GB max)"
|
|
|
@echo
|
|
|
@echo
|
|
|
@echo "The variable SPEED can be set to control the gtester speed setting."
|
|
@@ -83,7 +83,7 @@ clean-tcg: $(CLEAN_TCG_TARGET_RULES)
|
|
|
|
|
|
# Python venv for running tests
|
|
|
|
|
|
-.PHONY: check-venv check-acceptance
|
|
|
+.PHONY: check-venv check-avocado check-acceptance check-acceptance-deprecated-warning
|
|
|
|
|
|
TESTS_VENV_DIR=$(BUILD_DIR)/tests/venv
|
|
|
TESTS_VENV_REQ=$(SRC_PATH)/tests/requirements.txt
|
|
@@ -127,12 +127,12 @@ get-vm-image-fedora-31-%: check-venv
|
|
|
$(call quiet-command, \
|
|
|
$(TESTS_VENV_DIR)/bin/python -m avocado vmimage get \
|
|
|
--distro=fedora --distro-version=31 --arch=$*, \
|
|
|
- "AVOCADO", "Downloading acceptance tests VM image for $*")
|
|
|
+ "AVOCADO", "Downloading avocado tests VM image for $*")
|
|
|
|
|
|
# download all vm images, according to defined targets
|
|
|
get-vm-images: check-venv $(patsubst %,get-vm-image-fedora-31-%, $(FEDORA_31_DOWNLOAD))
|
|
|
|
|
|
-check-acceptance: check-venv $(TESTS_RESULTS_DIR) get-vm-images
|
|
|
+check-avocado: check-venv $(TESTS_RESULTS_DIR) get-vm-images
|
|
|
$(call quiet-command, \
|
|
|
$(TESTS_VENV_DIR)/bin/python -m avocado \
|
|
|
--show=$(AVOCADO_SHOW) run --job-results-dir=$(TESTS_RESULTS_DIR) \
|
|
@@ -142,6 +142,13 @@ check-acceptance: check-venv $(TESTS_RESULTS_DIR) get-vm-images
|
|
|
$(if $(GITLAB_CI),,--failfast) $(AVOCADO_TESTS), \
|
|
|
"AVOCADO", "tests/acceptance")
|
|
|
|
|
|
+check-acceptance-deprecated-warning:
|
|
|
+ @echo
|
|
|
+ @echo "Note '$(MAKE) check-acceptance' is deprecated, use '$(MAKE) check-avocado' instead."
|
|
|
+ @echo
|
|
|
+
|
|
|
+check-acceptance: check-acceptance-deprecated-warning | check-avocado
|
|
|
+
|
|
|
# Consolidated targets
|
|
|
|
|
|
.PHONY: check-block check check-clean get-vm-images
|