Remove the $ENV{PERL_CORE} boilerplate from DynaLoader's tests.
Nicholas Clark [Sun, 30 Aug 2009 13:24:57 +0000 (14:24 +0100)]
ext/DynaLoader/t/DynaLoader.t
ext/DynaLoader/t/XSLoader.t
t/TEST

index 2cff37a..e9d55e7 100644 (file)
@@ -1,12 +1,5 @@
 #!/usr/bin/perl -wT
 
-BEGIN {
-    if( $ENV{PERL_CORE} ) {
-        chdir 't';
-        @INC = '../lib';
-    }
-}
-
 use strict;
 use Config;
 use Test::More;
index bce7b0e..038986e 100644 (file)
@@ -1,12 +1,5 @@
 #!perl -T
 
-BEGIN {
-    if( $ENV{PERL_CORE} ) {
-        chdir 't';
-        @INC = '../lib';
-    }
-}
-
 use strict;
 use Config;
 
diff --git a/t/TEST b/t/TEST
index 58a98b8..d5007ed 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -29,7 +29,6 @@ my %temp_no_core =
      '../ext/Compress-Raw-Bzip2' => 1,
      '../ext/Compress-Raw-Zlib' => 1,
      '../ext/Devel-PPPort' => 1,
-     '../ext/DynaLoader' => 'fixme',
      '../ext/Encode' => 1,
      '../ext/Hash-Util' => 'fixme',
      '../ext/Hash-Util-FieldHash' => 'fixme',