Skip to content

Commit d1b5172

Browse files
ligurioBuristan
authored andcommitted
cmake: fix a path to corpus
Follows up commit 83becb1 ("cmake: support C/C++ fuzzing tests by CTest"). NO_CHANGELOG=testing NO_DOC=testing NO_TEST=testing
1 parent 437f2fa commit d1b5172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fuzz/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function(create_fuzz_test)
8888
if(EXISTS ${dict_path})
8989
list(APPEND LIBFUZZER_OPTS_EFFECTIVE "-dict=${dict_path}")
9090
endif()
91-
set(corpus_path ${PROJECT_SOURCE_DIR}/test/static/${FUZZ_PREFIX})
91+
set(corpus_path ${PROJECT_SOURCE_DIR}/test/static/corpus/${FUZZ_PREFIX})
9292
if(EXISTS ${corpus_path})
9393
list(APPEND LIBFUZZER_OPTS_EFFECTIVE "${corpus_path}")
9494
endif()

0 commit comments

Comments
 (0)