[PATCH 08/12] test: conditionalize 'virsh-auth' on test driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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é <berrange@xxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux