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

[Libguestfs] [PATCH libnbd 1/5] interop: Don't build various check_PROGRAMS unless we run those tests.



Simple refactoring with no effect.
---
 interop/Makefile.am | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/interop/Makefile.am b/interop/Makefile.am
index 1d2d187..7bb44d9 100644
--- a/interop/Makefile.am
+++ b/interop/Makefile.am
@@ -47,8 +47,6 @@ if HAVE_QEMU_NBD
 
 check_PROGRAMS += \
 	interop-qemu-nbd \
-	interop-qemu-nbd-tls-certs \
-	interop-qemu-nbd-tls-psk \
 	dirty-bitmap \
 	structured-read \
 	$(NULL)
@@ -64,11 +62,17 @@ TESTS += \
 if HAVE_NBDKIT
 if HAVE_GNUTLS
 if HAVE_CERTTOOL
+check_PROGRAMS += \
+	interop-qemu-nbd-tls-certs \
+	$(NULL)
 TESTS += \
 	interop-qemu-nbd-tls-certs \
 	$(NULL)
 endif
 if HAVE_PSKTOOL
+check_PROGRAMS += \
+	interop-qemu-nbd-tls-psk \
+	$(NULL)
 TESTS += \
 	interop-qemu-nbd-tls-psk \
 	$(NULL)
-- 
2.23.0


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