summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib b/tests/lib
index 0133987..cccdc35 100644
--- a/tests/lib
+++ b/tests/lib
@@ -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##*/}}"