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

abe pushed a commit to annotated tag v2.006007
in repository libdist-zilla-plugin-test-podspelling-perl.

commit 610c1251cb5a47020adf5cee044f2cc3e83d2aeb
Author: Karen Etheridge <et...@cpan.org>
Date:   Mon Mar 3 20:17:12 2014 -0800

    fix this test so it can be run outside of "dzil build"
---
 t/file.t | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/t/file.t b/t/file.t
index 5589d45..c6fefeb 100644
--- a/t/file.t
+++ b/t/file.t
@@ -2,6 +2,7 @@ use strict;
 use warnings;
 use Test::More;
 use Test::DZil;
+use File::pushd 'pushd';
 use Test::Script 1.05;
 
 my $tzil
@@ -14,6 +15,7 @@ my $tzil
                                'source/lib/Foo.pm' => "package Foo;\n1;\n",
                                'source/dist.ini' => simple_ini(
                                        [ GatherDir => ],
+                                       [ MakeMaker => ],
                                        ['Test::PodSpelling']
                                )
                        }
@@ -33,6 +35,11 @@ my $fn
 
 ok ( -e $fn, 'test file exists');
 
-script_compiles( '' . $fn->relative, 'check test compiles' );
+{
+       my $wd = pushd $tzil->tempdir->subdir('build');
+       $tzil->plugin_named('MakeMaker')->build;
+
+       script_compiles( '' . $fn->relative, 'check test compiles' );
+}
 
 done_testing;

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