CMakeLists.txt 890 字节
Newer Older
1 2
#################### test_config_parser #########################
add_test(NAME layers_test
3 4 5
  COMMAND ${PADDLE_SOURCE_DIR}/paddle/.set_python_path.sh -d ${PADDLE_SOURCE_DIR}/python/
        ${PYTHON_EXECUTABLE} ${PADDLE_SOURCE_DIR}/python/paddle/trainer_config_helpers/tests/layers_test.py
    WORKING_DIRECTORY ${PADDLE_SOURCE_DIR}/python/paddle)
6

7
add_test(NAME test_reset_hook
8 9 10
  COMMAND ${PADDLE_SOURCE_DIR}/paddle/.set_python_path.sh -d ${PADDLE_SOURCE_DIR}/python/
        ${PYTHON_EXECUTABLE} ${PADDLE_SOURCE_DIR}/python/paddle/trainer_config_helpers/tests/test_reset_hook.py
    WORKING_DIRECTORY ${PADDLE_SOURCE_DIR}/python/paddle)
11

Y
Yu Yang 已提交
12 13 14
add_paddle_exe(protobuf_equal ProtobufEqualMain.cpp)
add_test(NAME test_layerHelpers
  COMMAND
15
  ${PADDLE_SOURCE_DIR}/python/paddle/trainer_config_helpers/tests/configs/run_tests.sh ${PYTHON_EXECUTABLE}
Y
Yu Yang 已提交
16 17
  ${CMAKE_CURRENT_BINARY_DIR}/protobuf_equal
)