llvm-project/libcxx/test/std
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
..
algorithms [libc++] Removes cpp17_output_iterator's default constructor. 2022-02-08 17:38:30 +01:00
atomics [libc++][nfc] Add TEST_HAS_NO_UNICODE_CHARS. 2022-02-03 08:02:25 +01:00
concepts [libc++][nfc] Add TEST_HAS_NO_INT128. 2022-01-27 17:31:27 +01:00
containers [libcxx][test][NFC] Add tests for backward iteration over associative 2022-02-08 01:21:42 +03:00
depr [libc++] Enable <atomic> when threads are disabled 2021-11-17 23:02:58 -05:00
diagnostics [libc++][NFC] Fix placement of some XFAILs 2022-01-13 15:28:41 -05:00
experimental [libcxx][test] Use TEST_HAS_BUILTIN in test code 2022-01-20 01:47:29 -08:00
input.output [libc++][nfc] Use TEST_HAS_NO_WIDE_CHARACTERS. 2022-02-09 17:10:12 +01:00
iterators [libc++][NFC] Use cpp17_output_iterator in tests. 2022-02-04 08:01:20 +01:00
language.support [libc++] Add papers from February 2022 plenary meeting 2022-02-09 10:21:19 +01:00
library/description/conventions [libc++] [ranges] Implement std::ranges::distance 2022-01-31 12:23:10 -05:00
localization [libc++] Enables put_long_double test for glibc. 2022-02-09 17:13:13 +01:00
namespace [libc++] Add an option to disable wide character support in libc++ 2021-10-12 06:08:23 -04:00
numerics [libc++][NFC] Use cpp17_output_iterator in tests. 2022-02-04 08:01:20 +01:00
ranges [libcxx][test] tests for strengthened `noexcept` are non-portable 2022-02-08 14:54:13 -08:00
re [libc++][NFC] Use cpp17_output_iterator in tests. 2022-02-04 08:01:20 +01:00
strings [libc++] Prepare string.{access, capacity, cons} tests for constexpr 2022-02-08 23:39:44 +01:00
thread [libc++] [test] ASSERT_WITH_LIBRARY_INTERNAL_ALLOCATIONS is not supported on AIX. 2022-01-14 12:48:04 -05:00
utilities [libcxx][test] Disable bad unique_ptr<T[]> to shared_ptr<U[]> conversion test cases 2022-02-08 14:56:47 -08:00
pstl