diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-08-31 22:40:12 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-09-02 20:11:15 -0700 |
commit | d7a29482266796688db83c177652726319911504 (patch) | |
tree | 42c27e611153561a565e8cc9de0182b8421d03d2 | |
parent | a91378592e2f4cae219b0f397aeaeab579a4c726 (diff) | |
download | perl-d7a29482266796688db83c177652726319911504.tar.gz |
Get t/uni/fold.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.
-rw-r--r-- | t/uni/fold.t | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/t/uni/fold.t b/t/uni/fold.t index f016d30cca..7fc587ddbf 100644 --- a/t/uni/fold.t +++ b/t/uni/fold.t @@ -6,9 +6,10 @@ use warnings; BEGIN { chdir 't' if -d 't'; - @INC = '../lib'; - require Config; import Config; require './test.pl'; + @INC = () unless is_miniperl(); + unshift @INC, '../lib'; + require Config; import Config; require './loc_tools.pl'; # Contains find_utf8_ctype_locale() } |