diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2018-03-27 14:26:43 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2018-03-27 14:26:43 +0900 |
commit | b270f2ec21b67f5728edae4b2ddf6fe17a0fd25a (patch) | |
tree | c5daac97fe81cf8b88a9da0b87ee35a6127eb999 | |
parent | 6c736325c028647dc3283bf723e2e28199e7f45b (diff) | |
download | libassuan-b270f2ec21b67f5728edae4b2ddf6fe17a0fd25a.tar.gz |
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 <gniibe@fsij.org>
-rw-r--r-- | tests/Makefile.am | 11 |
1 files 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 |