tests/qtest: Skip PXE tests for missing devices
commit8f75703462e389b55755b98c250b5aa62685c0d3
authorFabiano Rosas <farosas@suse.de>
Wed, 8 Feb 2023 19:46:49 +0000 (8 16:46 -0300)
committerThomas Huth <thuth@redhat.com>
Tue, 14 Feb 2023 08:11:27 +0000 (14 09:11 +0100)
tree13d2227f29d6ab37a5decc28c159178ecf41453d
parent5feed38c2139a2cea46b4b540303ef255d4cafc7
tests/qtest: Skip PXE tests for missing devices

Check if the devices we're trying to add are present in the QEMU
binary. They could have been removed from the build via Kconfig or the
--without-default-devices option.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Message-Id: <20230208194700.11035-2-farosas@suse.de>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/pxe-test.c