commit a7234c57290f1a179da3c1dc7717102341a69db3
parent 0a6b28ff216b1add5f8cd6b1a6070dadc3fbe19e
Author: Evgeny Grin <k2k@drgrin.dev>
Date: Sat, 3 May 2025 21:02:03 +0300
Disabled some tests when they are unsupported
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -2119,6 +2119,8 @@ AS_IF([[test "x$enable_thread_names" = "xno"]],
[AC_DEFINE([[MHD_NO_THREAD_NAMES]], [[1]], [Define to 1 to disable setting name on generated threads])])
AM_CONDITIONAL(HAVE_W32, [test "x$os_is_native_w32" = "xyes"])
+AM_CONDITIONAL(MHD_SOCKETS_KIND_POSIX, [test "x$os_is_native_w32" != "xyes"])
+AM_CONDITIONAL(MHD_SOCKETS_KIND_WINSOCK, [test "x$os_is_native_w32" = "xyes"])
w32_shared_lib_exp=no
AS_IF([test "x$enable_shared" = "xyes" && test "x$os_is_native_w32" = "xyes"],
[
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
@@ -7,7 +7,9 @@ SUBDIRS += upgrade
endif
if RUN_LIBCURL_TESTS
+if MHD_SOCKETS_KIND_POSIX
SUBDIRS += client_server
endif
+endif
.NOTPARALLEL: