chiark / gitweb /
New script tests/using-intree for running tests on the source tree.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 19 Jan 2014 15:03:40 +0000 (15:03 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 5 Mar 2014 18:29:03 +0000 (18:29 +0000)
debian/changelog
tests/using-intree [new file with mode: 0755]

index 20acb79..75fb81e 100644 (file)
@@ -7,6 +7,7 @@ dgit (0.22~experimental1) experimental; urgency=low
   * dgit-repos-server: WIP
   * Switch to using dgit@git.debian.org (and dgit-repos-server) by
     default.
+  * New script tests/using-intree for running tests on the source tree.
 
  --
 
diff --git a/tests/using-intree b/tests/using-intree
new file mode 100755 (executable)
index 0000000..70d84e1
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+set -e
+tree=`pwd`
+export DGIT_TEST="$tree/dgit"
+export DGIT_REPOS_SERVER_TEST="$tree/dgit-repos-server"
+exec "$@"