This is filtered out of debian/tests/control, but honoured in-tree.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
}
restriction-gencontrol () {
+ if [ $r = x-dgit-out-of-tree-only ]; then return; fi
restrictions+=" $r"
}
return 1
}
+t-restriction-x-dgit-out-of-tree-only () {
+ if [ "x$DGIT_TEST_INTREE" = x ]; then return 0; fi
+ echo 'running out of development tree'
+ return 1
+}
+
t-restriction-x-dgit-git-only () {
if test -d .git; then return 0; fi
echo 'not running out of git clone'