[pkg-perl-tools] 02/04: examples/check-build: also offer to run autopkgtest when debian/tests/control is around.

gregor herrmann gregoa at debian.org
Fri Sep 29 16:04:23 UTC 2017


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 5917f1fca34bbcd394f3309656a9add821bbf8e9
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Sep 29 17:47:01 2017 +0200

    examples/check-build: also offer to run autopkgtest when debian/tests/control is around.
---
 examples/check-build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/check-build b/examples/check-build
index c0b7272..f01bdc5 100755
--- a/examples/check-build
+++ b/examples/check-build
@@ -105,7 +105,7 @@ if [ "$REPRO" = "y" ]; then
 fi
 echo
 
-if grep -q 'Testsuite: autopkgtest' debian/control; then
+if grep -q 'Testsuite: autopkgtest' debian/control || [ -f debian/tests/control ]; then
 	read -n 1 -p "autopkgtest? y/N " AUTOPKGTEST
 	if [ "$AUTOPKGTEST" = "y" ]; then
 		AUTOPKGTESTLOG="${CHANGES%.changes}_autopkgtest.log"

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