diff options
author | Mark de Wever <koraq@xs4all.nl> | 2024-07-06 11:56:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-06 11:56:11 +0200 |
commit | 5aa8ef8e9b05b714550eedbced34f67f225dbe6f (patch) | |
tree | a5724853ca36f555f66a7d09419b8060d6a38911 | |
parent | ac9d34a2eed4c4d58edf25b92e397faa76170d00 (diff) | |
download | llvm-5aa8ef8e9b05b714550eedbced34f67f225dbe6f.zip llvm-5aa8ef8e9b05b714550eedbced34f67f225dbe6f.tar.gz llvm-5aa8ef8e9b05b714550eedbced34f67f225dbe6f.tar.bz2 |
[libc++][test] Updates sized deallocation tests. (#97833)
In #90373 size deallocation was enabled by default. Some test were
disabled to propagate the clang changes to the libc++ CI. These changes
have been propagated so the test filter can be updated.
3 files changed, 8 insertions, 6 deletions
diff --git a/libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp b/libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp index aa3ce21..ef04ccd 100644 --- a/libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp +++ b/libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp @@ -21,8 +21,8 @@ // GCC doesn't support the aligned-allocation flags. // XFAIL: gcc -// TODO(mordante) fix this test after updating clang in Docker -// UNSUPPORTED: clang-15, clang-16, clang-17, clang-18, clang-19 +// These compiler versions do not have proper sized deallocation support. +// UNSUPPORTED: clang-17, clang-18 // RUN: %{build} -faligned-allocation -fsized-deallocation // RUN: %{run} diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp index 0241e7c..dc82546 100644 --- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp @@ -8,8 +8,9 @@ // test sized operator delete[] replacement. -// TODO(mordante) fix this test after updating clang in Docker -// UNSUPPORTED: clang-15, clang-16, clang-17, clang-18, clang-19 +// These compiler versions do not have proper sized deallocation support. +// UNSUPPORTED: clang-17, clang-18 + // UNSUPPORTED: sanitizer-new-delete, c++03, c++11 // XFAIL: apple-clang // XFAIL: using-built-library-before-llvm-11 diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp index 2ab6916..a03fc9f 100644 --- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp @@ -8,8 +8,9 @@ // test sized operator delete replacement. -// TODO(mordante) fix this test after updating clang in Docker -// UNSUPPORTED: clang-15, clang-16, clang-17, clang-18, clang-19 +// These compiler versions do not have proper sized deallocation support. +// UNSUPPORTED: clang-17, clang-18 + // UNSUPPORTED: sanitizer-new-delete, c++03, c++11 // XFAIL: apple-clang // XFAIL: using-built-library-before-llvm-11 |