Skip to content

Commit 362b7d8

Browse files
committed
Rename gserver_test2 to gserver_test_with_python
1 parent 5715728 commit 362b7d8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

paddle/gserver/tests/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,21 @@ gserver_test(test_MaxPoolingWithMaskOutput)
3131
set(PYTHON_PATH
3232
${PADDLE_SOURCE_DIR}/paddle/.set_python_path.sh -d
3333
${PADDLE_SOURCE_DIR}/python/:${PADDLE_SOURCE_DIR}/paddle/gserver/tests)
34-
function(gserver_test2 TARGET)
34+
function(gserver_test_with_python TARGET)
3535
add_unittest_without_exec(${TARGET} ${TARGET}.cpp)
3636
add_test(NAME ${TARGET}
3737
COMMAND ${PYTHON_PATH} ${CMAKE_CURRENT_BINARY_DIR}/${TARGET}
3838
WORKING_DIRECTORY ${PADDLE_SOURCE_DIR}/paddle/)
3939
endfunction()
4040

41-
gserver_test2(test_PyDataProvider2)
41+
gserver_test_with_python(test_PyDataProvider2)
4242
if(WITH_PYTHON)
43-
gserver_test2(test_PyDataProvider)
43+
gserver_test_with_python(test_PyDataProvider)
4444
endif()
4545
if(NOT MOBILE_INFERENCE)
46-
gserver_test2(test_CompareTwoNets)
46+
gserver_test_with_python(test_CompareTwoNets)
4747
# 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)
4949
endif()
5050

5151
########## test_MKLDNN layers and activations ##########

0 commit comments

Comments
 (0)