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

İsmail Dönmez ismail at donmez.ws
Mon Aug 4 12:18:01 PDT 2014


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/dba3bc23/attachment.html>


More information about the cfe-commits mailing list