File tree 2 files changed +10
-6
lines changed
2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -252,11 +252,14 @@ if (BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/autotest")
252
252
add_subdirectory (autotest)
253
253
endif ()
254
254
endif ()
255
- # Google OSS-Fuzz project utilities
256
- add_subdirectory (fuzzers)
257
- if (BUILD_TESTING)
255
+ if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR} /fuzzers" )
256
+ # Google OSS-Fuzz project utilities
257
+ add_subdirectory (fuzzers)
258
+ if (BUILD_TESTING)
259
+ add_subdirectory (fuzzers/tests)
260
+ endif ()
261
+ endif ()
262
+ if (BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR} /perftests" )
258
263
add_subdirectory (perftests)
259
- # Google OSS-Fuzz tests
260
- add_subdirectory (fuzzers/tests)
261
264
endif ()
262
265
# vim: ts=4 sw=4 sts=4 et
Original file line number Diff line number Diff line change 153
153
154
154
cd " $CWD "
155
155
156
- echo " * Cleaning doc/ and perftests/ under $CWD ..."
156
+ echo " * Cleaning doc/, fuzzers/ and perftests/ under $CWD ..."
157
157
rm -rf doc
158
+ rm -rf fuzzers
158
159
rm -rf perftests
159
160
160
161
#
You can’t perform that action at this time.
0 commit comments