add cmake for word2vec (#10890)
parent
b1d446856c
commit
e0d5702e82
@ -0,0 +1,7 @@
|
|||||||
|
file(GLOB TEST_OPS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "test_*.py")
|
||||||
|
string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}")
|
||||||
|
|
||||||
|
# default test
|
||||||
|
foreach(src ${TEST_OPS})
|
||||||
|
py_test(${src} SRCS ${src}.py)
|
||||||
|
endforeach()
|
||||||
Loading…
Reference in new issue