]> git.proxmox.com Git - mirror_qemu.git/commit
tests/qtest/vhost-user-blk-test: don't abort all qtests on missing envar
authorChristian Schoenebeck <qemu_oss@crudebyte.com>
Fri, 25 Nov 2022 15:58:53 +0000 (16:58 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 15 Dec 2022 14:19:24 +0000 (15:19 +0100)
commit4bf1b66908a21a8271f261fe533e4fe3f416f3e3
tree55ff44811128a89a3c7ad689be7351139b7638ea
parent954a6c4f7862b45617ff3b65609f0f290dcd5077
tests/qtest/vhost-user-blk-test: don't abort all qtests on missing envar

This test requires environment variable QTEST_QEMU_STORAGE_DAEMON_BINARY
to be defined for running. If not, it would immediately abort all qtests
and prevent other, unrelated tests from running.

To fix that, just skip vhost-user-blk-test instead and log a message
about missing environment variable.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <E1oybRD-0005D5-5r@lizzy.crudebyte.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/vhost-user-blk-test.c