[rt46602] Ensure that tests running in parallel use unique ports

Via an intermediate make file, tests that have been modified to be able
to run in parallel are assigned unique query and control port numbers
(other than 5300 and 9953 respectively).  Tests that have not yet been
modified all use ports 5300 and 9953, so must be run sequentially.
This commit is contained in:
Stephen Morris
2017-11-17 13:21:05 +00:00
parent e1a69e5d1f
commit e7429b124b
4 changed files with 72 additions and 17 deletions

View File

@@ -9,6 +9,10 @@
#
# Run all the system tests.
#
# 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.
#
SYSTEMTESTTOP=.
. $SYSTEMTESTTOP/conf.sh
@@ -16,7 +20,7 @@ SYSTEMTESTTOP=.
status=0
{
for d in $SUBDIRS
for d in $SEQUENTIALDIRS
do
$SHELL run.sh "${@}" $d || status=1
done