]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Drop support for sequential system tests
authorMichal Nowak <mnowak@isc.org>
Wed, 26 Jan 2022 12:49:32 +0000 (13:49 +0100)
committerMichal Nowak <mnowak@isc.org>
Thu, 27 Jan 2022 14:32:28 +0000 (15:32 +0100)
System test used to have sequential system tests, which can't run in
parallel with the rest of system tests. As there are no such tests
anymore the underlying infrastructure can be dropped.

bin/tests/system/README
bin/tests/system/conf.sh.common
bin/tests/system/conf.sh.in
bin/tests/system/runsequential.sh [deleted file]

index 6b0e789ff2d6a5eeb9899cd6d0883394e5e75a31..8db1a058482dd28080bac5b15d6c78f6b3c5eb8b 100644 (file)
@@ -598,13 +598,10 @@ Adding a Test to the System Test Suite
 ---
 Once a test has been created, the following files should be edited:
 
-* conf.sh.in  The name of the test should be added to the PARALLELDIRS or
-SEQUENTIALDIRS variables as appropriate.  The former is used for tests that
-can run in parallel with other tests, the latter for tests that are unable to
-do so.
+* conf.sh.common The name of the test should be added to the PARALLEL_COMMON
+variable.
 
-* Makefile.in The name of the test should be added to one of the the PARALLEL
-or SEQUENTIAL variables.
+* Makefile.am The name of the test should be added to the TESTS variable.
 
 (It is likely that a future iteration of the system test suite will remove the
 need to edit multiple files to add a test.)
index 4f6066e468b6a19f0348526eb035825850eba85b..10a252c83766978b6d088e73b636ac59d8dcbc75 100644 (file)
@@ -31,13 +31,6 @@ export LANG=C
 # The "dialup", "delzone", and "dupsigs" tests are also not run by
 # default because they take a very long time to complete.
 #
-# The following tests are hard-coded to use ports 5300 and 9953. For
-# this reason, these must be run sequentially.
-#
-# Sequential tests that only run on unix/linux should be added to
-# SEQUENTIAL_UNIX in conf.sh.in
-#
-SEQUENTIAL_COMMON=""
 
 #
 # These tests can use ports assigned by the caller (other than 5300
index df364b562fc7e1aeda6cf60a7fdbb4c77e2d0d3a..817f1b976a28090e858884bc4dea1a881728f56c 100644 (file)
@@ -73,8 +73,6 @@ KRB5_KTNAME=dns.keytab
 #
 # Construct the lists of tests to run
 #
-SEQUENTIAL_UNIX=""
-SEQUENTIALDIRS="$SEQUENTIAL_COMMON $SEQUENTIAL_UNIX"
 
 PARALLEL_UNIX="chain
 checkds
@@ -93,9 +91,7 @@ pipelined
 qmin
 shutdown
 tcp"
-PARALLELDIRS="$PARALLEL_COMMON $PARALLEL_UNIX"
-
-SUBDIRS="$SEQUENTIALDIRS $PARALLELDIRS"
+SUBDIRS="$PARALLEL_COMMON $PARALLEL_UNIX"
 
 # Use the CONFIG_SHELL detected by configure for tests
 SHELL=@SHELL@
diff --git a/bin/tests/system/runsequential.sh b/bin/tests/system/runsequential.sh
deleted file mode 100755 (executable)
index b3c4b00..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-#
-# SPDX-License-Identifier: MPL-2.0
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0.  If a copy of the MPL was not distributed with this
-# file, you can obtain one at https://mozilla.org/MPL/2.0/.
-#
-# See the COPYRIGHT file distributed with this work for additional
-# information regarding copyright ownership.
-
-# Run system tests that must be run sequentially
-#
-# Note: Use "make check" to run all the system tests.  This script will just
-# run those tests that require that each of their nameservers is the only one
-# running on an IP address.
-#
-
-. ./conf.sh
-
-for d in $SEQUENTIALDIRS
-do
-    $SHELL run.sh "${@}" "$d" 2>&1 | tee "test.output.$d"
-done