[all-commits] [llvm/llvm-project] b4bd19: [libc++] Refactor the fuzzing tests

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Oct 19 09:12:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b4bd194378851c2f421477d4147019d10f2420ac
      https://github.com/llvm/llvm-project/commit/b4bd194378851c2f421477d4147019d10f2420ac
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-10-19 (Mon, 19 Oct 2020)

  Changed paths:
    R libcxx/fuzzing/RoutineNames.txt
    R libcxx/fuzzing/fuzz_test.cpp
    R libcxx/fuzzing/fuzz_test_template.cpp
    R libcxx/fuzzing/fuzzing.cpp
    R libcxx/fuzzing/fuzzing.h
    A libcxx/test/libcxx/fuzzing/fuzz.h
    R libcxx/test/libcxx/fuzzing/fuzzer_test.h
    R libcxx/test/libcxx/fuzzing/geometric_distribution.pass.cpp
    A libcxx/test/libcxx/fuzzing/make_heap.pass.cpp
    M libcxx/test/libcxx/fuzzing/nth_element.pass.cpp
    M libcxx/test/libcxx/fuzzing/partial_sort.pass.cpp
    M libcxx/test/libcxx/fuzzing/partial_sort_copy.pass.cpp
    M libcxx/test/libcxx/fuzzing/partition.pass.cpp
    M libcxx/test/libcxx/fuzzing/partition_copy.pass.cpp
    A libcxx/test/libcxx/fuzzing/pop_heap.pass.cpp
    A libcxx/test/libcxx/fuzzing/push_heap.pass.cpp
    A libcxx/test/libcxx/fuzzing/random.pass.cpp
    A libcxx/test/libcxx/fuzzing/regex.pass.cpp
    R libcxx/test/libcxx/fuzzing/regex_ECMAScript.pass.cpp
    R libcxx/test/libcxx/fuzzing/regex_POSIX.pass.cpp
    R libcxx/test/libcxx/fuzzing/regex_awk.pass.cpp
    R libcxx/test/libcxx/fuzzing/regex_egrep.pass.cpp
    R libcxx/test/libcxx/fuzzing/regex_extended.pass.cpp
    R libcxx/test/libcxx/fuzzing/regex_grep.pass.cpp
    A libcxx/test/libcxx/fuzzing/search.pass.cpp
    M libcxx/test/libcxx/fuzzing/sort.pass.cpp
    M libcxx/test/libcxx/fuzzing/stable_partition.pass.cpp
    M libcxx/test/libcxx/fuzzing/stable_sort.pass.cpp
    M libcxx/test/libcxx/fuzzing/unique.pass.cpp
    M libcxx/test/libcxx/fuzzing/unique_copy.pass.cpp
    M libcxx/utils/ci/oss-fuzz.sh

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list