[Spice-devel] [PATCH spice-gtk] build-sys: fix make check on win32

Marc-André Lureau marcandre.lureau at gmail.com
Fri Mar 11 18:40:53 UTC 2016


acl-helper test is unix-only.

Signed-off-by: Marc-André Lureau <marcandre.lureau at gmail.com>
---
 tests/Makefile.am | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 24d45c9..ccf14bc 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,16 +3,18 @@ NULL =
 TESTS = coroutine				\
 	util					\
 	session					\
-	usb-acl-helper				\
 	$(NULL)
 
 if WITH_PHODAV
 TESTS += pipe
 endif
 
-noinst_PROGRAMS = $(TESTS) \
-		  mock-acl-helper \
-		  $(NULL)
+noinst_PROGRAMS = $(TESTS)
+
+if !OS_WIN32
+TESTS += usb-acl-helper
+noinst_PROGRAMS += mock-acl-helper
+endif
 
 AM_CPPFLAGS =					\
 	$(COMMON_CFLAGS)			\
-- 
2.5.0



More information about the Spice-devel mailing list