qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 01/10] tests/vm: use $(PYTHON) consistently


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v1 01/10] tests/vm: use $(PYTHON) consistently
Date: Mon, 2 Mar 2020 19:50:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 3/2/20 7:41 PM, Alex Bennée wrote:

Philippe Mathieu-Daudé <address@hidden> writes:

On 3/2/20 7:18 PM, Alex Bennée wrote:
From: Robert Foley <address@hidden>
Change Makefile.include to use $(PYTHON) so for vm-boot-ssh to be
consistent with other cases like vm-build.

So what you are trying to fix here is when you have two python3
installed (one from the distribution and one manually built), and you
want to use the manually built?

No - just consistency with the rest of the build system.

This patch was first posted on 2/5/20 but it shouldn't be necessary since:

commit c88ee46cdb9888fbe9ea45c174743d6f7544b737
Date:   Thu Jan 30 17:32:24 2020 +0100

    tests: Explicit usage of Python 3

    Use the program search path to find the Python 3 interpreter.

Anyway consistency is good:
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>



Signed-off-by: Robert Foley <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Peter Puhov <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>
Message-Id: <address@hidden>
---
   tests/vm/Makefile.include | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include
index 9e7c46a4735..778e5067554 100644
--- a/tests/vm/Makefile.include
+++ b/tests/vm/Makefile.include
@@ -80,7 +80,7 @@ vm-boot-serial-%: $(IMAGES_DIR)/%.img
     vm-boot-ssh-%: $(IMAGES_DIR)/%.img
        $(call quiet-command, \
-               $(SRC_PATH)/tests/vm/$* \
+               $(PYTHON) $(SRC_PATH)/tests/vm/$* \
                $(if $(J),--jobs $(J)) \
                --image "$<" \
                --interactive \







reply via email to

[Prev in Thread] Current Thread [Next in Thread]