From 5bc8648cf6ac025ca43fa76c724554b043d49ab6 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 1 Jun 2009 15:52:31 +0200 Subject: Add test boilerplate to the new MakeMaker tests --- lib/ExtUtils/t/arch_check.t | 7 +++++++ lib/ExtUtils/t/pod2man.t | 7 +++++++ 2 files changed, 14 insertions(+) (limited to 'lib') 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; -- cgit v1.2.1