[libcxx-commits] [libcxx] bc8aa97 - [libc++][z/OS] XFAIL thread_create_failure.pass.cpp on z/OS (#147520)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jul 8 11:46:15 PDT 2025
Author: Zibi Sarbinowski
Date: 2025-07-08T14:46:12-04:00
New Revision: bc8aa974c05b35e8895086d499abb7b1b36b88fb
URL: https://github.com/llvm/llvm-project/commit/bc8aa974c05b35e8895086d499abb7b1b36b88fb
DIFF: https://github.com/llvm/llvm-project/commit/bc8aa974c05b35e8895086d499abb7b1b36b88fb.diff
LOG: [libc++][z/OS] XFAIL thread_create_failure.pass.cpp on z/OS (#147520)
Number of threads on z/OS are controlled at the system level and thus we eed to XFAIL this test.
Added:
Modified:
libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp
Removed:
################################################################################
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
More information about the libcxx-commits
mailing list