[DRE-commits] [pkg-ruby-extras] 01/03: build-and-upload: assume adt-run results with skipped tests are OK

Antonio Terceiro terceiro at moszumanska.debian.org
Sat May 28 21:12:36 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 7ee293eacc1b6d9553ca0df175de493f777190d2
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Apr 12 11:41:00 2016 -0300

    build-and-upload: assume adt-run results with skipped tests are OK
---
 build-and-upload | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-and-upload b/build-and-upload
index bc0b6ec..1cf8bae 100755
--- a/build-and-upload
+++ b/build-and-upload
@@ -81,7 +81,7 @@ check_package() {
       adt_dist=${adt_dist%%-backports}
       rc=0
       adt-run --user debci --apt-upgrade --shell-fail "$changes" --- lxc --sudo adt-"$adt_dist"-"$arch" || rc=$?
-      if [ $rc -ne 0 ]; then
+      if [ $rc -ne 0 -a $rc -ne 2 ]; then
         warning "Test suite failed! Please verify before uploading"
       fi
     else

-- 
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