[libcxx-commits] [PATCH] D112213: [libcxx] [test] Add an XFAIL for the timespec test for MinGW targets

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 21 03:48:31 PDT 2021


mstorsjo created this revision.
mstorsjo added a reviewer: ldionne.
mstorsjo requested review of this revision.
Herald added a project: libc++.
Herald added a reviewer: libc++.

MinGW headers/libs lack timespec_get.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112213

Files:
  libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp


Index: libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
===================================================================
--- libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
+++ libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
@@ -15,6 +15,9 @@
 // unavailable until macOS 10.15
 // XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11|12|13|14}}
 
+// MinGW lacks timespec_get.
+// XFAIL: target={{.+}}-windows-gnu
+
 #include <ctime>
 #include <type_traits>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112213.381203.patch
Type: text/x-patch
Size: 576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211021/083cdc5e/attachment.bin>


More information about the libcxx-commits mailing list