mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 10:40:27 +09:00
ctest: Run the ssh_server_fuzzer to check it works
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
@@ -9,4 +9,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
|||||||
PROPERTIES
|
PROPERTIES
|
||||||
COMPILE_FLAGS "-fsanitize=fuzzer"
|
COMPILE_FLAGS "-fsanitize=fuzzer"
|
||||||
LINK_FLAGS "-fsanitize=fuzzer")
|
LINK_FLAGS "-fsanitize=fuzzer")
|
||||||
|
|
||||||
|
# Run the fuzzer to make sure it works
|
||||||
|
add_test(ssh_server_fuzzer ${CMAKE_CURRENT_BINARY_DIR}/ssh_server_fuzzer -runs=1)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user