summaryrefslogtreecommitdiff
path: root/testprogs/CMakeLists.txt
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2026-01-07 12:56:48 -0400
committerJoseph Mingrone <jrm@FreeBSD.org>2026-01-07 12:56:48 -0400
commit0a1fbf4c244d5cfb242d3d7b146fea2ee676d46d (patch)
tree603f2cb82ae91e7dfc1174391a1f096db62827bf /testprogs/CMakeLists.txt
parent025be3f592b920ff0a3e602e5aa8b60a34e5e617 (diff)
Diffstat (limited to 'testprogs/CMakeLists.txt')
-rw-r--r--testprogs/CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/testprogs/CMakeLists.txt b/testprogs/CMakeLists.txt
index 567f42aa6ed7..f0405f1e57a8 100644
--- a/testprogs/CMakeLists.txt
+++ b/testprogs/CMakeLists.txt
@@ -33,6 +33,7 @@ add_test_executable(findalldevstest)
add_test_executable(findalldevstest-perf)
add_test_executable(opentest)
add_test_executable(reactivatetest)
+add_test_executable(versiontest)
add_test_executable(writecaptest)
if(NOT WIN32)
@@ -48,4 +49,10 @@ if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR
add_test_executable(valgrindtest)
endif()
-add_subdirectory(fuzz)
+if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR
+ CMAKE_SYSTEM_NAME STREQUAL "Darwin" OR
+ CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ if(IS_DIRECTORY ${CMAKE_HOME_DIRECTORY}/.git)
+ add_subdirectory(fuzz)
+ endif(IS_DIRECTORY ${CMAKE_HOME_DIRECTORY}/.git)
+endif()