CMakeLists.txt 329 字节
Newer Older
1 2 3 4 5 6 7
file(GLOB TEST_OPS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "test_*.py")
string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}")

if (WITH_MLU)
    foreach(TEST_OP ${TEST_OPS})
        py_test_modules(${TEST_OP} MODULES ${TEST_OP})
    endforeach(TEST_OP)
8
    set_tests_properties(test_collective_broadcast PROPERTIES TIMEOUT 120)
9
endif()