From: Ondřej Surý Date: Tue, 1 Dec 2020 15:08:44 +0000 (+0100) Subject: Disable the new netmgr tests on non-Linux platforms X-Git-Tag: v9.17.8~16^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e5ee16eb60c1aac8d14962cab6ed7a22903bd95;p=thirdparty%2Fbind9.git Disable the new netmgr tests on non-Linux platforms 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. --- diff --git a/lib/isc/tests/tcp_quota_test.c b/lib/isc/tests/tcp_quota_test.c index 849213b6772..0602dea28a9 100644 --- a/lib/isc/tests/tcp_quota_test.c +++ b/lib/isc/tests/tcp_quota_test.c @@ -9,7 +9,7 @@ * information regarding copyright ownership. */ -#if HAVE_CMOCKA +#if HAVE_CMOCKA && defined(__linux__) #include /* IWYU pragma: keep */ #include #include diff --git a/lib/isc/tests/tcp_test.c b/lib/isc/tests/tcp_test.c index a27ab80ebbf..4c4fea0532d 100644 --- a/lib/isc/tests/tcp_test.c +++ b/lib/isc/tests/tcp_test.c @@ -9,7 +9,7 @@ * information regarding copyright ownership. */ -#if HAVE_CMOCKA +#if HAVE_CMOCKA && defined(__linux__) #include /* IWYU pragma: keep */ #include #include diff --git a/lib/isc/tests/tcpdns_test.c b/lib/isc/tests/tcpdns_test.c index 21459645921..c21a7cb73cb 100644 --- a/lib/isc/tests/tcpdns_test.c +++ b/lib/isc/tests/tcpdns_test.c @@ -9,7 +9,7 @@ * information regarding copyright ownership. */ -#if HAVE_CMOCKA +#if HAVE_CMOCKA && defined(__linux__) #include /* IWYU pragma: keep */ #include #include diff --git a/lib/isc/tests/udp_test.c b/lib/isc/tests/udp_test.c index a1a99314e26..b3062cc4655 100644 --- a/lib/isc/tests/udp_test.c +++ b/lib/isc/tests/udp_test.c @@ -9,7 +9,7 @@ * information regarding copyright ownership. */ -#if HAVE_CMOCKA +#if HAVE_CMOCKA && defined(__linux__) #include /* IWYU pragma: keep */ #include #include