This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Get method.t working under miniperl
authorFather Chrysostomos <sprout@cpan.org>
Tue, 2 Sep 2014 07:57:33 +0000 (00:57 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 3 Sep 2014 03:11:18 +0000 (20:11 -0700)
If things are broken enough that make_ext.pl cannot run, then mini-
test may run this script before base.pm is copied into lib/.

t/op/method.t

index 648f003..31e2ea1 100644 (file)
@@ -6,7 +6,7 @@
 
 BEGIN {
     chdir 't' if -d 't';
-    @INC = qw(. ../lib lib);
+    @INC = qw(. ../lib lib ../dist/base/lib);
     require "test.pl";
 }