[pkg-perl-tools] 01/07: Add -Ilib to perl tests in Makefile

Alex Muntada alexm-guest at moszumanska.debian.org
Wed Nov 2 01:18:56 UTC 2016


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

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

commit 0407a3b6ca5e5339f3d15cd2421fae4c61acb929
Author: Alex Muntada <alexm at alexm.org>
Date:   Mon Oct 31 18:36:02 2016 +0100

    Add -Ilib to perl tests in Makefile
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 8bbc7cc..3ed920b 100644
--- a/Makefile
+++ b/Makefile
@@ -116,7 +116,7 @@ clean:
 test:
 	for f in `find bin scripts -maxdepth 1 -type f`; do \
 	    if head -1 $$f | grep -q bin/perl; then \
-		perl -c $$f || exit 1; \
+		perl -Ilib -c $$f || exit 1; \
 	    elif head -1 $$f |grep -q python; then \
 		echo "python script $$f not checked"; \
 	    elif head -1 $$f |grep -q bash; then \
@@ -126,7 +126,7 @@ test:
 	    fi \
 	done
 	for f in `find . -name '*.pm' -type f`; do \
-	    perl -c $$f || exit 1; \
+	    perl -Ilib -c $$f || exit 1; \
 	done
 	prove -l
 	-prove -l --ext .st

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