LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 26252 - Tests fail when en_US-UTF-8 locale is missing
Summary: Tests fail when en_US-UTF-8 locale is missing
Status: RESOLVED FIXED
Alias: None
Product: libc++
Classification: Unclassified
Component: All Bugs (show other bugs)
Version: unspecified
Hardware: PC Linux
: P normal
Assignee: Daniel Sanders
URL:
Keywords:
Depends on:
Blocks: 26059
  Show dependency tree
 
Reported: 2016-01-22 03:52 PST by Daniel Sanders
Modified: 2016-01-28 10:58 PST (History)
2 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Sanders 2016-01-22 03:52:43 PST
Other missing locales cause the relevant tests to be 'UNSUPPORTED' instead of failing.

The failures that occurred for me are fixed in r258403 and a few additional ones are fixed in D16408.
Comment 1 Daniel Sanders 2016-01-23 16:34:36 PST
Also, even with all the missing locales available there are two tests that fail when LANG=C is in the environment:

    libc++ :: std/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp
    libc++ :: std/localization/locales/locale/locale.cons/char_pointer.pass.cpp

I don't recall why I have that so I'm trying a build without it.
Comment 2 Daniel Sanders 2016-01-28 10:58:55 PST
Merged in r258887 and r259058