CMakeLists.txt 1.1 KB
Newer Older
L
Liu Yiqun 已提交
1
set(PYTHON_TESTS_DIR ${PADDLE_SOURCE_DIR}/python/paddle/v2/fluid/tests)
2 3 4 5
cc_test(test_inference_recognize_digits_mlp
    SRCS test_inference_recognize_digits.cc
    DEPS ARCHIVE_START paddle_fluid ARCHIVE_END
    ARGS --dirname=${PYTHON_TESTS_DIR}/book/recognize_digits_mlp.inference.model)
6 7 8 9 10 11 12 13
cc_test(test_inference_image_classification_vgg
    SRCS test_inference_image_classification.cc
    DEPS ARCHIVE_START paddle_fluid ARCHIVE_END
    ARGS --dirname=${PYTHON_TESTS_DIR}/book/image_classification_vgg.inference.model)
cc_test(test_inference_image_classification_resnet
    SRCS test_inference_image_classification.cc
    DEPS ARCHIVE_START paddle_fluid ARCHIVE_END
    ARGS --dirname=${PYTHON_TESTS_DIR}/book/image_classification_resnet.inference.model)
L
Liu Yiqun 已提交
14
set_tests_properties(test_inference_recognize_digits_mlp
15
    PROPERTIES DEPENDS test_recognize_digits)
16 17 18 19
set_tests_properties(test_inference_image_classification_vgg
    PROPERTIES DEPENDS test_image_classification_train)
set_tests_properties(test_inference_image_classification_resnet
    PROPERTIES DEPENDS test_image_classification_train)