From: Ian Jackson Date: Sun, 26 Aug 2018 10:41:47 +0000 (+0100) Subject: test suite: run-all: Move setting of TESTSCRIPTS X-Git-Tag: archive/debian/6.10~15 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;ds=sidebyside;h=a366d4b8c07318c0b87f8a4c901789c38cd8fb35;p=dgit.git test suite: run-all: Move setting of TESTSCRIPTS NFC Signed-off-by: Ian Jackson --- diff --git a/tests/run-all b/tests/run-all index a37b6aad..b1882230 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 ||: )