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

Y
YUNSHEN XIE 已提交
4

5
foreach(src ${TEST_OPS})
6
  py_test(${src} SRCS ${src}.py)
7
endforeach()
8

9
add_subdirectory(unittests)
10
add_subdirectory(book)
11
add_subdirectory(custom_op)
12

Y
YUNSHEN XIE 已提交
13
set_tests_properties(test_beam_search_decoder PROPERTIES TIMEOUT 120)