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

intrigeri pushed a commit to branch patch-queue/master
in repository libdist-zilla-plugin-test-eol-perl.

commit ffbd996bf8b7cce4c557a32832e5dff5d012267a
Author: intrigeri <intrig...@boum.org>
Date:   Sun Aug 16 09:10:01 2015 +0000

    t/eol.t: when running under adt-run, test installed module files instead of 
the ones that can't be found in the minimal testing source tree.
---
 t/eol.t | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/t/eol.t b/t/eol.t
index 6e227a8..6bbd587 100644
--- a/t/eol.t
+++ b/t/eol.t
@@ -7,8 +7,6 @@ use Test::More 0.88;
 use Test::EOL;
 
 my @files = (
-    'lib/Dist/Zilla/Plugin/EOLTests.pm',
-    'lib/Dist/Zilla/Plugin/Test/EOL.pm',
     't/00-report-prereqs.dd',
     't/00-report-prereqs.t',
     't/01-basic.t',
@@ -19,5 +17,12 @@ my @files = (
     't/zzz-check-breaks.t'
 );
 
+my $prefix = $ENV{ADTTMP} ? '/usr/share/perl5' : 'lib';
+
+unshift @files, (
+    "${prefix}/Dist/Zilla/Plugin/EOLTests.pm",
+    "${prefix}/Dist/Zilla/Plugin/Test/EOL.pm",
+);
+
 eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
 done_testing;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-test-eol-perl.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