CMakeLists.txt 803 字节
Newer Older
1 2 3
add_test(NAME test_v2_api
        COMMAND bash ${PROJ_ROOT}/python/paddle/v2/tests/run_tests.sh ${PYTHON_EXECUTABLE})

Q
qiaolongfei 已提交
4
add_test(NAME test_v2_layer
Q
qiaolongfei 已提交
5
        COMMAND ${PROJ_ROOT}/paddle/.set_python_path.sh -d ${PROJ_ROOT}/python/
6 7
        ${PYTHON_EXECUTABLE} ${PROJ_ROOT}/python/paddle/v2/tests/test_layer.py
        WORKING_DIRECTORY ${PROJ_ROOT}/python/paddle)
Q
qiaolongfei 已提交
8 9 10 11

add_test(NAME test_v2_rnn_layer
        COMMAND ${PROJ_ROOT}/paddle/.set_python_path.sh -d ${PROJ_ROOT}/python/
        ${PYTHON_EXECUTABLE} ${PROJ_ROOT}/python/paddle/v2/tests/test_rnn_layer.py)
12

13

14
add_test(NAME test_topology
Q
qiaolongfei 已提交
15
        COMMAND ${PROJ_ROOT}/paddle/.set_python_path.sh -d ${PROJ_ROOT}/python/
Q
qiaolongfei 已提交
16
        ${PYTHON_EXECUTABLE} ${PROJ_ROOT}/python/paddle/v2/tests/test_topology.py
Q
qiaolongfei 已提交
17
        WORKING_DIRECTORY ${PROJ_ROOT}/python/paddle)