]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
reorder system tests to shorten runtime
authorEvan Hunt <each@isc.org>
Sat, 20 Jun 2020 22:39:43 +0000 (15:39 -0700)
committerOndřej Surý <ondrej@isc.org>
Mon, 22 Jun 2020 12:05:32 +0000 (12:05 +0000)
if tests that take a particularly long time to complete
(serve-stale, dnssec, rpzrecurse) are run first, a parallel
run of the system tests can finish 1-2 minutes faster.

bin/tests/system/Makefile.am

index 9c812ad8cfb97f36c747d6e46465a9f5d6bc3005..3abe7a4738f0cceedf80e1919ba7d21a96e347e8 100644 (file)
@@ -64,7 +64,19 @@ tkey_keydelete_LDADD =               \
        $(LDADD)                \
        $(LIBDNS_LIBS)
 
-TESTS =                        \
+TESTS =
+
+if HAVE_PERLMOD_TIME_HIRES
+TESTS += serve-stale
+endif HAVE_PERLMOD_TIME_HIRES
+
+if HAVE_PERLMOD_NET_DNS
+TESTS +=               \
+       dnssec          \
+       rpzrecurse
+endif HAVE_PERLMOD_NET_DNS
+
+TESTS +=                       \
        acl                     \
        additional              \
        addzone                 \
@@ -158,13 +170,11 @@ if HAVE_PERLMOD_NET_DNS
 
 TESTS +=               \
        digdelv         \
-       dnssec          \
        fetchlimit      \
        forward         \
        ixfr            \
        nsupdate        \
        resolver        \
-       rpzrecurse      \
        statistics      \
        upforwd         \
        zero
@@ -181,10 +191,6 @@ if HAVE_PERLMOD_DIGEST_HMAC
 TESTS += xfer
 endif HAVE_PERLMOD_DIGEST_HMAC
 
-if HAVE_PERLMOD_TIME_HIRES
-TESTS += serve-stale
-endif HAVE_PERLMOD_TIME_HIRES
-
 if HAVE_PERLMOD_NET_DNS_NAMESERVER
 TESTS += reclimit
 endif HAVE_PERLMOD_NET_DNS_NAMESERVER