This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add missing test boilerplates to new MakeMaker tests
[perl5.git] / lib / ExtUtils / t / miniperl.t
index 2334eb0..fbd801c 100644 (file)
@@ -3,6 +3,13 @@
 # Test that we can build modules as miniperl.
 # This mostly means no XS modules.
 
+BEGIN {
+    if ($ENV{PERL_CORE}) {
+        chdir 't' if -d 't';
+        @INC = qw(../lib lib);
+    }
+}
+
 use strict;
 use lib 't/lib';