llvm-project/libcxx/test/std/localization/locale.categories
Mark de Wever ece0f70664 [libc++] Enables put_long_double test for glibc.
Glibc adds a +-sign for NaN-values when showpos fmtflags are set.

[tab:ios.fmtflags]
showpos generates a + sign in non-negative generated numeric output

Since NaNs aren't negative this behaviour seems correct. Enable the test
for glibc and add ifdefs to make sure the existing tests still pass.

This was noticed while working on D118971.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D119260
2022-02-09 17:13:13 +01:00
..
category.collate [libc++][NFC] Fix placement of some XFAILs 2022-01-13 15:28:41 -05:00
category.ctype [libc++][nfc] Add TEST_HAS_NO_UNICODE_CHARS. 2022-02-03 08:02:25 +01:00
category.messages [libc++] Add an option to disable wide character support in libc++ 2021-10-12 06:08:23 -04:00
category.monetary [libc++][NFC] Use cpp17_output_iterator in tests. 2022-02-04 08:01:20 +01:00
category.numeric [libc++] Enables put_long_double test for glibc. 2022-02-09 17:13:13 +01:00
category.time [libc++] Removes cpp17_output_iterator's default constructor. 2022-02-08 17:38:30 +01:00
facet.numpunct [libcxx][AIX] XFAIL tests enabled by locale.fr_FR.UTF-8 2021-11-12 16:28:24 -05:00
facets.examples Support tests in freestanding 2019-02-04 20:31:13 +00:00