diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-09-02 01:22:10 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-09-02 20:11:20 -0700 |
commit | 6734e31472ad8d3f998e82bb76e2fe7da4556120 (patch) | |
tree | 554a51687be728f3411dd938c04f65a570678ac5 /t/op | |
parent | 19295df3ebc93139d919fd706d790a3772fb803d (diff) | |
download | perl-6734e31472ad8d3f998e82bb76e2fe7da4556120.tar.gz |
Get tie_fetch_count.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')
-rw-r--r-- | t/op/tie_fetch_count.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/op/tie_fetch_count.t b/t/op/tie_fetch_count.t index 9f60bb4622..1335d9ea5e 100644 --- a/t/op/tie_fetch_count.t +++ b/t/op/tie_fetch_count.t @@ -5,8 +5,9 @@ BEGIN { chdir 't' if -d 't'; - @INC = '../lib'; require './test.pl'; + @INC = () unless is_miniperl(); + unshift @INC, '../lib'; plan (tests => 312); } |