File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ FetchContent_Declare(
1212
1313set (UR_TEST_DEVICES_COUNT 1 CACHE STRING "Count of devices on which conformance and adapters tests will be run" )
1414set (UR_TEST_PLATFORMS_COUNT 1 CACHE STRING "Count of platforms on which conformance and adapters tests will be run" )
15+ set (UR_TEST_FUZZTESTS ON CACHE BOOL "Run fuzz tests if using clang and UR_DPCXX is specified" )
1516# For Windows: Prevent overriding the parent project's compiler/linker settings
1617set (gtest_force_shared_crt ON CACHE BOOL "" FORCE)
1718FetchContent_MakeAvailable(googletest)
@@ -30,6 +31,6 @@ add_subdirectory(mock)
3031if (UR_BUILD_TOOLS)
3132 add_subdirectory (tools)
3233endif ()
33- if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND UR_DPCXX)
34+ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND UR_DPCXX AND UR_TEST_FUZZTESTS )
3435 add_subdirectory (fuzz)
3536endif ()
You can’t perform that action at this time.
0 commit comments