diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-08-26 11:41:47 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-08-26 11:54:41 +0100 |
commit | a366d4b8c07318c0b87f8a4c901789c38cd8fb35 (patch) | |
tree | cdf7514f0c477f9db80dde2f105f6ab4a1c35ee0 /tests/run-all | |
parent | 8fe6ad4c7d368717a4bfa6e2c6459980d65cf95a (diff) |
test suite: run-all: Move setting of TESTSCRIPTS
NFC
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/run-all')
-rwxr-xr-x | tests/run-all | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/run-all b/tests/run-all index a37b6aa..b188223 100755 --- a/tests/run-all +++ b/tests/run-all @@ -17,10 +17,6 @@ done ncpus=$(nproc || echo 1) jcpus=-j$(( ncpus * 134 / 100 )) -if [ $# != 0 ]; then - set TESTSCRIPTS="$*" -fi - if [ "x$DGIT_TESTS_TMPDIR" != x ]; then tmpdir="$PWD" tmpdir="${tmpdir#/}" @@ -41,6 +37,9 @@ esac mkdir -p -- "$tmpdir" +if [ $# != 0 ]; then + set TESTSCRIPTS="$*" +fi export DGIT_GNUPG_STUNT_ERRLOG=$( tty -s ||: ) |