[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH v2 5/7] tests: add 'check-venv' as a dependency of 'make chec
From: |
John Snow |
Subject: |
[RFC PATCH v2 5/7] tests: add 'check-venv' as a dependency of 'make check' |
Date: |
Fri, 10 Jun 2022 18:26:03 -0400 |
This patch adds the 'check-venv' target as a requisite of all meson
driven check-* targets. As of this commit, it will only install the
"qemu" namespace package from the source tree, and nothing else.
In the future, the "qemu" namespace package in qemu.git will begin to
require an external qemu.qmp package, and this would be installed into
this environment as well.
The avocado test dependencies will *not* be pulled into this venv by
default, but they may be added in at a later point in time by running
'make check-avocado' or, without running the tests, 'make
check-venv-avocado'.
Signed-off-by: John Snow <jsnow@redhat.com>
---
tests/Makefile.include | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/Makefile.include b/tests/Makefile.include
index d8af6a38112..d484a335be5 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -155,6 +155,9 @@ check-acceptance-deprecated-warning:
check-acceptance: check-acceptance-deprecated-warning | check-avocado
+# The do-meson-check and do-meson-bench targets are defined in Makefile.mtest
+do-meson-check do-meson-bench: check-venv
+
# Consolidated targets
.PHONY: check check-clean get-vm-images
--
2.34.3
- [RFC PATCH v2 0/7] tests: run python tests under a venv, John Snow, 2022/06/10
- [RFC PATCH v2 2/7] tests: pythonize test venv creation, John Snow, 2022/06/10
- [RFC PATCH v2 6/7] iotests: use tests/venv for running tests, John Snow, 2022/06/10
- [RFC PATCH v2 3/7] tests: Remove spurious pip warnings on Ubuntu20.04, John Snow, 2022/06/10
- [RFC PATCH v2 4/7] tests/vm: add venv pre-requisites to VM building recipes, John Snow, 2022/06/10
- [RFC PATCH v2 1/7] tests: create optional tests/venv dependency groups, John Snow, 2022/06/10
- [RFC PATCH v2 5/7] tests: add 'check-venv' as a dependency of 'make check',
John Snow <=
- [RFC PATCH v2 7/7] iotests: self-bootstrap testing venv, John Snow, 2022/06/10