Skip to content

tests/qtest: Only run fuzz-tests when tested devices are available

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 7 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/qtest: Only run fuzz-megasas-test if megasas device is availableMAINTAINERS tests/qtest/fuzz-megasas-test.c tests/qtest/fuzz-test.c +1 more+53 -263 replies
2/2tests/qtest: Only run fuzz-virtio-scsi when virtio-scsi is availableMAINTAINERS tests/qtest/fuzz-test.c tests/qtest/fuzz-virtio-scsi-test.c +1 more+77 -511 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichael S. TsirkinThomas Huth
SeriesR-b
1/2R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] tests/qtest: Only run fuzz-tests when tested devices are available

Some tests/qtest/fuzz-test fail when the device tested is not available in the build. Fix this by only running the test when devices are available.

FWIW Alexander Bulekov suggested an improvement, putting each test in a directory named by the device tested. This series does not cover that.

Supersedes: <[email protected]>

Philippe Mathieu-Daudé (2):
tests/qtest: Only run fuzz-megasas-test if megasas device is available tests/qtest: Only run fuzz-virtio-scsi when virtio-scsi is available

 tests/qtest/fuzz-megasas-test.c     | 49 +++++++++++++++++++
 tests/qtest/fuzz-test.c             | 76 -----------------------------
 tests/qtest/fuzz-virtio-scsi-test.c | 75 ++++++++++++++++++++++++++++
 MAINTAINERS                         |  2 +
 tests/qtest/meson.build             |  5 +-
 5 files changed, 130 insertions(+), 77 deletions(-)
 create mode 100644 tests/qtest/fuzz-megasas-test.c
 create mode 100644 tests/qtest/fuzz-virtio-scsi-test.c
Signature · 1 line
2.26.2