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