tests/functional/test_acpi_bits: Turn the test into a QemuSystemTest
authorThomas Huth <thuth@redhat.com>
Thu, 28 Nov 2024 11:50:19 +0000 (12:50 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 2 Dec 2024 13:52:39 +0000 (14:52 +0100)
commitfe455260b0b0af61ad023c18d2da676cbc9e1b42
treee578bf44802f4d7c8656aee53519ea7195244d9c
parent72b88908d12ee9347d13539c7dd9a252625158d1
tests/functional/test_acpi_bits: Turn the test into a QemuSystemTest

By using QemuSystemTest as a base class, we can use the set_machine()
command to check whether the required machine is available in the
binary (otherwise this test is failing when QEMU has been compiled
without the default 'pc' machine type).

Message-ID: <20241128115019.591362-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/functional/test_acpi_bits.py