[pkg-perl-tools] 02/02: check-build: warn the user if autopkgtest failed.

Intrigeri intrigeri at moszumanska.debian.org
Mon Aug 10 19:43:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch master
in repository pkg-perl-tools.

commit 855a1eedf2e86828c2abd6f7e3d52df8d1156513
Author: intrigeri <intrigeri at boum.org>
Date:   Mon Aug 10 15:55:48 2015 +0000

    check-build: warn the user if autopkgtest failed.
    
    When the last test succeeds, it's very easy to not realize that a previous one
    failed. Let's help the user (e.g. me).
---
 examples/check-build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/examples/check-build b/examples/check-build
index 504d75f..d0c3cd5 100755
--- a/examples/check-build
+++ b/examples/check-build
@@ -97,7 +97,8 @@ if grep -q 'Testsuite: autopkgtest' debian/control; then
 		fi
 		if [ -n "$ADT_VIRT_SERVER" ]; then
 			adt-run --changes $CHANGES --log-file="$ADTLOG" --- \
-				$ADT_VIRT_SERVER $ADT_VIRT_SERVER_ARGS
+				$ADT_VIRT_SERVER $ADT_VIRT_SERVER_ARGS      \
+			|| echo "W: autopkgtest failed"
 			exec 0</dev/tty
 		else
 			echo "W: Could find no adt-run virtualization server."

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git



More information about the Pkg-perl-cvs-commits mailing list