@@ -214,7 +214,7 @@ option(EXECUTORCH_BUILD_KERNELS_QUANTIZED "Build the quantized kernels" OFF)
214
214
215
215
option (EXECUTORCH_BUILD_DEVTOOLS "Build the ExecuTorch Developer Tools" )
216
216
217
- option (EXECUTORCH_BUILD_TESTS "Build CMake-based unit tests" ON )
217
+ option (EXECUTORCH_BUILD_TESTS "Build CMake-based unit tests" OFF )
218
218
219
219
option (EXECUTORCH_NNLIB_OPT "Build Cadence backend Hifi nnlib kernel" OFF )
220
220
@@ -833,26 +833,7 @@ if(EXECUTORCH_BUILD_VULKAN)
833
833
add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /backends/vulkan )
834
834
endif ()
835
835
836
- if (BUILD_TESTING )
837
- # This contains the list of tests which are always built
838
- add_subdirectory (extension/evalue_util/test )
839
- add_subdirectory (extension/kernel_util/test )
840
- add_subdirectory (extension/memory_allocator/test )
841
- add_subdirectory (extension/parallel/test )
842
- add_subdirectory (extension/pytree/test )
843
- add_subdirectory (kernels/portable/test )
844
- add_subdirectory (kernels/portable/cpu/util/test )
845
- add_subdirectory (kernels/prim_ops/test )
846
- add_subdirectory (kernels/test )
847
- add_subdirectory (runtime/core/exec_aten/testing_util/test )
848
- add_subdirectory (runtime/core/exec_aten/util/test )
849
- add_subdirectory (runtime/core/portable_type/test )
850
- add_subdirectory (runtime/core/test )
851
- add_subdirectory (runtime/executor/test )
852
- add_subdirectory (runtime/kernel/test )
853
- add_subdirectory (runtime/platform/test )
854
- add_subdirectory (test /utils )
855
- endif ()
836
+ include (Test .cmake )
856
837
857
838
# Print all summary
858
839
executorch_print_configuration_summary ()
0 commit comments