summaryrefslogtreecommitdiffstats
path: root/tests/docker
diff options
context:
space:
mode:
authorJohn Snow2022-05-26 02:09:14 +0200
committerPaolo Bonzini2022-06-06 09:26:54 +0200
commitcaa0f7cbaf4159186d614849ddfbdd89f26d597c (patch)
tree8b6f69cc99a981e45377b42d8e74773910c3b691 /tests/docker
parentpython: update for mypy 0.950 (diff)
downloadqemu-caa0f7cbaf4159186d614849ddfbdd89f26d597c.tar.gz
qemu-caa0f7cbaf4159186d614849ddfbdd89f26d597c.tar.xz
qemu-caa0f7cbaf4159186d614849ddfbdd89f26d597c.zip
tests: add "TESTS_PYTHON" variable to Makefile
This is a convenience feature: $(PYTHON) points to the Python executable we were instructed to use by the configure script. We use that Python to create a virtual environment with the "check-venv" target in tests/Makefile.include. $(TESTS_PYTHON) points to the Python executable belonging to the virtual environment tied to the build. This Python executable is a symlink to the binary used to create the venv, which will be the version provided at configure time. Using $(TESTS_PYTHON) therefore uses the $(PYTHON) executable, but with paths modified to use packages installed to the venv. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220526000921.1581503-3-jsnow@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/docker')
0 files changed, 0 insertions, 0 deletions