[libcxx-commits] [libcxx] 3087a84 - [libcxx] [test] Add an XFAIL for the timespec test for MinGW targets

Martin Storsjö via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 21 13:30:31 PDT 2021


Author: Martin Storsjö
Date: 2021-10-21T23:29:43+03:00
New Revision: 3087a8488948f575a81158494fd0609198ef5e9e

URL: https://github.com/llvm/llvm-project/commit/3087a8488948f575a81158494fd0609198ef5e9e
DIFF: https://github.com/llvm/llvm-project/commit/3087a8488948f575a81158494fd0609198ef5e9e.diff

LOG: [libcxx] [test] Add an XFAIL for the timespec test for MinGW targets

MinGW headers/libs lack timespec_get.

Differential Revision: https://reviews.llvm.org/D112213

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp b/libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
index a170c371997b8..4fd502433d484 100644
--- a/libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
+++ b/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>
 


        


More information about the libcxx-commits mailing list