diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-08-25 17:21:37 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-08-26 01:20:44 +0100 |
commit | e079e1ff7f807be20888cd4cf8ca527f3e7ab6a0 (patch) | |
tree | 377a13f60d139d604703a04571d1be692e7363b4 /tests/enumerate-tests | |
parent | 35c89cd28f7089073a4f9aafc1b60d8bdc3aca8a (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-x | tests/enumerate-tests | 6 |
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 |