[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] tests/qtest: Only run fuzz-tests when tested devices are
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 0/2] tests/qtest: Only run fuzz-tests when tested devices are available |
Date: |
Tue, 26 Jan 2021 12:16:36 +0100 |
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