Files
2026-07-13 12:40:42 +08:00

14 lines
627 B
CMake

if(WITH_TESTING)
if(WITH_GPU)
py_test(test_cpp_extension_setup SRCS test_cpp_extension_setup.py)
py_test(test_cpp_extension_jit SRCS test_cpp_extension_jit.py)
py_test(test_cpp_extension_ninja SRCS test_cpp_extension_ninja.py)
set_tests_properties(test_cpp_extension_setup PROPERTIES TIMEOUT 120)
set_tests_properties(test_cpp_extension_jit PROPERTIES TIMEOUT 120)
set_tests_properties(test_cpp_extension_ninja PROPERTIES TIMEOUT 120)
endif()
py_test(test_mixed_extension_setup SRCS test_mixed_extension_setup.py)
set_tests_properties(test_mixed_extension_setup PROPERTIES TIMEOUT 120)
endif()