summaryrefslogtreecommitdiff
path: root/t/op/eval.t
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-08-31 22:30:55 -0700
committerFather Chrysostomos <sprout@cpan.org>2014-09-02 20:11:14 -0700
commitd58f275f2f81fee05c295d8d21bcf2eeffbe75a9 (patch)
tree8e1574769344ed54d904f5ba17c244c9acfe8cd2 /t/op/eval.t
parente1498de268ad7068b3be09dad683985a67e3ad93 (diff)
downloadperl-d58f275f2f81fee05c295d8d21bcf2eeffbe75a9.tar.gz
Get eval.t working under minitest
minitest can run 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.
Diffstat (limited to 't/op/eval.t')
-rw-r--r--t/op/eval.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/op/eval.t b/t/op/eval.t
index f404df5a09..ac33758e27 100644
--- a/t/op/eval.t
+++ b/t/op/eval.t
@@ -2,8 +2,9 @@
BEGIN {
chdir 't' if -d 't';
- @INC = '../lib';
require './test.pl';
+ @INC = () unless is_miniperl();
+ unshift @INC, '../lib';
}
plan(tests => 132);