diff options
| author | John Snow | 2022-05-26 02:09:14 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2022-06-06 09:26:54 +0200 |
| commit | caa0f7cbaf4159186d614849ddfbdd89f26d597c (patch) | |
| tree | 8b6f69cc99a981e45377b42d8e74773910c3b691 /tests/docker | |
| parent | python: update for mypy 0.950 (diff) | |
| download | qemu-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
