|
@@ -276,8 +276,11 @@ foreach dir : target_dirs
|
|
|
endif
|
|
|
qtest_env.set('G_TEST_DBUS_DAEMON', meson.source_root() / 'tests/dbus-vmstate-daemon.sh')
|
|
|
qtest_env.set('QTEST_QEMU_BINARY', './qemu-system-' + target_base)
|
|
|
- qtest_env.set('QTEST_QEMU_STORAGE_DAEMON_BINARY', './storage-daemon/qemu-storage-daemon')
|
|
|
-
|
|
|
+ if have_tools and have_vhost_user_blk_server
|
|
|
+ qtest_env.set('QTEST_QEMU_STORAGE_DAEMON_BINARY', './storage-daemon/qemu-storage-daemon')
|
|
|
+ test_deps += [qsd]
|
|
|
+ endif
|
|
|
+
|
|
|
foreach test : target_qtests
|
|
|
# Executables are shared across targets, declare them only the first time we
|
|
|
# encounter them
|