[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 7/8] Acceptance tests: depend on qemu-img
From: |
Cleber Rosa |
Subject: |
[PATCH v7 7/8] Acceptance tests: depend on qemu-img |
Date: |
Mon, 4 Nov 2019 10:13:22 -0500 |
Tests using the avocado.utils.vmimage library make use of qemu-img,
and because it makes sense to use the version matching the rest of the
source code, let's make sure it gets built.
Its selection, instead of a possible qemu-img binary installed system
wide, is already dealt with by the change that adds the build dir to
the PATH during the test execution.
This is based on the same work for qemu-iotests, and suggested by its
author:
- https://lists.gnu.org/archive/html/qemu-devel/2019-02/msg00951.html
CC: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Cleber Rosa <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
---
tests/Makefile.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Makefile.include b/tests/Makefile.include
index 65e85f5275..559c3e6375 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -1174,7 +1174,7 @@ $(TESTS_RESULTS_DIR):
check-venv: $(TESTS_VENV_DIR)
-check-acceptance: check-venv $(TESTS_RESULTS_DIR)
+check-acceptance: check-venv $(TESTS_RESULTS_DIR) qemu-img$(EXESUF)
$(call quiet-command, \
$(TESTS_VENV_DIR)/bin/python -m avocado \
--show=$(AVOCADO_SHOW) run --job-results-dir=$(TESTS_RESULTS_DIR) \
--
2.21.0
[PATCH v7 7/8] Acceptance tests: depend on qemu-img,
Cleber Rosa <=
[PATCH v7 8/8] Acceptance test: add "boot_linux" tests, Cleber Rosa, 2019/11/04
Re: [PATCH v7 0/8] Acceptance test: Add "boot_linux" acceptance test, no-reply, 2019/11/04
Re: [PATCH v7 0/8] Acceptance test: Add "boot_linux" acceptance test, Wainer dos Santos Moschetta, 2019/11/07