CMakeLists.txt 970 字节
Newer Older
1 2
#################### test_config_parser #########################
add_test(NAME layers_test
3
  COMMAND ${PADDLE_SOURCE_DIR}/paddle/.set_python_path.sh -d ${PADDLE_BINARY_DIR}/python/
4 5
        ${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
  COMMAND ${PADDLE_SOURCE_DIR}/paddle/.set_python_path.sh -d ${PADDLE_BINARY_DIR}/python/
9 10
        ${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
add_paddle_exe(protobuf_equal ProtobufEqualMain.cpp)
add_test(NAME test_layerHelpers
14 15
  COMMAND ${PADDLE_SOURCE_DIR}/paddle/.set_python_path.sh -d ${PADDLE_BINARY_DIR}/python/
  ${PADDLE_BINARY_DIR}/python/paddle/trainer_config_helpers/tests/configs/run_tests.sh ${PYTHON_EXECUTABLE}
Y
Yu Yang 已提交
16 17
  ${CMAKE_CURRENT_BINARY_DIR}/protobuf_equal
)