diff options
author | Michael G. Schwern <schwern@pobox.com> | 2001-10-17 00:04:13 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-17 10:25:06 +0000 |
commit | 60e23f2ffd1cd9673f7e06415d666f29696b7d96 (patch) | |
tree | 3bf53504442fea83618db73188d58e9b016644d1 /t | |
parent | 35bf961cd9e224a6166d553c360d158bbef316a5 (diff) | |
download | perl-60e23f2ffd1cd9673f7e06415d666f29696b7d96.tar.gz |
Set PERL_CORE environment var
Message-ID: <20011017040413.C25550@blackrider>
p4raw-id: //depot/perl@12471
Diffstat (limited to 't')
-rwxr-xr-x | t/TEST | 4 | ||||
-rw-r--r-- | t/harness | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -5,6 +5,10 @@ $| = 1; +# Let tests know they're running in the perl core. Useful for modules +# which live dual lives on CPAN. +$ENV{PERL_CORE} = 1; + # Cheesy version of Getopt::Std. Maybe we should replace it with that. if ($#ARGV >= 0) { foreach my $idx (0..$#ARGV) { @@ -14,6 +14,10 @@ use Test::Harness; $Test::Harness::switches = ""; # Too much noise otherwise $Test::Harness::verbose = shift if @ARGV && $ARGV[0] eq '-v'; +# Let tests know they're running in the perl core. Useful for modules +# which live dual lives on CPAN. +$ENV{PERL_CORE} = 1; + #fudge DATA for now. %datahandle = qw( lib/bigint.t 1 |