forked from boostorg/beast
Register tests in CMakeLists
This commit is contained in:
1 parent
827ecf5e93
commit
9c184406ea
11 files changed
+44
No files matched your search
@@ -110,6 +110,12 @@ function(add_boost_beast_fuzzer NAME)
|
||||
add_dependencies(boost_beast_fuzz_all fuzz_${NAME})
|
||||
set_target_properties(fuzz_${NAME} PROPERTIES FOLDER "UBSAN_OPTIONS=halt_on_error=false")
|
||||
set_target_properties(fuzz_${NAME} PROPERTIES FOLDER "fuzzing")
|
||||
if (BOOST_BEAST_FUZZER_ADD_TO_CTEST)
|
||||
add_test(
|
||||
NAME test_fuzz_${NAME}
|
||||
COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} --target fuzz_${NAME})
|
||||
add_dependencies(tests test_fuzz_${NAME})
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
# Register all fuzzers
|
||||
|
||||
Reference in new issue
Block a user