The 'virsh-auth' test is mistakenly conditionalized on the libvirtd
daemon build, however, it just uses the 'test:///default' driver
URI, so does not require a daemon.

Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
---
 tests/meson.build | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/tests/meson.build b/tests/meson.build
index 76c05b9fed..bb244d6c61 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -711,6 +711,12 @@ endforeach
 #   list of test scripts to run
 test_scripts = []
 
+if conf.has('WITH_TEST')
+  test_scripts += [
+      { 'name': 'virsh-auth', 'depends': [virsh_prog] }
+  ]
+endif
+
 if conf.has('WITH_LIBVIRTD')
   test('libvirtd fail with missing config',
     libvirtd_prog,
@@ -719,10 +725,6 @@ if conf.has('WITH_LIBVIRTD')
     suite: 'bin',
   )
 
-  test_scripts += [
-      { 'name': 'virsh-auth', 'depends': [virsh_prog] }
-  ]
-
   if conf.has('WITH_SECDRIVER_APPARMOR')
     test_scripts += { 'name': 'virt-aa-helper-test' }
   endif
-- 
2.43.0
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-le...@lists.libvirt.org

Reply via email to