[libcxx-commits] [PATCH] D120448: [libc++][AIX][test] Enable put_double/long_double locale tests

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 1 12:35:43 PST 2022


ldionne added inline comments.
Herald added a project: All.


================
Comment at: libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp:26220
     test3();
+#ifndef _AIX
+    // AIX will print INF for inf and NaNQ for nan regardless of uppercase.
----------------
Can we instead fix those tests on AIX, i.e.

```
#ifdef _AIX
  assert(something)
#else
  assert(something else)
#endif
```



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120448/new/

https://reviews.llvm.org/D120448



More information about the libcxx-commits mailing list