Re: [PATCH v2 0/2] tests/qtest: Only run fuzz-tests when tested devices are available
On 1/26/21 12:16 PM, Philippe Mathieu-Daudé wrote: > 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. Forgot, since v1: - Do not make the testing generic, keep it restricted to x86 (thuth) > 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.282-1-phi...@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
[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: <20210115150936.282-1-phi...@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