CMakeLists.txt 282 字节
Newer Older
J
Jiabin Yang 已提交
1 2 3 4 5 6 7 8 9 10
file(
  GLOB TEST_OPS
  RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}"
  "test_*.py")
string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}")

foreach(TEST_OP ${TEST_OPS})
  py_test_modules(${TEST_OP} MODULES ${TEST_OP} ENVS ${GC_ENVS})
endforeach()

11
add_subdirectory(prim)
12
add_subdirectory(model)