]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Disable the new netmgr tests on non-Linux platforms
authorOndřej Surý <ondrej@sury.org>
Tue, 1 Dec 2020 15:08:44 +0000 (16:08 +0100)
committerOndřej Surý <ondrej@sury.org>
Tue, 1 Dec 2020 16:24:15 +0000 (17:24 +0100)
The new netmgr tests are not-yet fine-tuned for non-Linux platforms.
Disable them now, so we can move forward and fix the tests of *BSD
in the next iteration.

This commit will get reverted when we add support for netmgr
multi-threading.

lib/isc/tests/tcp_quota_test.c
lib/isc/tests/tcp_test.c
lib/isc/tests/tcpdns_test.c
lib/isc/tests/udp_test.c

index 849213b67722066ac967046c531ea24ef9204763..0602dea28a903f934d4d462c2a802ad0969a3e59 100644 (file)
@@ -9,7 +9,7 @@
  * information regarding copyright ownership.
  */
 
-#if HAVE_CMOCKA
+#if HAVE_CMOCKA && defined(__linux__)
 #include <sched.h> /* IWYU pragma: keep */
 #include <setjmp.h>
 #include <stdarg.h>
index a27ab80ebbf7067e87d4ac09d5b3d638b5eb5144..4c4fea0532dfeb07c649c2837a8a4c6252eca51b 100644 (file)
@@ -9,7 +9,7 @@
  * information regarding copyright ownership.
  */
 
-#if HAVE_CMOCKA
+#if HAVE_CMOCKA && defined(__linux__)
 #include <sched.h> /* IWYU pragma: keep */
 #include <setjmp.h>
 #include <stdarg.h>
index 21459645921c2080db9a9eb4da1e2c99f31897e9..c21a7cb73cbe2aad4173c647086ad993f1069dff 100644 (file)
@@ -9,7 +9,7 @@
  * information regarding copyright ownership.
  */
 
-#if HAVE_CMOCKA
+#if HAVE_CMOCKA && defined(__linux__)
 #include <sched.h> /* IWYU pragma: keep */
 #include <setjmp.h>
 #include <stdarg.h>
index a1a99314e26a5f187191f36120b433b5d267f58b..b3062cc4655b19b31b80cb77eb2ff48638c4d84d 100644 (file)
@@ -9,7 +9,7 @@
  * information regarding copyright ownership.
  */
 
-#if HAVE_CMOCKA
+#if HAVE_CMOCKA && defined(__linux__)
 #include <sched.h> /* IWYU pragma: keep */
 #include <setjmp.h>
 #include <stdarg.h>