[libcxx-commits] [libcxx] [libcxx][test] Update picolib xfails (PR #99631)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jul 19 03:55:23 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: David Spickett (DavidSpickett)
<details>
<summary>Changes</summary>
clang_modules_include.gen.py works now, and I added some background to classic_table.pass.cpp.
Opened https://github.com/picolibc/picolibc/issues/778 to see if that one is possible to fix.
---
Full diff: https://github.com/llvm/llvm-project/pull/99631.diff
2 Files Affected:
- (modified) libcxx/test/libcxx/clang_modules_include.gen.py (-3)
- (modified) libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/classic_table.pass.cpp (+4)
``````````diff
diff --git a/libcxx/test/libcxx/clang_modules_include.gen.py b/libcxx/test/libcxx/clang_modules_include.gen.py
index 7ba4bf0326240..f084c38a8fbd3 100644
--- a/libcxx/test/libcxx/clang_modules_include.gen.py
+++ b/libcxx/test/libcxx/clang_modules_include.gen.py
@@ -37,9 +37,6 @@
// TODO: Investigate this failure
// UNSUPPORTED: LIBCXX-FREEBSD-FIXME
-// TODO: Investigate this failure
-// UNSUPPORTED: LIBCXX-PICOLIBC-FIXME
-
{lit_header_restrictions.get(header, '')}
#include <{header}>
diff --git a/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/classic_table.pass.cpp b/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/classic_table.pass.cpp
index 50c60180ce0dd..1bd9fc88c72db 100644
--- a/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/classic_table.pass.cpp
+++ b/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/classic_table.pass.cpp
@@ -6,6 +6,10 @@
//
//===----------------------------------------------------------------------===//
+// Picolibc/newlib checks for the blank flag in isprint, which needs to be false
+// for tab. So they removed the _B flag from the ctype data, which causes this
+// test to fail.
+// See https://github.com/picolibc/picolibc/issues/778.
// XFAIL: LIBCXX-PICOLIBC-FIXME
// <locale>
``````````
</details>
https://github.com/llvm/llvm-project/pull/99631
More information about the libcxx-commits
mailing list