Remove fuzztest support from OR-Tools (#4938)

* Remove fuzztest support from OR-Tools
This commit is contained in:
Guillaume Chatelet
2025-12-07 10:13:41 +01:00
committed by Corentin Le Molgat
parent e09ed7a33a
commit 7345481dfe
14 changed files with 18 additions and 444 deletions

View File

@@ -121,9 +121,6 @@ if(BUILD_TESTING)
if(NOT TARGET benchmark::benchmark)
message(FATAL_ERROR "Target benchmark::benchmark not available.")
endif()
if(USE_fuzztest AND NOT TARGET fuzztest::fuzztest)
message(FATAL_ERROR "Target fuzztest::fuzztest not available.")
endif()
endif()
# Check language Dependencies

View File

@@ -573,20 +573,3 @@ if(BUILD_benchmark)
list(POP_BACK CMAKE_MESSAGE_INDENT)
message(CHECK_PASS "fetched")
endif()
if(BUILD_fuzztest)
message(CHECK_START "Fetching fuzztest")
list(APPEND CMAKE_MESSAGE_INDENT " ")
FetchContent_Declare(
fuzztest
GIT_REPOSITORY https://github.com/google/fuzztest.git
GIT_TAG 2025-08-05
GIT_SHALLOW TRUE
UPDATE_COMMAND git reset --hard
PATCH_COMMAND git apply --ignore-whitespace
"${CMAKE_CURRENT_LIST_DIR}/../../patches/fuzztest-2025-08-05.patch"
)
FetchContent_MakeAvailable(fuzztest)
list(POP_BACK CMAKE_MESSAGE_INDENT)
message(CHECK_PASS "fetched")
endif()

View File

@@ -112,12 +112,6 @@ if(BUILD_TESTING)
if(NOT BUILD_benchmark AND NOT TARGET benchmark::benchmark)
find_package(benchmark REQUIRED)
endif()
if(USE_fuzztest)
if(NOT BUILD_fuzztest AND NOT TARGET fuzztest::fuzztest)
find_package(fuzztest REQUIRED)
endif()
endif()
endif()
# Check language Dependencies