projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4fd8ee0
)
Allow setting DZIL_TEST_INC env var when running dzil test
Dave Rolsky [Fri, 31 Dec 2010 18:33:44 +0000 (13:33 -0500)]
inc/MakeMaker.pm
patch
|
blob
|
blame
|
history
diff --git
a/inc/MakeMaker.pm
b/inc/MakeMaker.pm
index
254b97e
..
4c5f55d
100644
(file)
--- a/
inc/MakeMaker.pm
+++ b/
inc/MakeMaker.pm
@@
-27,4
+27,13
@@
override _build_WriteMakefile_args => sub {
};
};
+override test => sub {
+ my $self = shift;
+
+ local $ENV{PERL5LIB} = join ':',
+ grep {defined} @ENV{ 'PERL5LIB', 'DZIL_TEST_INC' };
+
+ super();
+};
+
1;