[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 08/52] tests/vm: Use python configured on build
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PULL 08/52] tests/vm: Use python configured on build |
Date: |
Fri, 7 Jun 2019 10:05:07 +0100 |
From: Wainer dos Santos Moschetta <address@hidden>
Changed the vm-test makefile to execute python scripts
with the interpreter configured on build. This allows to
run vm-test targets properly in Linux distros with Python 3
only support.
Signed-off-by: Wainer dos Santos Moschetta <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include
index 992d823f6b..6f82676306 100644
--- a/tests/vm/Makefile.include
+++ b/tests/vm/Makefile.include
@@ -35,7 +35,7 @@ $(IMAGES_DIR)/%.img: $(SRC_PATH)/tests/vm/% \
$(SRC_PATH)/tests/vm/Makefile.include
@mkdir -p $(IMAGES_DIR)
$(call quiet-command, \
- $< \
+ $(PYTHON) $< \
$(if $(V)$(DEBUG), --debug) \
--image "$@" \
--force \
@@ -46,7 +46,7 @@ $(IMAGES_DIR)/%.img: $(SRC_PATH)/tests/vm/% \
# Build in VM $(IMAGE)
vm-build-%: $(IMAGES_DIR)/%.img
$(call quiet-command, \
- $(SRC_PATH)/tests/vm/$* \
+ $(PYTHON) $(SRC_PATH)/tests/vm/$* \
$(if $(V)$(DEBUG), --debug) \
$(if $(DEBUG), --interactive) \
$(if $(J),--jobs $(J)) \
--
2.20.1
- [Qemu-devel] [PULL 00/52] testing, gdbstub and cputlb fixes, Alex Bennée, 2019/06/07
- [Qemu-devel] [PULL 04/52] tests/docker: Update the Fedora cross compile images to 30, Alex Bennée, 2019/06/07
- [Qemu-devel] [PULL 05/52] tests/docker: Update the Ubuntu image to 19.04, Alex Bennée, 2019/06/07
- [Qemu-devel] [PULL 09/52] tests/vm: Port basevm to Python 3, Alex Bennée, 2019/06/07
- [Qemu-devel] [PULL 08/52] tests/vm: Use python configured on build,
Alex Bennée <=
- [Qemu-devel] [PULL 36/52] gdbstub: Implement continue (c pkt) with new infra, Alex Bennée, 2019/06/07
- [Qemu-devel] [PULL 38/52] gdbstub: Implement set_thread (H pkt) with new infra, Alex Bennée, 2019/06/07
- [Qemu-devel] [PULL 01/52] editorconfig: add setting for shell scripts, Alex Bennée, 2019/06/07
- [Qemu-devel] [PULL 03/52] tests/docker: Update the Fedora image to Fedora 30, Alex Bennée, 2019/06/07
- [Qemu-devel] [PULL 06/52] .travis.yml: bump gcc sanitiser job to gcc-9, Alex Bennée, 2019/06/07
- [Qemu-devel] [PULL 02/52] qemu-io-cmds: use clock_gettime for benchmarking, Alex Bennée, 2019/06/07
- [Qemu-devel] [PULL 07/52] .travis.yml: add clang ubsan job, Alex Bennée, 2019/06/07
- [Qemu-devel] [PULL 10/52] tests/vm: Fix build-centos docker-based tests run, Alex Bennée, 2019/06/07
- [Qemu-devel] [PULL 11/52] tests/vm: Add missing variables on help, Alex Bennée, 2019/06/07
- [Qemu-devel] [PULL 17/52] tests/vm: proper guest shutdown, Alex Bennée, 2019/06/07