[libcxx] r214753 - Add locales to available_features for tests.

Dan Albert danalbert at google.com
Mon Aug 4 13:36:53 PDT 2014


Doh! Fixed in r214768.


On Mon, Aug 4, 2014 at 12:18 PM, İsmail Dönmez <ismail at donmez.ws> wrote:

>
> Hi,
>
> On Mon, Aug 4, 2014 at 9:44 PM, Dan Albert <danalbert at google.com> wrote:
>>
>> +for feature, loc in locales[platform.system()].items():
>> +    try:
>> +        locale.setlocale(locale.LC_ALL, loc)
>> +        config.available_features.add('locale.{}'.format(feature))
>> +    except:
>> +        lit_config.warning('The locale {} is not supported by your
>> platoform. '
>> +                           'Some tests will be unsupported.'.format(loc))
>>
>
> typo: platoform
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140804/39e49eab/attachment.html>


More information about the cfe-commits mailing list