qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] tests/qtest: Check for devices and machines before adding tests
@ 2021-12-20  8:10 Thomas Huth
  2021-12-20  8:10 ` [PATCH 1/4] tests/qtest: Add a function that checks whether a device is available Thomas Huth
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Thomas Huth @ 2021-12-20  8:10 UTC (permalink / raw)
  To: qemu-devel, Laurent Vivier; +Cc: Paolo Bonzini, Miroslav Rezanina, John Snow

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(-)

-- 
2.27.0



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

end of thread, other threads:[~2022-01-11 22:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-20  8:10 [PATCH 0/4] tests/qtest: Check for devices and machines before adding tests Thomas Huth
2021-12-20  8:10 ` [PATCH 1/4] tests/qtest: Add a function that checks whether a device is available Thomas Huth
2022-01-11 22:18   ` Philippe Mathieu-Daudé
2021-12-20  8:10 ` [PATCH 2/4] tests/qtest: Improve endianness-test to work with missing machines and devices Thomas Huth
2022-01-11 22:20   ` Philippe Mathieu-Daudé
2021-12-20  8:10 ` [PATCH 3/4] tests/qtest/cdrom-test: Check whether devices are available before using them Thomas Huth
2022-01-11 19:53   ` John Snow
2022-01-11 22:21   ` Philippe Mathieu-Daudé
2021-12-20  8:10 ` [PATCH 4/4] tests/qtest/boot-order-test: Check whether machines are available Thomas Huth
2022-01-11 22:23 ` [PATCH 0/4] tests/qtest: Check for devices and machines before adding tests Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).