]> git.proxmox.com Git - mirror_qemu.git/commit
tests/qtest: arm: fix operation in a build without any boards or devices
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 May 2024 17:00:44 +0000 (19:00 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 May 2024 13:45:15 +0000 (15:45 +0200)
commit6bd92a7c62648eb37053ccc809c3cab7d7629584
tree6a8f134ef44943df74672fe9a6da7061ca1c3f3d
parent1b1badf3c523105d4cf5e6ccf8413d1be1dbadc4
tests/qtest: arm: fix operation in a build without any boards or devices

ARM/aarch64 are easy to fix because they already have to pass a machine
type by hand.  Just guard the tests with a check that the machine actually
exists.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240509170044.190795-14-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/qtest/arm-cpu-features.c
tests/qtest/migration-test.c
tests/qtest/numa-test.c