[libc++] Refactor allocator_mismatch.compile.fail.cpp -> .verify.cpp
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Fri, 20 Jan 2023 19:49:55 +0000 (14:49 -0500)
committerLouis Dionne <ldionne.2@gmail.com>
Tue, 28 Feb 2023 17:22:49 +0000 (12:22 -0500)
commitce32e057333e410f75a2292772fa2cd67bdb3614
tree06a6674defd27f1ae8902643ba5c56880102209f
parent8dbeb41f8ebda2914433a8fb7ee1012602f20922
[libc++] Refactor allocator_mismatch.compile.fail.cpp -> .verify.cpp

compile.fail.cpp tests are an anti-feature since they are too easy to
break when evolving code. This patch moves various allocator_mismatch
tests to .verify.cpp and normalizes the error messages from various
containers.

Differential Revision: https://reviews.llvm.org/D144913
17 files changed:
libcxx/include/forward_list
libcxx/include/list
libcxx/include/unordered_map
libcxx/include/unordered_set
libcxx/test/std/containers/associative/map/allocator_mismatch.verify.cpp [moved from libcxx/test/std/containers/associative/map/allocator_mismatch.compile.fail.cpp with 70% similarity]
libcxx/test/std/containers/associative/multimap/allocator_mismatch.verify.cpp [moved from libcxx/test/std/containers/associative/multimap/allocator_mismatch.compile.fail.cpp with 70% similarity]
libcxx/test/std/containers/associative/multiset/allocator_mismatch.verify.cpp [moved from libcxx/test/std/containers/associative/set/allocator_mismatch.compile.fail.cpp with 70% similarity]
libcxx/test/std/containers/associative/set/allocator_mismatch.verify.cpp [moved from libcxx/test/std/containers/associative/multiset/allocator_mismatch.compile.fail.cpp with 71% similarity]
libcxx/test/std/containers/associative/set/range_concept_conformance.compile.pass.cpp
libcxx/test/std/containers/sequences/deque/allocator_mismatch.verify.cpp [moved from libcxx/test/std/containers/sequences/deque/allocator_mismatch.compile.fail.cpp with 73% similarity]
libcxx/test/std/containers/sequences/forwardlist/allocator_mismatch.verify.cpp [moved from libcxx/test/std/containers/sequences/forwardlist/allocator_mismatch.compile.fail.cpp with 72% similarity]
libcxx/test/std/containers/sequences/list/allocator_mismatch.verify.cpp [moved from libcxx/test/std/containers/sequences/list/allocator_mismatch.compile.fail.cpp with 73% similarity]
libcxx/test/std/containers/sequences/vector/allocator_mismatch.verify.cpp [moved from libcxx/test/std/containers/sequences/vector/allocator_mismatch.compile.fail.cpp with 73% similarity]
libcxx/test/std/containers/unord/unord.map/allocator_mismatch.verify.cpp [moved from libcxx/test/std/containers/unord/unord.map/allocator_mismatch.compile.fail.cpp with 69% similarity]
libcxx/test/std/containers/unord/unord.multimap/allocator_mismatch.verify.cpp [moved from libcxx/test/std/containers/unord/unord.multimap/allocator_mismatch.compile.fail.cpp with 68% similarity]
libcxx/test/std/containers/unord/unord.multiset/allocator_mismatch.verify.cpp [moved from libcxx/test/std/containers/unord/unord.set/allocator_mismatch.compile.fail.cpp with 69% similarity]
libcxx/test/std/containers/unord/unord.set/allocator_mismatch.verify.cpp [moved from libcxx/test/std/containers/unord/unord.multiset/allocator_mismatch.compile.fail.cpp with 69% similarity]