diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-09-02 01:14:03 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-09-02 20:11:19 -0700 |
commit | 564e85cba833677fc3be412fb42f044cac3253d0 (patch) | |
tree | 3d59d6cc42749696ae7f6a3c0884a2e919e7da21 /t/op/reverse.t | |
parent | d62118709b70fdb5fb9b8da08f6d3ff3d782387d (diff) | |
download | perl-564e85cba833677fc3be412fb42f044cac3253d0.tar.gz |
Get reverse.t working under minitest
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.
Diffstat (limited to 't/op/reverse.t')
-rw-r--r-- | t/op/reverse.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/op/reverse.t b/t/op/reverse.t index 0796614ffb..fae4ccf7c1 100644 --- a/t/op/reverse.t +++ b/t/op/reverse.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 => 26; |