From b270f2ec21b67f5728edae4b2ddf6fe17a0fd25a Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 27 Mar 2018 14:26:43 +0900 Subject: tests: Exclude tests for Windows build. * tests/Makefile.am [HAVE_W32_SYSTEM] (TESTS, testtools): Fix. -- pipeconnect and socks5 should be changed if we run it on Windows. If so, pipeconnect should use _open_osfhandle to get HANDLE for pipe. Signed-off-by: NIIBE Yutaka --- tests/Makefile.am | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index c9044a4..7712a89 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -25,14 +25,19 @@ EXTRA_DIST = motd ce-createpipe.c BUILT_SOURCES = CLEANFILES = -testtools = socks5 - -TESTS = version pipeconnect +TESTS = version if HAVE_W32CE_SYSTEM w32cetools = ce-createpipe ce-server endif +if HAVE_W32_SYSTEM +testtools = +else +TESTS += pipeconnect +testtools = socks5 +endif + if USE_DESCRIPTOR_PASSING TESTS += fdpassing endif -- cgit v1.2.1