[all-commits] [llvm/llvm-project] f6fd1c: [libc++] Overhaul all tests for assertions and deb...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Tue Mar 15 07:56:50 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f6fd1c1438f0686677e40c026a4c5d9c3780a8ac
https://github.com/llvm/llvm-project/commit/f6fd1c1438f0686677e40c026a4c5d9c3780a8ac
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2022-03-15 (Tue, 15 Mar 2022)
Changed paths:
A libcxx/test/libcxx/algorithms/debug_less.inconsistent.pass.cpp
M libcxx/test/libcxx/algorithms/debug_less.pass.cpp
M libcxx/test/libcxx/algorithms/nth_element_stability.pass.cpp
M libcxx/test/libcxx/algorithms/partial_sort_stability.pass.cpp
M libcxx/test/libcxx/algorithms/sort_stability.pass.cpp
A libcxx/test/libcxx/containers/sequences/array/array.zero/assert.back.pass.cpp
A libcxx/test/libcxx/containers/sequences/array/array.zero/assert.front.pass.cpp
A libcxx/test/libcxx/containers/sequences/array/array.zero/assert.subscript.pass.cpp
R libcxx/test/libcxx/containers/sequences/array/array.zero/db_back.pass.cpp
R libcxx/test/libcxx/containers/sequences/array/array.zero/db_front.pass.cpp
R libcxx/test/libcxx/containers/sequences/array/array.zero/db_indexing.pass.cpp
A libcxx/test/libcxx/containers/sequences/deque/assert.pop_back.empty.pass.cpp
R libcxx/test/libcxx/containers/sequences/deque/pop_back_empty.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.cons/db_copy.pass.cpp
A libcxx/test/libcxx/containers/sequences/list/list.cons/debug.copy.pass.cpp
A libcxx/test/libcxx/containers/sequences/list/list.modifiers/assert.erase_iter.end.pass.cpp
A libcxx/test/libcxx/containers/sequences/list/list.modifiers/assert.pop_back.empty.pass.cpp
A libcxx/test/libcxx/containers/sequences/list/list.modifiers/debug.emplace.pass.cpp
A libcxx/test/libcxx/containers/sequences/list/list.modifiers/debug.erase.iter.pass.cpp
A libcxx/test/libcxx/containers/sequences/list/list.modifiers/debug.erase.iter_iter.pass.cpp
A libcxx/test/libcxx/containers/sequences/list/list.modifiers/debug.insert.iter_iter_iter.pass.cpp
A libcxx/test/libcxx/containers/sequences/list/list.modifiers/debug.insert.iter_rvalue.pass.cpp
A libcxx/test/libcxx/containers/sequences/list/list.modifiers/debug.insert.iter_size_value.pass.cpp
A libcxx/test/libcxx/containers/sequences/list/list.modifiers/debug.insert.iter_value.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.modifiers/emplace_db1.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.modifiers/erase_iter_db1.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.modifiers/erase_iter_db2.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.modifiers/erase_iter_iter_db1.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.modifiers/erase_iter_iter_db2.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.modifiers/erase_iter_iter_db3.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.modifiers/erase_iter_iter_db4.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.modifiers/insert_iter_iter_iter_db1.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.modifiers/insert_iter_rvalue_db1.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.modifiers/insert_iter_size_value_db1.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.modifiers/insert_iter_value_db1.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.modifiers/pop_back_db1.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.ops/db_splice_pos_list.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.ops/db_splice_pos_list_iter.pass.cpp
R libcxx/test/libcxx/containers/sequences/list/list.ops/db_splice_pos_list_iter_iter.pass.cpp
A libcxx/test/libcxx/containers/sequences/list/list.ops/debug.splice.pos_list.pass.cpp
A libcxx/test/libcxx/containers/sequences/list/list.ops/debug.splice.pos_list_iter.pass.cpp
A libcxx/test/libcxx/containers/sequences/list/list.ops/debug.splice.pos_list_iter_iter.pass.cpp
A libcxx/test/libcxx/containers/sequences/vector/assert.back.empty.pass.cpp
A libcxx/test/libcxx/containers/sequences/vector/assert.cback.empty.pass.cpp
A libcxx/test/libcxx/containers/sequences/vector/assert.cfront.empty.pass.cpp
A libcxx/test/libcxx/containers/sequences/vector/assert.cindex.oob.pass.cpp
A libcxx/test/libcxx/containers/sequences/vector/assert.front.empty.pass.cpp
A libcxx/test/libcxx/containers/sequences/vector/assert.index.oob.pass.cpp
A libcxx/test/libcxx/containers/sequences/vector/assert.pop_back.empty.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_back.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_back_2.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_cback.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_cback_2.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_cfront.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_cfront_2.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_cindex.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_cindex_2.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_front.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_front_2.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_index.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_index_2.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_iterators_10.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_iterators_11.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_iterators_12.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_iterators_13.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_iterators_14.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_iterators_15.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_iterators_2.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_iterators_3.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_iterators_4.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_iterators_5.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_iterators_6.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_iterators_7.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_iterators_8.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/db_iterators_9.pass.cpp
A libcxx/test/libcxx/containers/sequences/vector/debug.iterator.add.pass.cpp
A libcxx/test/libcxx/containers/sequences/vector/debug.iterator.compare.pass.cpp
A libcxx/test/libcxx/containers/sequences/vector/debug.iterator.decrement.pass.cpp
A libcxx/test/libcxx/containers/sequences/vector/debug.iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/sequences/vector/debug.iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/sequences/vector/debug.iterator.index.pass.cpp
A libcxx/test/libcxx/containers/sequences/vector/debug.iterator.subtract.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/pop_back_empty.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/assert.bucket.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/assert.bucket_size.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/assert.max_load_factor.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/bucket_size.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/db_bucket.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/db_insert_hint_const_lvalue.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/db_insert_hint_rvalue.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/db_iterators_10.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/db_iterators_7.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/db_iterators_8.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/db_iterators_9.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/db_local_iterators_10.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/db_local_iterators_7.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/db_local_iterators_8.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/db_local_iterators_9.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/db_swap_1.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/debug.insert.hint_const_lvalue.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/debug.insert.hint_rvalue.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/debug.iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/debug.iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/debug.local_iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/debug.local_iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/debug.swap.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/max_load_factor.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/unord.map.modifiers/debug.erase.iter.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/unord.map.modifiers/debug.erase.iter_iter.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/unord.map.modifiers/erase_iter_db1.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/unord.map.modifiers/erase_iter_db2.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db1.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db2.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db3.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db4.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/assert.bucket.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/assert.bucket_size.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/assert.max_load_factor.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/bucket.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/bucket_size.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/db_insert_hint_const_lvalue.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/db_insert_hint_rvalue.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/db_iterators_10.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/db_iterators_7.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/db_iterators_8.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/db_iterators_9.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/db_local_iterators_10.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/db_local_iterators_7.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/db_local_iterators_8.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/db_local_iterators_9.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/db_swap_1.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/debug.insert.hint_const_lvalue.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/debug.insert.hint_rvalue.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/debug.iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/debug.iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/debug.local_iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/debug.local_iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/debug.swap.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/max_load_factor.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/unord.multimap.modifiers/debug.erase.iter.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/unord.multimap.modifiers/debug.erase.iter_iter.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_db1.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_db2.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db1.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db2.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db3.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/unord.multimap.modifiers/erase_iter_iter_db4.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/assert.bucket.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/assert.bucket_size.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/assert.max_load_factor.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/bucket.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/bucket_size.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/db_insert_hint_const_lvalue.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/db_iterators_10.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/db_iterators_7.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/db_iterators_8.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/db_iterators_9.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/db_local_iterators_10.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/db_local_iterators_7.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/db_local_iterators_8.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/db_local_iterators_9.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/db_swap_1.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/debug.erase.iter.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/debug.erase.iter_iter.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/debug.insert.hint_const_lvalue.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/debug.iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/debug.iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/debug.local_iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/debug.local_iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/debug.swap.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/erase_iter_db1.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/erase_iter_db2.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/erase_iter_iter_db1.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/erase_iter_iter_db2.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/erase_iter_iter_db3.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/erase_iter_iter_db4.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/max_load_factor.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/assert.bucket.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/assert.bucket_size.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/assert.max_load_factor.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/bucket.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/bucket_size.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/db_insert_hint_const_lvalue.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/db_iterators_10.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/db_iterators_7.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/db_iterators_8.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/db_iterators_9.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/db_local_iterators_10.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/db_local_iterators_7.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/db_local_iterators_8.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/db_local_iterators_9.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/db_swap_1.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/debug.erase.iter.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/debug.erase.iter_iter.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/debug.insert.hint_const_lvalue.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/debug.iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/debug.iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/debug.local_iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/debug.local_iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/debug.swap.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/erase_iter_db1.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/erase_iter_db2.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/erase_iter_iter_db1.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/erase_iter_iter_db2.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/erase_iter_iter_db3.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/erase_iter_iter_db4.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/max_load_factor.pass.cpp
A libcxx/test/libcxx/debug/check_assertion_test.pass.cpp
A libcxx/test/libcxx/debug/containers.multithread.pass.cpp
A libcxx/test/libcxx/debug/containers/associative_containers.pass.cpp
R libcxx/test/libcxx/debug/containers/db_associative_container_tests.pass.cpp
R libcxx/test/libcxx/debug/containers/db_sequence_container_iterators.multithread.pass.cpp
R libcxx/test/libcxx/debug/containers/db_sequence_container_iterators.pass.cpp
R libcxx/test/libcxx/debug/containers/db_string.pass.cpp
R libcxx/test/libcxx/debug/containers/db_unord_container_tests.pass.cpp
A libcxx/test/libcxx/debug/containers/sequence_container_iterators.pass.cpp
A libcxx/test/libcxx/debug/containers/string.pass.cpp
A libcxx/test/libcxx/debug/containers/unord_containers.pass.cpp
R libcxx/test/libcxx/debug/db_string_view.pass.cpp
M libcxx/test/libcxx/debug/debug_abort.pass.cpp
R libcxx/test/libcxx/debug/debug_helper_test.pass.cpp
R libcxx/test/libcxx/debug/debug_register.pass.cpp
A libcxx/test/libcxx/debug/register_debug_handler.pass.cpp
A libcxx/test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/assert.deallocate.pass.cpp
R libcxx/test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/deallocate.assert.pass.cpp
A libcxx/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/assert.deallocate.pass.cpp
R libcxx/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/deallocate.assert.pass.cpp
A libcxx/test/libcxx/input.output/filesystems/class.path/path.itr/assert.iterator.pass.cpp
R libcxx/test/libcxx/input.output/filesystems/class.path/path.itr/iterator_db.pass.cpp
R libcxx/test/libcxx/iterators/advance.debug1.pass.cpp
A libcxx/test/libcxx/iterators/assert.advance.pass.cpp
A libcxx/test/libcxx/iterators/assert.next.pass.cpp
A libcxx/test/libcxx/iterators/assert.prev.pass.cpp
R libcxx/test/libcxx/iterators/next.debug1.pass.cpp
R libcxx/test/libcxx/iterators/prev.debug1.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.access/assert.back.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.access/assert.cback.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.access/assert.cfront.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.access/assert.cindex.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.access/assert.front.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.access/assert.index.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/back.const.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/back.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/db_back.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/db_back_2.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/db_cback.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/db_cback_2.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/db_cfront.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/db_cfront_2.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/db_cindex.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/db_cindex_2.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/db_front.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/db_front_2.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/db_index.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/db_index_2.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/front.const.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/front.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/index.const.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.access/index.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.iterators/db_iterators_10.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.iterators/db_iterators_11.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.iterators/db_iterators_12.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.iterators/db_iterators_13.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.iterators/db_iterators_14.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.iterators/db_iterators_15.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.iterators/db_iterators_2.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.iterators/db_iterators_3.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.iterators/db_iterators_4.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.iterators/db_iterators_5.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.iterators/db_iterators_6.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.iterators/db_iterators_7.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.iterators/db_iterators_8.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.iterators/db_iterators_9.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.iterators/debug.iterator.add.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.iterators/debug.iterator.compare.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.iterators/debug.iterator.decrement.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.iterators/debug.iterator.dereference.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.iterators/debug.iterator.increment.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.iterators/debug.iterator.index.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.iterators/debug.iterator.subtract.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.modifiers/assert.erase_iter.null.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.modifiers/assert.pop_back.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.modifiers/debug.erase.iter.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.modifiers/debug.erase.iter_iter.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.modifiers/debug.insert.iter_char.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.modifiers/debug.insert.iter_iter_iter.pass.cpp
A libcxx/test/libcxx/strings/basic.string/string.modifiers/debug.insert.iter_size_char.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_db1.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_db2.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_db3.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_db4.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_iter_db1.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_iter_db2.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_iter_db3.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_iter_db4.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_iter_db5.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_iter_db6.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_iter_db7.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_iter_db8.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_pop_back_db1.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/insert_iter_char_db1.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/insert_iter_iter_iter_db1.pass.cpp
R libcxx/test/libcxx/strings/basic.string/string.modifiers/insert_iter_size_char_db1.pass.cpp
A libcxx/test/libcxx/strings/string.view/assert.ctor.pointer.pass.cpp
A libcxx/test/libcxx/thread/futures/futures.promise/assert.set_exception.pass.cpp
A libcxx/test/libcxx/thread/futures/futures.promise/assert.set_exception_at_thread_exit.pass.cpp
R libcxx/test/libcxx/thread/futures/futures.promise/set_exception.pass.cpp
R libcxx/test/libcxx/thread/futures/futures.promise/set_exception_at_thread_exit.pass.cpp
A libcxx/test/libcxx/utilities/optional/optional.object/optional.object.observe/assert.dereference.pass.cpp
A libcxx/test/libcxx/utilities/optional/optional.object/optional.object.observe/assert.op_arrow.pass.cpp
R libcxx/test/libcxx/utilities/optional/optional.object/optional.object.observe/dereference.pass.cpp
R libcxx/test/libcxx/utilities/optional/optional.object/optional.object.observe/dereference_const.pass.cpp
R libcxx/test/libcxx/utilities/optional/optional.object/optional.object.observe/dereference_const_rvalue.pass.cpp
R libcxx/test/libcxx/utilities/optional/optional.object/optional.object.observe/dereference_rvalue.pass.cpp
R libcxx/test/libcxx/utilities/optional/optional.object/optional.object.observe/op_arrow.pass.cpp
R libcxx/test/libcxx/utilities/optional/optional.object/optional.object.observe/op_arrow_const.pass.cpp
A libcxx/test/support/check_assertion.h
M libcxx/test/support/container_debug_tests.h
R libcxx/test/support/debug_macros.h
R libcxx/test/support/debug_mode_helper.h
M libcxx/utils/libcxx/test/params.py
Log Message:
-----------
[libc++] Overhaul all tests for assertions and debug mode
Prior to this patch, there was no distinction between tests that check
basic assertions and tests that check full-fledged iterator debugging
assertions. Both were disabled when support for the debug mode is not
provided in the dylib, which is stronger than it needs to be.
Furthermore, all of the tests using "debug_macros.h" that contain more
than one assertion in them were broken -- any code after the first
assertion would never be executed.
This patch refactors all of our assertion-related tests to:
1. Be enabled whenever they can, i.e. basic assertions tests are run
even when the debug mode is disabled.
2. Use the superior `check_assertion.h` (previously `debug_mode_helper.h`)
instead of `debug_macros.h`, which allows multiple assertions in the
same program.
3. Coalesce some tests into the same file to make them more readable.
4. Use consistent naming for test files -- no more db{1,2,3,...,10} tests.
This is a large but mostly mechanical patch.
Differential Revision: https://reviews.llvm.org/D121462
More information about the All-commits
mailing list