tests/qtest: Check for devices and machines before adding tests
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tests/qtest: Add a function that checks whether a device is availabletests/ tests/ | +52 | 1 reply | |
| 2/4 | tests/qtest: Improve endianness-test to work with missing machines and devicestests/ | +4 | 1 reply | |
| 3/4 | tests/qtest/cdrom-test: Check whether devices are available before using themtests/ | +39 | 2 replies | |
| 4/4 | tests/qtest/boot-order-test: Check whether machines are availabletests/ | +5 | 0 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | John Snow | Philippe Mathieu-Daudé |
|---|---|---|
| 1/4 | R-b | |
| 2/4 | ||
| 3/4 | A-b | R-b |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] tests/qtest: Check for devices and machines before adding tests
Devices might not always be compiled into the QEMU target binaries. We already have the libqos framework that is good for handling such situations, but some of the qtests are not a real good fit for the libqos framework. This patch series adds a new function to check whether a device is available in the target binary or not, so that tests can be run or skipped accordingly (also adding some additional checks for the availability of machines in the target binaries).
Thomas Huth (4):
tests/qtest: Add a function that checks whether a device is available tests/qtest: Improve endianness-test to work with missing machines and
devices
tests/qtest/cdrom-test: Check whether devices are available before
using them
tests/qtest/boot-order-test: Check whether machines are available
tests/qtest/boot-order-test.c | 5 +++ tests/qtest/cdrom-test.c | 60 +++++++++++++++++++++++------------ tests/qtest/endianness-test.c | 5 ++- tests/qtest/libqos/libqtest.h | 8 +++++ tests/qtest/libqtest.c | 44 +++++++++++++++++++++++++ 5 files changed, 100 insertions(+), 22 deletions(-)
Signature · 1 line
2.27.0