chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test suite: Provide DGIT_TEST_BYHAND if appropriate
[dgit.git]
/
tests
/
lib
diff --git
a/tests/lib
b/tests/lib
index bd06d20d21cc7364ce1e056777e5fd03e35b4b29..bad47c90de92c9549a300b8e2aa23e04cf91a476 100644
(file)
--- a/
tests/lib
+++ b/
tests/lib
@@
-41,6
+41,7
@@
export DGIT_TEST_TROOT=$troot
tmp=$ADTTMP
if [ x"$tmp" = x ]; then
tmp=$ADTTMP
if [ x"$tmp" = x ]; then
+ export DGIT_TEST_BYHAND=1
mkdir -p tests/tmp
tmpbase=$troot/tmp
tmp=tests/tmp/$testname
mkdir -p tests/tmp
tmpbase=$troot/tmp
tmp=tests/tmp/$testname
@@
-1134,7
+1135,11
@@
t-alt-test () {
t-git-config dgit.default.old-dsc-distro test-dummy
t-git-config dgit.default.old-dsc-distro test-dummy
-case "$0" in
-*/gnupg) ;;
-*) t-setup-import gnupg ;;
-esac
+for import in ${autoimport-gnupg}; do
+ case "$0" in
+ */$import) ;;
+ *)
+ t-setup-import $import
+ ;;
+ esac
+done