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

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

commit f166f6bffba6428587e47f1f3b68cb078dc3e95f
Author: gregor herrmann <gre...@debian.org>
Date:   Mon Aug 10 15:46:13 2015 +0200

    examples/check-build: add stanza for running adt-run
    
    (with schroot and a chroot named/aliased to "default").
---
 examples/check-build | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/examples/check-build b/examples/check-build
index f1e3e1e..ec0d219 100755
--- a/examples/check-build
+++ b/examples/check-build
@@ -82,6 +82,17 @@ if [ "$PIU" = "y" ]; then
 fi
 echo
 
+if grep -q 'Testsuite: autopkgtest' debian/control && [ -x /usr/bin/schroot ] 
&& schroot -l | grep -q default ; then
+       read -n 1 -p "adt-run? y/N " ADT
+       if [ "$ADT" = "y" ]; then
+               ADTLOG="${CHANGES%.changes}_adt-run.log"
+               adt-run --changes $CHANGES --log-file="$ADTLOG" --- schroot 
default | tee "$ADTLOG"
+               # TODO:
+               # since 3.7 we get colours but only without --log-file=. and on 
STDERR.
+       fi
+fi
+echo
+
 PKGVER=$(echo ${PACKAGE}-${VERSION} | perl -pe 's;^(.+)(?:-.+)$;$1;')
 AUTOPATCH=debian/patches/debian-changes-${VERSION}
 DIFFGZ=$BUILDDIR/${PACKAGE}_${VERSION}.diff.gz

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

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to