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

Thomas Huth posted 4 patches 2 years, 4 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20211201104347.51922-1-thuth@redhat.com
Maintainers: Laurent Vivier <lvivier@redhat.com>, Thomas Huth <thuth@redhat.com>, John Snow <jsnow@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
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(-)
[PATCH for-7.0 0/4] qtest patches for binaries with reduced machines
Posted by Thomas Huth 2 years, 4 months ago
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(-)

-- 
2.27.0