diff options
author | John Snow <jsnow@redhat.com> | 2022-05-25 20:09:14 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-06 09:26:54 +0200 |
commit | caa0f7cbaf4159186d614849ddfbdd89f26d597c (patch) | |
tree | 8b6f69cc99a981e45377b42d8e74773910c3b691 /qobject/json-parser-int.h | |
parent | e7874a50ff3f5b20fb46f36958ad88334e4d55cd (diff) | |
download | qemu-caa0f7cbaf4159186d614849ddfbdd89f26d597c.zip qemu-caa0f7cbaf4159186d614849ddfbdd89f26d597c.tar.gz qemu-caa0f7cbaf4159186d614849ddfbdd89f26d597c.tar.bz2 |
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 'qobject/json-parser-int.h')
0 files changed, 0 insertions, 0 deletions