diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-06-17 16:37:33 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-06-17 22:43:45 +0100 |
commit | 13c1ffa10ca71511f1419372f07ef8c180b5aea4 (patch) | |
tree | 67cf178cf51d121c317deb0b599fbbb9f871ffa3 /tests | |
parent | 93c90551df21fc7df60ade835e29bdbe91f65744 (diff) |
test suite: git-debrebase: Do some tests without dgit installed
We provide a new psuedo-dependency NO-DGIT which throws away the usual
default dependency list.
We abolish NO-DEFAULT which could not be useful because the tests
pretty much all depend on setup/gnupg which (currently, as a
workaround for the gnupg2 races) requires chiark-utils-bin for
with-lock-ex.
There are two tests which don't actually need any interaction with the
archive. Mark them accordingly.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/enumerate-tests | 2 | ||||
-rwxr-xr-x | tests/tests/gdr-newupstream-v0 | 2 | ||||
-rwxr-xr-x | tests/tests/gdr-viagit | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/enumerate-tests b/tests/enumerate-tests index bf86d66..5a4d235 100755 --- a/tests/enumerate-tests +++ b/tests/enumerate-tests @@ -58,7 +58,7 @@ gencontrol-add-deps () { dependencies-gencontrol () { for dep in "$deps"; do case "$dep" in - NO-DEFAULT) dependencies='' ;; + NO-DGIT) dependencies='chiark-utils-bin' ;; GDR) gencontrol-add-deps \ git-debrebase git-buildpackage faketime ;; diff --git a/tests/tests/gdr-newupstream-v0 b/tests/tests/gdr-newupstream-v0 index 5ee8da9..e866edc 100755 --- a/tests/tests/gdr-newupstream-v0 +++ b/tests/tests/gdr-newupstream-v0 @@ -2,7 +2,7 @@ set -e . tests/lib -t-dependencies GDR +t-dependencies NO-DGIT GDR t-setup-import gdr-convert-gbp-noarchive diff --git a/tests/tests/gdr-viagit b/tests/tests/gdr-viagit index ef481b6..644d2d4 100755 --- a/tests/tests/gdr-viagit +++ b/tests/tests/gdr-viagit @@ -2,7 +2,7 @@ set -e . tests/lib -t-dependencies GDR +t-dependencies NO-DGIT GDR t-setup-import gdr-convert-gbp-noarchive |