From: Rafael Garcia-Suarez Date: Mon, 1 Jun 2009 13:52:31 +0000 (+0200) Subject: Add test boilerplate to the new MakeMaker tests X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5bc8648cf6ac025ca43fa76c724554b043d49ab6;p=p5sagit%2Fp5-mst-13.2.git Add test boilerplate to the new MakeMaker tests --- diff --git a/lib/ExtUtils/t/arch_check.t b/lib/ExtUtils/t/arch_check.t index 3d62fe2..a4fe88b 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 1632234..fa533bd 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;