Merge branch 'tidy-runall.sh-environment-variables' into 'master'

Tidy runall.sh environment variables

See merge request isc-projects/bind9!18
This commit is contained in:
Evan Hunt
2018-02-24 15:43:22 -05:00
5 changed files with 36 additions and 16 deletions

View File

@@ -129,7 +129,10 @@ Running All The System Tests
---
To run all the system tests, enter the command:
sh runall.sh [-n] [numproc]
sh runall.sh [-c] [-n] [numproc]
The optional flag "-c" forces colored output (by default system test output is
not printed in color due to run.sh being piped through "tee").
The optional flag "-n" has the same effect as it does for "run.sh" - it causes
the retention of all output files from all tests.
@@ -153,11 +156,13 @@ A run of all the system tests can also be initiated via make:
make [-j numproc] test
In this case, retention of the output files after a test completes successfully
is specified by setting the environment variable NOCLEAN to "-n" prior to
running make, e.g.
is specified by setting the environment variable SYSTEMTEST_NO_CLEAN to 1 prior
to running make, e.g.
NOCLEAN=-n make [-j numproc] test
SYSTEMTEST_NO_CLEAN=1 make [-j numproc] test
while setting environment variable SYSTEMTEST_FORCE_COLOR to 1 forces system
test output to be printed in color.
Running Multiple System Test Suites Simultaneously
@@ -714,7 +719,7 @@ the ports are assigned when the tests are run. This is achieved by having the
when "make check" is run, and contains a target for each test of the form:
<test-name>:
@$(SHELL) run.sh $$NOCLEAN -r -p <baseport> <test-name>
@$(SHELL) run.sh -r -p <baseport> <test-name>
The <baseport> is unique and the values of <baseport> for each test are
separated by at least 100 ports.