[libcxx-commits] [libcxx] 6cac17e - [libcxx] [test] Make windows triples in XFAILs less specific

Martin Storsjö via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 12 08:25:57 PDT 2021


Author: Martin Storsjö
Date: 2021-10-12T18:24:47+03:00
New Revision: 6cac17e365a3603bb81b4979fff8009b54c4ff84

URL: https://github.com/llvm/llvm-project/commit/6cac17e365a3603bb81b4979fff8009b54c4ff84
DIFF: https://github.com/llvm/llvm-project/commit/6cac17e365a3603bb81b4979fff8009b54c4ff84.diff

LOG: [libcxx] [test] Make windows triples in XFAILs less specific

This allows picking up on mingw triples that often use 'w64' instead
of 'pc' as the vendor part.

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

Added: 
    

Modified: 
    libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
    libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp b/libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
index 9dfe3af4b55f7..e2565641aba66 100644
--- a/libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
+++ b/libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
@@ -16,7 +16,7 @@
 // XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11|12|13|14}}
 
 // ::aligned_alloc is not implemented on Windows
-// XFAIL: target={{.+}}-pc-windows-{{.+}}
+// XFAIL: target={{.+}}-windows-{{.+}}
 
 #include <stdlib.h>
 #include <type_traits>

diff  --git a/libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp b/libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp
index f8af33714479a..70bf3ecd539f0 100644
--- a/libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp
+++ b/libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp
@@ -16,7 +16,7 @@
 // XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11|12|13|14}}
 
 // ::aligned_alloc is not implemented on Windows
-// XFAIL: target={{.+}}-pc-windows-{{.+}}
+// XFAIL: target={{.+}}-windows-{{.+}}
 
 #include <cstdlib>
 #include <type_traits>


        


More information about the libcxx-commits mailing list