mbox series

[for-7.0,0/4] qtest patches for binaries with reduced machines

Message ID 20211201104347.51922-1-thuth@redhat.com (mailing list archive)
Headers show
Series qtest patches for binaries with reduced machines | expand

Message

Thomas Huth Dec. 1, 2021, 10:43 a.m. UTC
First patch extends the ppc64 tests as we used them before the
conversion to meson.

The other patches improve the usage of the qtests with target
binaries that have a reduced set of machines (since this is
possible now e.g. by using the --with-devices-<arch>=... config
switch).

Thomas Huth (4):
  tests/qtest: Run the PPC 32-bit tests with the 64-bit target binary,
    too
  tests/qtest: Fence the tests that need xlnx-zcu102 with
    CONFIG_XLNX_ZYNQMP_ARM
  tests/qtest: Add a function that gets a list with available machine
    types
  tests/qtest: Add a function to check whether a machine is available

 tests/qtest/boot-serial-test.c |  3 +-
 tests/qtest/cdrom-test.c       |  8 ++--
 tests/qtest/libqos/libqtest.h  |  8 ++++
 tests/qtest/libqtest.c         | 79 +++++++++++++++++++++++++++++-----
 tests/qtest/meson.build        |  4 +-
 tests/qtest/prom-env-test.c    |  8 ++--
 6 files changed, 91 insertions(+), 19 deletions(-)