Skip to content

Commit a70077e

Browse files
authored
[SystemZ][z/OS][libcxx] mark aligned allocation tests XFAIL on z/OS (#80735)
zOS doesn't support aligned allocation, so mark these testcases as unsupported. Continuation of https://reviews.llvm.org/D102798
1 parent 9b718c0 commit a70077e

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new.size_align.except.pass.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
// UNSUPPORTED: no-exceptions
1010
// UNSUPPORTED: sanitizer-new-delete
1111

12+
// Libc++ when built for z/OS doesn't contain the aligned allocation functions,
13+
// nor does the dynamic library shipped with z/OS.
14+
// XFAIL: target={{.+}}-zos{{.*}}
15+
1216
#include <new>
1317
#include <cassert>
1418
#include <limits>

libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new.size_align_nothrow.except.pass.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
// UNSUPPORTED: no-exceptions
1010
// UNSUPPORTED: sanitizer-new-delete
1111

12+
// Libc++ when built for z/OS doesn't contain the aligned allocation functions,
13+
// nor does the dynamic library shipped with z/OS.
14+
// XFAIL: target={{.+}}-zos{{.*}}
15+
1216
#include <new>
1317
#include <cassert>
1418
#include <limits>

libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new.size_align.except.pass.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
// UNSUPPORTED: no-exceptions
1010
// UNSUPPORTED: sanitizer-new-delete
1111

12+
// Libc++ when built for z/OS doesn't contain the aligned allocation functions,
13+
// nor does the dynamic library shipped with z/OS.
14+
// XFAIL: target={{.+}}-zos{{.*}}
15+
1216
#include <new>
1317
#include <cassert>
1418
#include <limits>

libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new.size_align_nothrow.except.pass.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
// UNSUPPORTED: no-exceptions
1010
// UNSUPPORTED: sanitizer-new-delete
1111

12+
// Libc++ when built for z/OS doesn't contain the aligned allocation functions,
13+
// nor does the dynamic library shipped with z/OS.
14+
// XFAIL: target={{.+}}-zos{{.*}}
15+
1216
#include <new>
1317
#include <cassert>
1418
#include <limits>

0 commit comments

Comments
 (0)