All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] tests/qtest: Only run fuzz-tests when tested devices are available
@ 2021-01-26 11:16 Philippe Mathieu-Daudé
  2021-01-26 11:16 ` [PATCH v2 1/2] tests/qtest: Only run fuzz-megasas-test if megasas device is available Philippe Mathieu-Daudé
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-26 11:16 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Laurent Vivier, Hannes Reinecke, qemu-block,
	Thomas Huth, Paolo Bonzini, Philippe Mathieu-Daudé

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: <20210115150936.3333282-1-philmd@redhat.com>

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

-- 
2.26.2




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-01-26 18:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-26 11:16 [PATCH v2 0/2] tests/qtest: Only run fuzz-tests when tested devices are available Philippe Mathieu-Daudé
2021-01-26 11:16 ` [PATCH v2 1/2] tests/qtest: Only run fuzz-megasas-test if megasas device is available Philippe Mathieu-Daudé
2021-01-26 17:51   ` Thomas Huth
2021-01-26 18:01     ` Alexander Bulekov
2021-01-26 18:12       ` Thomas Huth
2021-01-26 11:16 ` [PATCH v2 2/2] tests/qtest: Only run fuzz-virtio-scsi when virtio-scsi " Philippe Mathieu-Daudé
2021-01-26 17:52   ` Thomas Huth
2021-01-26 11:20 ` [PATCH v2 0/2] tests/qtest: Only run fuzz-tests when tested devices are available Philippe Mathieu-Daudé
2021-01-26 11:28 ` [PATCH v2 3/2] MAINTAINERS: Cover fuzzer reproducer tests within 'Device Fuzzing' Philippe Mathieu-Daudé
2021-01-26 17:56   ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.