summaryrefslogtreecommitdiff
path: root/t/harness
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2001-10-17 00:04:13 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-17 10:25:06 +0000
commit60e23f2ffd1cd9673f7e06415d666f29696b7d96 (patch)
tree3bf53504442fea83618db73188d58e9b016644d1 /t/harness
parent35bf961cd9e224a6166d553c360d158bbef316a5 (diff)
downloadperl-60e23f2ffd1cd9673f7e06415d666f29696b7d96.tar.gz
Set PERL_CORE environment var
Message-ID: <20011017040413.C25550@blackrider> p4raw-id: //depot/perl@12471
Diffstat (limited to 't/harness')
-rw-r--r--t/harness4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/harness b/t/harness
index d5ddb51b9f..36ee4ce6da 100644
--- a/t/harness
+++ b/t/harness
@@ -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