Browse Source

get the fuzzer built and running as part of Ctest

pull/583/head
Chris Wolfe 5 years ago
parent
commit
5aa12028c9
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      fuzz/CMakeLists.txt
  2. +1
    -0
      fuzz/tests/valid.json

+ 1
- 0
fuzz/CMakeLists.txt View File

@@ -21,4 +21,5 @@ foreach(FUZZERNAME
json-c
${fuzzing_engine})

add_test(NAME test_${FUZZERNAME} COMMAND ${CMAKE_BINARY_DIR}/fuzz/${FUZZERNAME} ${CMAKE_SOURCE_DIR}/fuzz/tests/valid.json)
endforeach(FUZZERNAME)

+ 1
- 0
fuzz/tests/valid.json View File

@@ -0,0 +1 @@
{"foo":123}

Loading…
Cancel
Save