[PATCH v2 0/3] tests/qemu-iotests: Improve test detection for meson

Thomas Huth posted 3 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251014104142.1281028-1-thuth@redhat.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>
tests/qemu-iotests/184         |  2 +-
tests/qemu-iotests/check       | 42 +++++++++++++++++++++++++++++++---
tests/qemu-iotests/meson.build |  3 +++
3 files changed, 43 insertions(+), 4 deletions(-)
[PATCH v2 0/3] tests/qemu-iotests: Improve test detection for meson
Posted by Thomas Huth 1 month ago
When running the test in thorough mode, we currently try to run a lot of
tests that are only skipped, which is somewhat annoying. This series
fixes the problems (see second patch), and add some more image formats
in the third patch (which should be fine now that the list of tests that
we try to execute is not that big anymore).

v2:
- Improve the detection mechanism in patch 2 by using regex statements
- Extend the comment in patch 2 a little bit, saying that the detection
  can fail in certain cases, e.g. when the "unsupported_fmt" and the
  "supported_fmt" statement are on the same line (which does not seem to
  be a problem with the current test cases right now, fortunately)

Thomas Huth (3):
  tests/qemu-iotests/184: Fix skip message for qemu-img without throttle
  tests/qemu-iotests: Improve the dry run list to speed up thorough
    testing
  tests/qemu-iotest: Add more image formats to the thorough testing

 tests/qemu-iotests/184         |  2 +-
 tests/qemu-iotests/check       | 42 +++++++++++++++++++++++++++++++---
 tests/qemu-iotests/meson.build |  3 +++
 3 files changed, 43 insertions(+), 4 deletions(-)

-- 
2.51.0
Re: [PATCH v2 0/3] tests/qemu-iotests: Improve test detection for meson
Posted by Kevin Wolf 1 week, 2 days ago
Am 14.10.2025 um 12:41 hat Thomas Huth geschrieben:
> When running the test in thorough mode, we currently try to run a lot of
> tests that are only skipped, which is somewhat annoying. This series
> fixes the problems (see second patch), and add some more image formats
> in the third patch (which should be fine now that the list of tests that
> we try to execute is not that big anymore).
> 
> v2:
> - Improve the detection mechanism in patch 2 by using regex statements
> - Extend the comment in patch 2 a little bit, saying that the detection
>   can fail in certain cases, e.g. when the "unsupported_fmt" and the
>   "supported_fmt" statement are on the same line (which does not seem to
>   be a problem with the current test cases right now, fortunately)

Thanks, applied to the block branch.

Kevin