[libcxx-commits] [libcxx] [libc++][z/OS] XFAIL thread_create_failure.pass.cpp on z/OS (PR #147520)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 8 06:23:11 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Zibi Sarbinowski (zibi2)

<details>
<summary>Changes</summary>

Number of threads on z/OS are controlled at the system level and thus we need to XFAIL this test.

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


1 Files Affected:

- (modified) libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp (+3) 


``````````diff
diff --git a/libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp b/libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp
index 9ac54a8738662..4e087fd4226d1 100644
--- a/libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp
+++ b/libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp
@@ -21,6 +21,9 @@
 // XFAIL: target={{.+}}-apple-{{.*}}
 // XFAIL: freebsd
 
+// z/OS does not have mechanism to limit the number of threads
+// XFAIL: target={{.+}}-zos{{.*}}
+
 // This test makes sure that we fail gracefully in care the thread creation fails. This is only reliably possible on
 // systems that allow limiting the number of threads that can be created. See https://llvm.org/PR125428 for more details
 

``````````

</details>


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


More information about the libcxx-commits mailing list