summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-06-01 15:52:31 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-06-01 15:52:31 +0200
commit5bc8648cf6ac025ca43fa76c724554b043d49ab6 (patch)
treee4faeb840157b5a9e0d07980f3216962aa2967a2 /lib
parent5bdf71cc9217764029fb9a321295118de3bb8e72 (diff)
downloadperl-5bc8648cf6ac025ca43fa76c724554b043d49ab6.tar.gz
Add test boilerplate to the new MakeMaker tests
Diffstat (limited to 'lib')
-rw-r--r--lib/ExtUtils/t/arch_check.t7
-rw-r--r--lib/ExtUtils/t/pod2man.t7
2 files changed, 14 insertions, 0 deletions
diff --git a/lib/ExtUtils/t/arch_check.t b/lib/ExtUtils/t/arch_check.t
index 3d62fe2ca3..a4fe88b0ba 100644
--- a/lib/ExtUtils/t/arch_check.t
+++ b/lib/ExtUtils/t/arch_check.t
@@ -1,5 +1,12 @@
#!/usr/bin/perl -w
+BEGIN {
+ if ($ENV{PERL_CORE}) {
+ chdir 't' if -d 't';
+ @INC = qw(../lib lib);
+ }
+}
+
use strict;
use lib 't/lib';
diff --git a/lib/ExtUtils/t/pod2man.t b/lib/ExtUtils/t/pod2man.t
index 1632234b15..fa533bdcf0 100644
--- a/lib/ExtUtils/t/pod2man.t
+++ b/lib/ExtUtils/t/pod2man.t
@@ -1,5 +1,12 @@
#!/usr/bin/perl -w
+BEGIN {
+ if ($ENV{PERL_CORE}) {
+ chdir 't' if -d 't';
+ @INC = qw(../lib);
+ }
+}
+
# Test our simulation of pod2man
use strict;