chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test suite: run-all: Move setting of TESTSCRIPTS
[dgit.git]
/
tests
/
run-all
diff --git
a/tests/run-all
b/tests/run-all
index a37b6aad5b056bb01f7887d4d3a4100bdb089e75..b18822304ae04d6712dfcc57b11d7d4f7ceabfb7 100755
(executable)
--- a/
tests/run-all
+++ b/
tests/run-all
@@
-17,10
+17,6
@@
done
ncpus=$(nproc || echo 1)
jcpus=-j$(( ncpus * 134 / 100 ))
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#/}"
if [ "x$DGIT_TESTS_TMPDIR" != x ]; then
tmpdir="$PWD"
tmpdir="${tmpdir#/}"
@@
-41,6
+37,9
@@
esac
mkdir -p -- "$tmpdir"
mkdir -p -- "$tmpdir"
+if [ $# != 0 ]; then
+ set TESTSCRIPTS="$*"
+fi
export DGIT_GNUPG_STUNT_ERRLOG=$( tty -s ||: )
export DGIT_GNUPG_STUNT_ERRLOG=$( tty -s ||: )