[libcxx-commits] [PATCH] D99096: [libcxx] [test] Fix tests of <cuchar> that unexpectedly succeed on windows

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 30 13:03:55 PDT 2021


mstorsjo updated this revision to Diff 334251.
mstorsjo added a comment.

Reuploading to clear the "needs revision" status


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99096

Files:
  libcxx/test/libcxx/strings/c.strings/version_cuchar.pass.cpp
  libcxx/test/std/strings/c.strings/cuchar.pass.cpp


Index: libcxx/test/std/strings/c.strings/cuchar.pass.cpp
===================================================================
--- libcxx/test/std/strings/c.strings/cuchar.pass.cpp
+++ libcxx/test/std/strings/c.strings/cuchar.pass.cpp
@@ -8,6 +8,10 @@
 //
 // XFAIL: libc++
 
+// Skip this test on windows. If built on top of the MSVC runtime, the
+// <cuchar> header actually does exist (although not provided by us).
+// UNSUPPORTED: windows
+
 // <cuchar>
 
 #include <cuchar>
Index: libcxx/test/libcxx/strings/c.strings/version_cuchar.pass.cpp
===================================================================
--- libcxx/test/libcxx/strings/c.strings/version_cuchar.pass.cpp
+++ libcxx/test/libcxx/strings/c.strings/version_cuchar.pass.cpp
@@ -8,6 +8,10 @@
 //
 // XFAIL: *
 
+// Skip this test on windows. If built on top of the MSVC runtime, the
+// <cuchar> header actually does exist (although not provided by us).
+// UNSUPPORTED: windows
+
 // <cuchar>
 
 #include <cuchar>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99096.334251.patch
Type: text/x-patch
Size: 984 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210330/e69921c1/attachment.bin>


More information about the libcxx-commits mailing list