Skip to content

Commit

Permalink
[libc++][test] XFAIL sized deallocation tests for AIX, z/OS, and MinGW (
Browse files Browse the repository at this point in the history
#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
  • Loading branch information
xingxue-ibm authored and yuxuanchen1997 committed Jul 25, 2024
1 parent 620b41e commit 9f3fe58
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
// XFAIL: apple-clang
// XFAIL: using-built-library-before-llvm-11

// AIX, z/OS, and MinGW default to -fno-sized-deallocation.
// XFAIL: target={{.+}}-aix{{.*}}, target={{.+}}-zos{{.*}}, target={{.+}}-windows-gnu

#include <new>
#include <cstddef>
#include <cstdlib>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
// XFAIL: apple-clang
// XFAIL: using-built-library-before-llvm-11

// AIX, z/OS, and MinGW default to -fno-sized-deallocation.
// XFAIL: target={{.+}}-aix{{.*}}, target={{.+}}-zos{{.*}}, target={{.+}}-windows-gnu

#include <new>
#include <cstddef>
#include <cstdlib>
Expand Down

0 comments on commit 9f3fe58

Please sign in to comment.