qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 07/11] acpi/tests/bits: add python test that exercizes QEM


From: Thomas Huth
Subject: Re: [PATCH v2 07/11] acpi/tests/bits: add python test that exercizes QEMU bios tables using biosbits
Date: Wed, 28 Sep 2022 09:43:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0

On 28/09/2022 09.06, Daniel P. Berrangé wrote:
On Tue, Sep 27, 2022 at 06:09:22PM -0400, Michael S. Tsirkin wrote:
On Tue, Sep 27, 2022 at 11:44:56PM +0200, Paolo Bonzini wrote:
I also second the idea of using avocado instead of pytest, by the way.

snip

Problem is I don't think avocado is yet at the level where I can
ask random developers to use it to check their ACPI patches.

I just went ahead and rechecked and the situation isn't much better
yet. I think the focus of avocado is system testing of full guests with
KVM, not unit testing of ACPI.

Let's start with installation on a clean box:

...snip...

Do not do any of this stuff, it is irrelevant to QEMU's needs.
A developer using Avocado with QEMU does nothing more than:

     make check-avocado

Right. And if you want to run individual tests, you can also do it like this:

    make check-venv   # Only for the first time
    ./tests/venv/bin/avocado run tests/avocado/boot_linux.py

Or run tests via tags (very convenient for maintainers):

   ./tests/venv/bin/avocado run -t arch:s390x tests/avocado/

 HTH,
  Thomas




reply via email to

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