[DRE-commits] [pkg-ruby-extras] 01/01: build-and-upload: skip reverse dependencies with no tests
Antonio Terceiro
terceiro at moszumanska.debian.org
Tue Jul 19 12:28:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository pkg-ruby-extras.
commit 507dc38c1a538b58cac9fe0a5b62c36a50b66291
Author: Antonio Terceiro <terceiro at debian.org>
Date: Tue Jul 19 09:28:12 2016 -0300
build-and-upload: skip reverse dependencies with no tests
---
build-and-upload | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/build-and-upload b/build-and-upload
index 66ccabe..d4bae44 100755
--- a/build-and-upload
+++ b/build-and-upload
@@ -110,12 +110,16 @@ EOF
echo "I: found reverse dependencies:"
echo "$rdeps"
for pkg in $rdeps; do
- if confirm "Test ${pkg}? [Y/n] " y; then
- local rc=0
- adt-run --user debci --apt-upgrade $debs "$pkg" --- lxc --sudo adt-sid-"$arch" || rc=$?
- if [ $rc -ne 0 -a $rc -ne 2 -a $rc -ne 8 ]; then
- failed_rdeps="$failed_rdeps $pkg"
+ if chdist apt-cache unstable showsrc "$pkg" | grep -q ^Testsuite:; then
+ if confirm "Test ${pkg}? [Y/n] " y; then
+ local rc=0
+ adt-run --user debci --apt-upgrade $debs "$pkg" --- lxc --sudo adt-sid-"$arch" || rc=$?
+ if [ $rc -ne 0 -a $rc -ne 2 -a $rc -ne 8 ]; then
+ failed_rdeps="$failed_rdeps $pkg"
+ fi
fi
+ else
+ echo "I: ${pkg} does not declare a DEP-8 test suite. Maybe try a manual test"
fi
done
for pkg in $failed_rdeps; do
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/pkg-ruby-extras.git
More information about the Pkg-ruby-extras-commits
mailing list