summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-06-30 15:31:45 +0100
committerNicholas Clark <nick@ccl4.org>2010-06-30 15:31:45 +0100
commit87a470b7b3433f68d0c6e011de6d812ae330ab9e (patch)
treed302984730da98fe671340b16cc99f01304467b2
parente8796d6170725d5ff0da29c2e9a96dd0d7456694 (diff)
downloadperl-87a470b7b3433f68d0c6e011de6d812ae330ab9e.tar.gz
Make the change to source_handler.t conditional on $ENV{PERL_CORE}.
175dcccfb62b30fa wrongly added '-I../../lib' unconditionally.
-rw-r--r--cpan/Test-Harness/t/source_handler.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpan/Test-Harness/t/source_handler.t b/cpan/Test-Harness/t/source_handler.t
index 1287a9f11b..b16b9e2397 100644
--- a/cpan/Test-Harness/t/source_handler.t
+++ b/cpan/Test-Harness/t/source_handler.t
@@ -84,7 +84,7 @@ my %file = map { $_ => File::Spec->catfile( $dir, $_ ) }
],
make_iterator => [
{ name => "valid executable",
- raw => [ $perl, '-I../../lib', '-It/lib', '-T', $file{source} ],
+ raw => [ $perl, ($ENV{PERL_CORE} ? '-I../../lib' : ()), '-It/lib', '-T', $file{source} ],
iclass => 'TAP::Parser::Iterator::Process',
output => [ '1..1', 'ok 1 - source' ],
assemble_meta => 1,