From a5dd241d1204607319adbb042c4877b084d01106 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Tue, 2 Sep 2014 00:46:32 -0700 Subject: [PATCH 1/1] Get inccode.t working under miniperl If things are broken enough that make_ext.pl cannot run, then mini- test may run this script before everything is built. Hence, we need to make sure the directories that buildcustomize.pl puts in @INC are not clobbered by the test script. --- t/op/inccode.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/op/inccode.t b/t/op/inccode.t index 1a0b919..41e31d2 100644 --- a/t/op/inccode.t +++ b/t/op/inccode.t @@ -4,8 +4,9 @@ BEGIN { chdir 't' if -d 't'; - @INC = qw(. ../lib); require './test.pl'; + @INC = () unless is_miniperl(); + unshift @INC, '../lib'; } use Config; -- 1.8.3.1