qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 1/6] iotests: add 'qemu' package location to PYTHONPATH in te


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 1/6] iotests: add 'qemu' package location to PYTHONPATH in testenv
Date: Thu, 23 Sep 2021 12:33:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0

On 9/23/21 02:16, John Snow wrote:
We can drop the sys.path hacking in various places by doing
this. Additionally, by doing it in one place right up top, we can print
interesting warnings in case the environment does not look correct.

If we ever decide to change how the environment is crafted, all of the
"help me find my python packages" goop is all in one place, right in one
function.

Signed-off-by: John Snow <jsnow@redhat.com>
---
  tests/qemu-iotests/235                    |  2 --
  tests/qemu-iotests/297                    |  6 ------
  tests/qemu-iotests/300                    |  7 +++----
  tests/qemu-iotests/iotests.py             |  2 --
  tests/qemu-iotests/testenv.py             | 14 +++++++++-----
  tests/qemu-iotests/tests/mirror-top-perms |  7 +++----
  6 files changed, 15 insertions(+), 23 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>




reply via email to

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