[libc++] Refactor the fuzzing tests
authorLouis Dionne <ldionne@apple.com>
Fri, 16 Oct 2020 14:33:18 +0000 (10:33 -0400)
committerLouis Dionne <ldionne@apple.com>
Mon, 19 Oct 2020 16:11:50 +0000 (12:11 -0400)
commitb4bd194378851c2f421477d4147019d10f2420ac
tree9c46062e91cd180421fc1045aa850b2eb5b1deeb
parentc89447b65984c97145f63be21e42cfa98da60dd2
[libc++] Refactor the fuzzing tests

Define all the fuzzing tests in libcxx/test/libcxx/fuzzing, and get
rid of the ad-hoc libcxx/fuzzing directory, which wasn't properly
integrated with the build system or test suite.

As a fly-by change, this also reduces the dependencies of fuzzing tests
on large library components like <iostream>, to make them work on more
platforms.
31 files changed:
libcxx/fuzzing/RoutineNames.txt [deleted file]
libcxx/fuzzing/fuzz_test.cpp [deleted file]
libcxx/fuzzing/fuzz_test_template.cpp [deleted file]
libcxx/fuzzing/fuzzing.cpp [deleted file]
libcxx/fuzzing/fuzzing.h [deleted file]
libcxx/test/libcxx/fuzzing/fuzz.h [new file with mode: 0644]
libcxx/test/libcxx/fuzzing/fuzzer_test.h [deleted file]
libcxx/test/libcxx/fuzzing/geometric_distribution.pass.cpp [deleted file]
libcxx/test/libcxx/fuzzing/make_heap.pass.cpp [new file with mode: 0644]
libcxx/test/libcxx/fuzzing/nth_element.pass.cpp
libcxx/test/libcxx/fuzzing/partial_sort.pass.cpp
libcxx/test/libcxx/fuzzing/partial_sort_copy.pass.cpp
libcxx/test/libcxx/fuzzing/partition.pass.cpp
libcxx/test/libcxx/fuzzing/partition_copy.pass.cpp
libcxx/test/libcxx/fuzzing/pop_heap.pass.cpp [new file with mode: 0644]
libcxx/test/libcxx/fuzzing/push_heap.pass.cpp [new file with mode: 0644]
libcxx/test/libcxx/fuzzing/random.pass.cpp [new file with mode: 0644]
libcxx/test/libcxx/fuzzing/regex.pass.cpp [new file with mode: 0644]
libcxx/test/libcxx/fuzzing/regex_ECMAScript.pass.cpp [deleted file]
libcxx/test/libcxx/fuzzing/regex_POSIX.pass.cpp [deleted file]
libcxx/test/libcxx/fuzzing/regex_awk.pass.cpp [deleted file]
libcxx/test/libcxx/fuzzing/regex_egrep.pass.cpp [deleted file]
libcxx/test/libcxx/fuzzing/regex_extended.pass.cpp [deleted file]
libcxx/test/libcxx/fuzzing/regex_grep.pass.cpp [deleted file]
libcxx/test/libcxx/fuzzing/search.pass.cpp [new file with mode: 0644]
libcxx/test/libcxx/fuzzing/sort.pass.cpp
libcxx/test/libcxx/fuzzing/stable_partition.pass.cpp
libcxx/test/libcxx/fuzzing/stable_sort.pass.cpp
libcxx/test/libcxx/fuzzing/unique.pass.cpp
libcxx/test/libcxx/fuzzing/unique_copy.pass.cpp
libcxx/utils/ci/oss-fuzz.sh