qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 00/10] Introduce new acpi/smbios avocado tests using biosb


From: Thomas Huth
Subject: Re: [PATCH v3 00/10] Introduce new acpi/smbios avocado tests using biosbits
Date: Mon, 10 Oct 2022 10:56:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0

On 10/10/2022 10.13, Ani Sinha wrote:
On Mon, Oct 10, 2022 at 1:24 PM Ani Sinha <ani@anisinha.ca> wrote:

Please see the README file added in patch 10 for more details.
Sample runs are as follows:

$ ./tests/venv/bin/avocado run -t acpi tests/avocado --tap -
ERROR:  Missing parentheses in call to 'print'. Did you mean print(...)? 
(smbios.py, line 92)
ERROR:  Missing parentheses in call to 'print'. Did you mean print(...)? 
(smilatency.py, line 47)
ERROR:  Missing parentheses in call to 'print'. Did you mean print(...)? 
(testacpi.py, line 158)

None of the above files are avocado tests or avocado related python
scripts. They are run from within bits in a python 2.7 environment. I
could not find a mechanism to exclude a directory from avocado tests.
I also do not think making those scripts python 3 compliant is a good
use of my time since upgrading bits to use python 3 would be a major
task unrelated to QEMU testing.

Maybe you could at least switch those three lines to use the new print() syntax to silence at least these ugly errors? ... Python 2.7 should cope very well with the new syntax, as far as I know...

Otherwise, it might be better to put the non-avocado python files into another directory under tests/ ?

 Thomas





reply via email to

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