projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: add libFuzzer based tests
[project/libubox.git]
/
tests
/
CMakeLists.txt
diff --git
a/tests/CMakeLists.txt
b/tests/CMakeLists.txt
index bd2205743318e09b47a5e2d352f610ea1edef536..0cb33427e45a5c5e24c5eb99893563e0fe42979e 100644
(file)
--- a/
tests/CMakeLists.txt
+++ b/
tests/CMakeLists.txt
@@
-12,3
+12,7
@@
FOREACH(test_case ${test_cases})
ADD_UNIT_TEST(${test_case})
ADD_UNIT_TEST_SAN(${test_case})
ENDFOREACH(test_case)
+
+IF(CMAKE_C_COMPILER_ID STREQUAL "Clang")
+ ADD_SUBDIRECTORY(fuzz)
+ENDIF()