diff options
author | Thomas Huth <thuth@redhat.com> | 2023-01-30 11:44:43 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-01-31 09:05:26 +0100 |
commit | f2e57851b831922625f9d364d78c11a0258331a6 (patch) | |
tree | 2a5e2083bbeac4e653cb006e2f349e860d95fa9f /tests/data/acpi/pc/DSDT.acpierst | |
parent | 7c4f71506f785da0eb4eae98753fe689f4bab351 (diff) |
tests/qtest/display-vga-test: Add proper checks if a device is available
display-vga-test currently tries to guess the usable VGA devices
according to the target architecture that is used for the test.
This of course does not work if QEMU has been built with the
"--without-default-devices" configure switch. To fix this, use the
qtest_has_device() function for the decision instead. This way
we can also consolidate most of the test functions into one single
function (that takes a parameter with the device name now), except
for the multihead test that tries to instantiate two devices and
thus is a little bit different.
Message-Id: <20230130104446.1286773-4-thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/data/acpi/pc/DSDT.acpierst')
0 files changed, 0 insertions, 0 deletions