Skip to content

Commit bc8aa97

Browse files
authored
[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.
1 parent 0863979 commit bc8aa97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
// XFAIL: target={{.+}}-apple-{{.*}}
2222
// XFAIL: freebsd
2323

24+
// z/OS does not have mechanism to limit the number of threads
25+
// XFAIL: target={{.+}}-zos{{.*}}
26+
2427
// This test makes sure that we fail gracefully in care the thread creation fails. This is only reliably possible on
2528
// systems that allow limiting the number of threads that can be created. See https://llvm.org/PR125428 for more details
2629

0 commit comments

Comments
 (0)