]> git.ipfire.org Git - thirdparty/bind9.git/commit
Allow forcing colored system test output
authorMichał Kępień <michal@isc.org>
Wed, 21 Feb 2018 13:59:35 +0000 (14:59 +0100)
committerEvan Hunt <each@isc.org>
Sun, 25 Feb 2018 09:06:40 +0000 (01:06 -0800)
commit2f3b3b7affb7754a63ce3a7ca235f685da52fbde
treeb6e6b01e357bb48071662bd37618a00dccd31b93
parent0e3840e4b4f883fefec42b4b2d369aefd36036f4
Allow forcing colored system test output

As parallel.mk and runsequential.sh both pipe system test output through
"tee" (for the purpose of creating test.output), run.sh invoked from
these two files detects it is not writing to a terminal, which prevents
colored output from being generated.  Allow forcing colored output using
a new command line argument for runall.sh, "-c", which sets an
environment variable (SYSTEMTEST_FORCE_COLOR) causing conf.sh to
unconditionally enable colored output.

The same environment variable can also be used directly to force colored
output when using "make test" instead of runall.sh.

(cherry picked from commit a324031a82a2b312d8f803040dd81eadb554785f)
(cherry picked from commit cbebf7ef5995c7214b63340fd8ac7ef03f8b53d7)
bin/tests/system/README
bin/tests/system/conf.sh.in
bin/tests/system/runall.sh