File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,21 +31,21 @@ gserver_test(test_MaxPoolingWithMaskOutput)
31
31
set (PYTHON_PATH
32
32
${PADDLE_SOURCE_DIR} /paddle/.set_python_path.sh -d
33
33
${PADDLE_SOURCE_DIR} /python/:${PADDLE_SOURCE_DIR}/paddle/gserver/tests )
34
- function (gserver_test2 TARGET )
34
+ function (gserver_test_with_python TARGET )
35
35
add_unittest_without_exec (${TARGET} ${TARGET} .cpp )
36
36
add_test (NAME ${TARGET}
37
37
COMMAND ${PYTHON_PATH} ${CMAKE_CURRENT_BINARY_DIR} /${TARGET}
38
38
WORKING_DIRECTORY ${PADDLE_SOURCE_DIR} /paddle/ )
39
39
endfunction ()
40
40
41
- gserver_test2 (test_PyDataProvider2 )
41
+ gserver_test_with_python (test_PyDataProvider2 )
42
42
if (WITH_PYTHON )
43
- gserver_test2 (test_PyDataProvider )
43
+ gserver_test_with_python (test_PyDataProvider )
44
44
endif ()
45
45
if (NOT MOBILE_INFERENCE )
46
- gserver_test2 (test_CompareTwoNets )
46
+ gserver_test_with_python (test_CompareTwoNets )
47
47
# TODO(yuyang18): There is some bug in test_RecurrentGradientMachine, I will fix it.
48
- gserver_test2 (test_RecurrentGradientMachine )
48
+ gserver_test_with_python (test_RecurrentGradientMachine )
49
49
endif ()
50
50
51
51
########## test_MKLDNN layers and activations ##########
You can’t perform that action at this time.
0 commit comments