File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,12 @@ add_unittest(capi_test_mats test_Vector.cpp
33
44target_include_directories (capi_test_mats PUBLIC ${PADDLE_CAPI_INC_PATH} )
55target_link_libraries (capi_test_mats paddle_capi)
6- add_unittest(capi_test_gradientMachine test_GradientMachine.cpp)
76
7+
8+ add_unittest_without_exec(capi_test_gradientMachine test_GradientMachine.cpp)
89target_include_directories (capi_test_gradientMachine PUBLIC
910 ${PADDLE_CAPI_INC_PATH} )
1011target_link_libraries (capi_test_gradientMachine paddle_capi)
12+ add_test (NAME capi_test_gradientMachine
13+ COMMAND ${PROJ_ROOT} /paddle/.set_python_path.sh -d ${PROJ_ROOT} /python ${CMAKE_CURRENT_BINARY_DIR} /capi_test_gradientMachine
14+ WORKING_DIRECTORY ${PROJ_ROOT} /paddle/capi/tests)
You can’t perform that action at this time.
0 commit comments