tests/qtest: Do not run lsi53c895a test if device is not present
authorFabiano Rosas <farosas@suse.de>
Wed, 8 Feb 2023 19:46:50 +0000 (16:46 -0300)
committerThomas Huth <thuth@redhat.com>
Tue, 14 Feb 2023 08:11:27 +0000 (09:11 +0100)
commitdee66bc9691a0d5e8337c24b5cf303f46293df76
tree3c3edf131957dd324e0bcc6221fe3562571858d6
parent8f75703462e389b55755b98c250b5aa62685c0d3
tests/qtest: Do not run lsi53c895a test if device is not present

The tests are built once for all the targets, so as long as one QEMU
binary is built with CONFIG_LSI_SCSI_PCI=y, this test will
run. However some binaries might not include the device. So check this
again in runtime.

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