You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/std/localization/locale.categories
Ed Schouten 3f86893b6c Don't let time_put test use implementation dependent constructs.
The time_put test doesn't seem to work on Linux and CloudABI. For Linux
we already have an XFAIL. Closer inspection seems to reveal that this
test does not pass for a couple of reasons.

First of all, the tm_yday field is set to an invalid value. The
strftime() function doesn't behave consistently across platforms in case
the values in the tm structure are incoherent. Fix up this field to have
the value 121, which corresponds with tm_mday, tm_mon and tm_year. This
of course affects the output of time_put for some modifiers, so update
the tests accordingly.

Second, some of the tests actually use modifiers that are only present
on BSD derived systems. They are not part of the C standard/POSIX.
Simply remove them.

Finally, some of the tests actually use invalid modifiers, causing a
malformed format string to be passed to strftime(). Remove these tests
as well.

Differential Revision:	http://reviews.llvm.org/D8349


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@233262 91177308-0d34-0410-b5e6-96231b3b80d8
11 years ago
..
category.collate Move test into test/std subdirectory. 11 years ago
category.ctype Fix ctype_byname<wchar_t>::do_is() mask checking.... again 11 years ago
category.messages Move test into test/std subdirectory. 11 years ago
category.monetary Rename system_lib -> system_cxx_lib. NFC 11 years ago
category.numeric Rename system_lib -> system_cxx_lib. NFC 11 years ago
category.time Don't let time_put test use implementation dependent constructs. 11 years ago
facet.numpunct Move test into test/std subdirectory. 11 years ago
facets.examples Move test into test/std subdirectory. 11 years ago
__scan_keyword.pass.cpp Move test into test/std subdirectory. 11 years ago