1
0
mirror of synced 2025-06-12 07:41:53 +03:00

Run fuzz test in CTest (#1707)

This commit is contained in:
Jiwoo Park
2023-11-10 09:35:15 +09:00
committed by GitHub
parent 1d6b22b5f0
commit 97ae6733ed
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,10 @@
file(GLOB HTTPLIB_CORPUS corpus/*)
add_executable(httplib-test-fuzz
server_fuzzer.cc
standalone_fuzz_target_runner.cpp
)
target_link_libraries(httplib-test-fuzz PRIVATE httplib)
add_test(
NAME httplib-test-fuzz
COMMAND httplib-test-fuzz ${HTTPLIB_CORPUS}
)