diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-11-05 21:23:14 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-11-08 22:22:20 +0000 |
commit | 40811280f014d238452e24619c946ecde6ec2c5a (patch) | |
tree | 0599e7565633cb83f99f1e9509ebc50800814981 /tests/lib | |
parent | 6818e4c5450f8373142af7b739739c85ad63dc21 (diff) |
tests: Honour DGIT_TEST_INTREE
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3,6 +3,12 @@ exec 2>&1 set -x +if [ "x$DGIT_TEST_INTREE" != x ]; then + : ${DGIT_TEST:=$DGIT_TEST_INTREE/dgit} + : ${DGIT_REPOS_SERVER_TEST:=$DGIT_TEST_INTREE/dgit-repos-server} + export DGIT_TEST DGIT_REPOS_SERVER_TEST +fi + root=`pwd` troot=$root/tests testname="${DGIT_TEST_TESTNAME-${0##*/}}" |