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

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

commit 2b90d2374d6e6ba4c85acd21c1a067dcd95f0b78
Author: intrigeri <intrig...@boum.org>
Date:   Sun Aug 16 09:11:05 2015 +0000

    t-eol.t-when-running-under-adt-run-test-installed-mo.patch: new patch, to 
have t/eol.t test installed module files instead of the ones that can't be 
found in the minimal testing source tree, when running under adt-run.
---
 debian/patches/series                              |  1 +
 ...n-running-under-adt-run-test-installed-mo.patch | 37 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6c12cfd
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+t-eol.t-when-running-under-adt-run-test-installed-mo.patch
diff --git 
a/debian/patches/t-eol.t-when-running-under-adt-run-test-installed-mo.patch 
b/debian/patches/t-eol.t-when-running-under-adt-run-test-installed-mo.patch
new file mode 100644
index 0000000..c68b10a
--- /dev/null
+++ b/debian/patches/t-eol.t-when-running-under-adt-run-test-installed-mo.patch
@@ -0,0 +1,37 @@
+From: intrigeri <intrig...@boum.org>
+Date: Sun, 16 Aug 2015 09:10:01 +0000
+Forwarded: not-needed
+Subject: 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