Skip to content

Commit 9f3fe58

Browse files
xingxue-ibmyuxuanchen1997
authored andcommitted
[libc++][test] XFAIL sized deallocation tests for AIX, z/OS, and MinGW (#98960)
Summary: The sized deallocation test cases fail on AIX, z/OS, and MinGW because they default to `-fno-sized-deallocation`. This patch XFAILs these test cases for the affected targets. Once they change the default, we will get `unexpectedly pass`. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250910
1 parent 620b41e commit 9f3fe58

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
// XFAIL: apple-clang
1616
// XFAIL: using-built-library-before-llvm-11
1717

18+
// AIX, z/OS, and MinGW default to -fno-sized-deallocation.
19+
// XFAIL: target={{.+}}-aix{{.*}}, target={{.+}}-zos{{.*}}, target={{.+}}-windows-gnu
20+
1821
#include <new>
1922
#include <cstddef>
2023
#include <cstdlib>

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
// XFAIL: apple-clang
1616
// XFAIL: using-built-library-before-llvm-11
1717

18+
// AIX, z/OS, and MinGW default to -fno-sized-deallocation.
19+
// XFAIL: target={{.+}}-aix{{.*}}, target={{.+}}-zos{{.*}}, target={{.+}}-windows-gnu
20+
1821
#include <new>
1922
#include <cstddef>
2023
#include <cstdlib>

0 commit comments

Comments
 (0)