summaryrefslogtreecommitdiff
path: root/tests/enumerate-tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-25 17:21:37 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-26 01:20:44 +0100
commite079e1ff7f807be20888cd4cf8ca527f3e7ab6a0 (patch)
tree377a13f60d139d604703a04571d1be692e7363b4 /tests/enumerate-tests
parent35c89cd28f7089073a4f9aafc1b60d8bdc3aca8a (diff)
test suite: dch: Always use tstunt/debchange
We are going to make this more sophisticated, so use it everywhere to avoid duplication. We need to soup up tstunt/debchange so that it does not depend on DGIT_TEST_REAL_DEBCHANGE. If it hasn't been put on the PATH by t-tstunt, that isn't set, and we can just run debchange from PATH. This makes faketime a test dependency for all the tests which don't have NO-DEFAULT. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/enumerate-tests')
-rwxr-xr-xtests/enumerate-tests6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/enumerate-tests b/tests/enumerate-tests
index 0f37c96..429d46d 100755
--- a/tests/enumerate-tests
+++ b/tests/enumerate-tests
@@ -42,7 +42,7 @@ finish- () {
test-begin-gencontrol () {
restrictions=''
- dependencies='dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, bc'
+ dependencies='dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, bc, faketime'
}
restriction-gencontrol () {
@@ -58,10 +58,10 @@ gencontrol-add-deps () {
dependencies-gencontrol () {
for dep in "$deps"; do
case "$dep" in
- NO-DGIT) dependencies='chiark-utils-bin' ;;
+ NO-DGIT) dependencies='chiark-utils-bin, faketime' ;;
NO-DEFAULT) dependencies='' ;;
GDR) gencontrol-add-deps \
- git-debrebase git-buildpackage faketime
+ git-debrebase git-buildpackage
;;
*) gencontrol-add-deps "$dep" ;;
esac