[libcxx-commits] [libcxx] [libc++] Add clang-19 to failing tests on Windows (PR #79619)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 26 08:52:22 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: None (gulfemsavrun)

<details>
<summary>Changes</summary>

After trunk is bumped to version 19, some libc++ tests started failing on Windows. This patch adds clang-19 condition to XFAIL to fix the issue.

---
Full diff: https://github.com/llvm/llvm-project/pull/79619.diff


3 Files Affected:

- (modified) libcxx/test/libcxx/fuzzing/random.pass.cpp (+1-1) 
- (modified) libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp (+1-1) 
- (modified) libcxx/test/std/numerics/c.math/cmath.pass.cpp (+1-1) 


``````````diff
diff --git a/libcxx/test/libcxx/fuzzing/random.pass.cpp b/libcxx/test/libcxx/fuzzing/random.pass.cpp
index 69b496fa3a4e66..663977696f2df8 100644
--- a/libcxx/test/libcxx/fuzzing/random.pass.cpp
+++ b/libcxx/test/libcxx/fuzzing/random.pass.cpp
@@ -8,7 +8,7 @@
 
 // This test fails because Clang no longer enables -fdelayed-template-parsing
 // by default on Windows with C++20 (#69431).
-// XFAIL: msvc && clang-18
+// XFAIL: msvc && (clang-18 || clang-19)
 
 // UNSUPPORTED: c++03, c++11
 
diff --git a/libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp
index 7a6c71ae68f797..bbfb0c5548fab6 100644
--- a/libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp
+++ b/libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp
@@ -8,7 +8,7 @@
 
 // This test fails because Clang no longer enables -fdelayed-template-parsing
 // by default on Windows with C++20 (#69431).
-// XFAIL: msvc && clang-18
+// XFAIL: msvc && (clang-18 || clang-19)
 
 // <math.h>
 
diff --git a/libcxx/test/std/numerics/c.math/cmath.pass.cpp b/libcxx/test/std/numerics/c.math/cmath.pass.cpp
index a6a9dad639cdff..93790844997923 100644
--- a/libcxx/test/std/numerics/c.math/cmath.pass.cpp
+++ b/libcxx/test/std/numerics/c.math/cmath.pass.cpp
@@ -8,7 +8,7 @@
 
 // This test fails because Clang no longer enables -fdelayed-template-parsing
 // by default on Windows with C++20 (#69431).
-// XFAIL: msvc && clang-18
+// XFAIL: msvc && (clang-18 || clang-19)
 
 // <cmath>
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/79619


More information about the libcxx-commits mailing list