summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/run-all7
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 ||: )