qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 0/4] Replace custom test harness with "meson test"


From: Thomas Huth
Subject: Re: [RFC PATCH 0/4] Replace custom test harness with "meson test"
Date: Mon, 18 Oct 2021 11:51:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

On 15/10/2021 12.07, Paolo Bonzini wrote:
Hi all,

Starting with Meson 0.57, "meson test" has all features of QEMU's
makefile-based harness and more.

I just gave it a try, and basically I like this ... but I also encountered two issues:

* CTRL+C will only interrupt the longest running test.  Pressing
   CTRL+C repeatedly three times (which you would likely do anyway,
   that's how things work) interrupts the whole run

I tried this, and while hitting CTRL-C multiple times brought me back to the shell prompt, the remaining tests kept getting started in the background instead of getting stopped ... something is still fishy here, I think.

* Right now "make check-block" only does a single test run just like
   "../tests/check-block.sh", but it would be possible to add the thorough
   suite to "meson test --suite block" as well.

The output of the iotests is also not optimal yet... when running "make check SPEED=slow", the iotests are run multiple times with different target image types, but each run prints the same "▶ 1/1 test 001 OK" etc. to the console, so it's hard to say which target type is currently exercised. Would it be possible to include the target image type here, e.g. something like:

▶ 1/1 test-qcow2 001                       OK

?

 Thomas




reply via email to

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