From 9c6692db550f739a84fe4b677428df09d9fafdc3 Mon Sep 17 00:00:00 2001 From: John Snow Date: Wed, 10 May 2023 23:54:27 -0400 Subject: tests: Use configure-provided pyvenv for tests This patch changes how the avocado tests are provided, ever so slightly. Instead of creating a new testing venv, use the configure-provided 'pyvenv' instead, and install optional packages into that. Signed-off-by: John Snow Message-Id: <20230511035435.734312-20-jsnow@redhat.com> Signed-off-by: Paolo Bonzini --- scripts/device-crash-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/device-crash-test') diff --git a/scripts/device-crash-test b/scripts/device-crash-test index b74d887..353aa57 100755 --- a/scripts/device-crash-test +++ b/scripts/device-crash-test @@ -43,7 +43,7 @@ except ModuleNotFoundError as exc: print(f"Module '{exc.name}' not found.") print(" Try 'make check-venv' from your build directory,") print(" and then one way to run this script is like so:") - print(f' > $builddir/tests/venv/bin/python3 "{path}"') + print(f' > $builddir/pyvenv/bin/python3 "{path}"') sys.exit(1) logger = logging.getLogger('device-crash-test') -- cgit v1.1