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
3
3
4
4
target_include_directories (capi_test_mats PUBLIC ${PADDLE_CAPI_INC_PATH} )
5
5
target_link_libraries (capi_test_mats paddle_capi)
6
- add_unittest(capi_test_gradientMachine test_GradientMachine.cpp)
7
6
7
+
8
+ add_unittest_without_exec(capi_test_gradientMachine test_GradientMachine.cpp)
8
9
target_include_directories (capi_test_gradientMachine PUBLIC
9
10
${PADDLE_CAPI_INC_PATH} )
10
11
target_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