summaryrefslogtreecommitdiff
path: root/t/lib
diff options
context:
space:
mode:
authorAndy Armstrong <andy@hexten.net>2007-12-20 23:16:01 +0000
committerNicholas Clark <nick@ccl4.org>2007-12-21 08:58:42 +0000
commit5e2a19fce2ec9f25e93c18dd5bfeb8f6d08a4fce (patch)
treeb9f7a8157ce8003ac98fab73d004f2c56458a359 /t/lib
parentba235770e5430a2da6b4b3a82416f106fa63406b (diff)
downloadperl-5e2a19fce2ec9f25e93c18dd5bfeb8f6d08a4fce.tar.gz
Fix remaining skips for Test::Harness
Message-Id: <01A7A7EC-1C9C-40B1-90E8-DC1E5BA54400@hexten.net> (except for test-harness-compat.t which failed unthreaded under harness and except for reverting the defined $ENV{PERL_UNICODE}) p4raw-id: //depot/perl@32685
Diffstat (limited to 't/lib')
-rw-r--r--t/lib/source_tests/source11
1 files changed, 10 insertions, 1 deletions
diff --git a/t/lib/source_tests/source b/t/lib/source_tests/source
index f634d9cbdb..6d469f4581 100644
--- a/t/lib/source_tests/source
+++ b/t/lib/source_tests/source
@@ -1,6 +1,15 @@
#!/usr/bin/perl -wT
-use lib 't/lib';
+BEGIN {
+ if ( $ENV{PERL_CORE} ) {
+ chdir 't';
+ @INC = ( '../lib', 'lib' );
+ }
+ else {
+ unshift @INC, 't/lib';
+ }
+}
+
use Test::More tests => 1;
ok 1;