Includes basic CMake/CTest driver for restructured tests
remove old test directory, rename testsuite->test
Paths
| Differential D59110
Restructure existing test suite to follow libc++ standard layout AbandonedPublic Authored by rodgert on Mar 7 2019, 2:17 PM.
Details
Diff Detail
Event Timelineldionne added inline comments.
This revision now requires changes to proceed.Mar 12 2019, 7:56 AM Comment Actions To be clear about what I'd like: please do not add CMakeLists.txts all over the tree, instead keep relying on GLOB_RECURSE like my current test/CMakeLists.txt does. Comment Actions
Sure, I can make that change. The CMakeLists.txt's were generated by a migration script I wrote to restructure the original test suite. I expected to nuke all of that anyway once lit was tackled. ldionne added inline comments.
This revision now requires changes to proceed.Mar 20 2019, 12:32 PM
Revision Contents
Diff 189784 CMakeLists.txt
test/CMakeLists.txt
test/std/CMakeLists.txt
test/std/algorithms/CMakeLists.txt
test/std/algorithms/alg.merge/CMakeLists.txt
test/std/algorithms/alg.merge/inplace_merge.pass.cpp
test/std/algorithms/alg.merge/merge.pass.cpp
test/std/algorithms/alg.modifying.operations/CMakeLists.txt
test/std/algorithms/alg.modifying.operations/alg.copy/CMakeLists.txt
test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp
test/std/algorithms/alg.modifying.operations/alg.partitions/CMakeLists.txt
test/std/algorithms/alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp
test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp
test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp
test/std/algorithms/alg.modifying.operations/alg.reverse/CMakeLists.txt
test/std/algorithms/alg.modifying.operations/alg.reverse/reverse.pass.cpp
test/std/algorithms/alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp
test/std/algorithms/alg.modifying.operations/copy_move.pass.cpp
test/std/algorithms/alg.modifying.operations/fill.pass.cpp
test/std/algorithms/alg.modifying.operations/generate.pass.cpp
test/std/algorithms/alg.modifying.operations/remove.pass.cpp
test/std/algorithms/alg.modifying.operations/remove_copy.pass.cpp
test/std/algorithms/alg.modifying.operations/replace.pass.cpp
test/std/algorithms/alg.modifying.operations/replace_copy.pass.cpp
test/std/algorithms/alg.modifying.operations/rotate.pass.cpp
test/std/algorithms/alg.modifying.operations/rotate_copy.pass.cpp
test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp
test/std/algorithms/alg.modifying.operations/transform_binary.pass.cpp
test/std/algorithms/alg.modifying.operations/transform_unary.pass.cpp
test/std/algorithms/alg.modifying.operations/unique.pass.cpp
test/std/algorithms/alg.modifying.operations/unique_copy_equal.pass.cpp
test/std/algorithms/alg.nonmodifying/CMakeLists.txt
test/std/algorithms/alg.nonmodifying/adjacent_find.pass.cpp
test/std/algorithms/alg.nonmodifying/all_of.pass.cpp
test/std/algorithms/alg.nonmodifying/any_of.pass.cpp
test/std/algorithms/alg.nonmodifying/count.pass.cpp
test/std/algorithms/alg.nonmodifying/equal.pass.cpp
test/std/algorithms/alg.nonmodifying/find.pass.cpp
test/std/algorithms/alg.nonmodifying/find_end.pass.cpp
test/std/algorithms/alg.nonmodifying/find_first_of.pass.cpp
test/std/algorithms/alg.nonmodifying/find_if.pass.cpp
test/std/algorithms/alg.nonmodifying/for_each.pass.cpp
test/std/algorithms/alg.nonmodifying/mismatch.pass.cpp
test/std/algorithms/alg.nonmodifying/none_of.pass.cpp
test/std/algorithms/alg.nonmodifying/nth_element.pass.cpp
test/std/algorithms/alg.nonmodifying/search_n.pass.cpp
test/std/algorithms/alg.sorting/CMakeLists.txt
test/std/algorithms/alg.sorting/alg.heap.operations/CMakeLists.txt
test/std/algorithms/alg.sorting/alg.heap.operations/is_heap.pass.cpp
test/std/algorithms/alg.sorting/alg.lex.comparison/CMakeLists.txt
test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp
test/std/algorithms/alg.sorting/alg.min.max/CMakeLists.txt
test/std/algorithms/alg.sorting/alg.min.max/minmax_element.pass.cpp
test/std/algorithms/alg.sorting/alg.set.operations/CMakeLists.txt
test/std/algorithms/alg.sorting/alg.set.operations/includes.pass.cpp
test/std/algorithms/alg.sorting/alg.set.operations/set.pass.cpp
test/std/algorithms/alg.sorting/is_sorted.pass.cpp
test/std/algorithms/alg.sorting/partial_sort.pass.cpp
test/std/algorithms/alg.sorting/partial_sort_copy.pass.cpp
test/std/algorithms/alg.sorting/sort.pass.cpp
test/std/numerics/numeric.ops/CMakeLists.txt
test/std/numerics/numeric.ops/adjacent_difference.pass.cpp
test/std/numerics/numeric.ops/reduce.pass.cpp
test/std/numerics/numeric.ops/scan.pass.cpp
test/std/numerics/numeric.ops/transform_reduce.pass.cpp
test/std/numerics/numeric.ops/transform_scan.pass.cpp
test/std/utilities/memory/CMakeLists.txt
test/std/utilities/memory/specialized.algorithms/CMakeLists.txt
test/std/utilities/memory/specialized.algorithms/uninitialized_construct.pass.cpp
test/std/utilities/memory/specialized.algorithms/uninitialized_copy_move.pass.cpp
test/std/utilities/memory/specialized.algorithms/uninitialized_fill_destroy.pass.cpp
test/support/pstl_test_config.h
test/support/utils.h
test/test_adjacent_difference.cpp
test/test_adjacent_find.cpp
test/test_copy_if.cpp
test/test_copy_move.cpp
test/test_fill.cpp
test/test_find_end.cpp
test/test_find_first_of.cpp
test/test_for_each.cpp
test/test_generate.cpp
test/test_includes.cpp
test/test_inplace_merge.cpp
test/test_is_heap.cpp
test/test_is_partitioned.cpp
test/test_lexicographical_compare.cpp
test/test_minmax_element.cpp
test/test_mismatch.cpp
test/test_nth_element.cpp
test/test_partial_sort.cpp
test/test_partial_sort_copy.cpp
test/test_partition.cpp
test/test_partition_copy.cpp
test/test_remove.cpp
test/test_remove_copy.cpp
test/test_replace.cpp
test/test_replace_copy.cpp
test/test_reverse.cpp
test/test_reverse_copy.cpp
test/test_rotate.cpp
test/test_rotate_copy.cpp
test/test_search_n.cpp
test/test_set.cpp
test/test_swap_ranges.cpp
test/test_transform_binary.cpp
test/test_transform_reduce.cpp
test/test_transform_scan.cpp
test/test_transform_unary.cpp
test/test_uninitialized_construct.cpp
test/test_uninitialized_copy_move.cpp
test/test_uninitialized_fill_destroy.cpp
test/test_unique.cpp
|
I don't understand why we're changing this file. The previous one works just as well, but it does not require adding CMakeLists.txts all over the place in the tree (which just won't scale to the number of tests that will be in the suite).
The next improvement over this should be to run the tests with lit (but should be tackled separately).