chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70509cc
)
test suite: enumerate-tests: Spot t-alt-test
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 10 Aug 2019 22:54:44 +0000
(23:54 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 10 Aug 2019 22:54:44 +0000
(23:54 +0100)
And find the dependencies of the referred-to test. No functional
change since currently no chained-to test has any nonstandard
dependencies.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/enumerate-tests
patch
|
blob
|
history
diff --git
a/tests/enumerate-tests
b/tests/enumerate-tests
index f46c598dacdea88ec9a846949c04dc8f09b8524a..680236e68cdd3652977bd63a9094aef35544fd65 100755
(executable)
--- a/
tests/enumerate-tests
+++ b/
tests/enumerate-tests
@@
-141,6
+141,10
@@
allsedderies () {
for import in $(seddery 's/^t-setup-import //p'); do
allsedderies tests/setup/$import
done
+ if egrep -q '^t-alt-test *$' <$tf; then
+ local leaf=${tf#tests/tests/}
+ allsedderies tests/tests/"${leaf#*-}"
+ fi
}
for t in $(run-parts --list tests/tests); do