This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't test locales that are invalid for needed categories
authorKarl Williamson <public@khwilliamson.com>
Tue, 4 Feb 2014 19:15:14 +0000 (12:15 -0700)
committerKarl Williamson <public@khwilliamson.com>
Tue, 4 Feb 2014 20:30:14 +0000 (13:30 -0700)
commit9b0711eec9836d7bd88059aff4786ffef2c41ed6
tree4b2f2bc20b87176e214f890488131b54ff54c60d
parentc51dd9764ab2bb731019f57d26a2dce3153d2e70
Don't test locales that are invalid for needed categories

When looking for locales to test, skip ones which aren't defined in
every locale category we care about.  This was motivated by a Net BSD
machine which has a Pig Latin locale, but it is defined only for
LC_MESSAGES.

This necessitated adding parameters to pass the desired locale(s), and
renaming a test function to indicate the current category it is valid
for.
ext/XS-APItest/t/handy.t
lib/locale.t
t/loc_tools.pl
t/op/lc.t
t/re/charset.t
t/re/fold_grind.t
t/run/locale.t
t/uni/fold.t