summaryrefslogtreecommitdiffstats
path: root/testfiles
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2017-10-28 16:46:05 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2017-10-28 16:47:33 +0000
commit7e6670263c3a42dfe70a4e97009f25259d7f6a4c (patch)
tree161dfdd25f64c860307748ee613ba66a9d419436 /testfiles
parentMerge branch 'master' of https://gitlab.com/inkscape/inkscape (diff)
downloadinkscape-7e6670263c3a42dfe70a4e97009f25259d7f6a4c.tar.gz
inkscape-7e6670263c3a42dfe70a4e97009f25259d7f6a4c.zip
simpler structure -- compilers and flags have to be given externally
Diffstat (limited to 'testfiles')
-rw-r--r--testfiles/CMakeLists.txt9
-rw-r--r--testfiles/fuzzer.dict (renamed from testfiles/fuzz-dict)0
2 files changed, 5 insertions, 4 deletions
diff --git a/testfiles/CMakeLists.txt b/testfiles/CMakeLists.txt
index 5dba0258b..923898fc3 100644
--- a/testfiles/CMakeLists.txt
+++ b/testfiles/CMakeLists.txt
@@ -34,8 +34,9 @@ add_subdirectory(rendering_tests)
if(WITH_FUZZ)
add_executable(fuzz fuzzer.cpp)
- target_link_libraries(fuzz inkscape_base -lFuzzer "-fsanitize=address"
- "-fsanitize-coverage=edge,trace-pc-guard,indirect-calls,trace-cmp,trace-div,trace-gep"
- "-fno-omit-frame-pointer")
-
+ if(EXISTS ${LIB_FUZZING_ENGINE})
+ target_link_libraries(fuzz inkscape_base -lFuzzingEngine)
+ else()
+ target_link_libraries(fuzz inkscape_base -lFuzzer)
+ endif()
endif()
diff --git a/testfiles/fuzz-dict b/testfiles/fuzzer.dict
index 7eee0d0a0..7eee0d0a0 100644
--- a/testfiles/fuzz-dict
+++ b/testfiles/fuzzer.dict