[Spice-devel] [PATCH spice-server v4 17/20] tests: Exclude tests that cannot work on Windows

Frediano Ziglio fziglio at redhat.com
Wed Feb 6 13:58:53 UTC 2019


test-stream test is passing file descriptor using Unix socket.
test-stat-file needs some porting work of mmap feature.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
 server/tests/Makefile.am | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am
index 7668739f..c50826e6 100644
--- a/server/tests/Makefile.am
+++ b/server/tests/Makefile.am
@@ -53,11 +53,9 @@ check_PROGRAMS =				\
 	test-codecs-parsing			\
 	test-options				\
 	test-stat				\
-	test-stream				\
 	test-agent-msg-filter			\
 	test-loop				\
 	test-qxl-parsing			\
-	test-stat-file				\
 	test-leaks				\
 	test-vdagent				\
 	test-fail-on-null-core-interface	\
@@ -68,6 +66,13 @@ check_PROGRAMS =				\
 	test-record				\
 	$(NULL)
 
+if !OS_WIN32
+check_PROGRAMS +=				\
+	test-stream				\
+	test-stat-file				\
+	$(NULL)
+endif
+
 noinst_PROGRAMS =				\
 	test-display-no-ssl			\
 	test-display-streaming			\
-- 
2.20.1



More information about the Spice-devel mailing list