diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-06-30 15:31:45 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-06-30 15:31:45 +0100 |
commit | 87a470b7b3433f68d0c6e011de6d812ae330ab9e (patch) | |
tree | d302984730da98fe671340b16cc99f01304467b2 | |
parent | e8796d6170725d5ff0da29c2e9a96dd0d7456694 (diff) | |
download | perl-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.t | 2 |
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, |