|
|
@ -269,7 +269,7 @@ if(WITH_DISTRIBUTE)
|
|
|
|
set(dist_ut_port 1000)
|
|
|
|
set(dist_ut_port 1000)
|
|
|
|
foreach(TEST_OP ${DIST_TEST_OPS})
|
|
|
|
foreach(TEST_OP ${DIST_TEST_OPS})
|
|
|
|
message(STATUS "set dist_ut_port=${dist_ut_port} on ${TEST_OP}")
|
|
|
|
message(STATUS "set dist_ut_port=${dist_ut_port} on ${TEST_OP}")
|
|
|
|
bash_test_modules(${TEST_OP} MODULES dist_test.sh SERIAL LABELS "RUN_TYPE=EXCLUSIVE" ENVS "PADDLE_DIST_UT_PORT=${dist_ut_port}")
|
|
|
|
bash_test_modules(${TEST_OP} MODULES dist_test.sh LABELS "RUN_TYPE=EXCLUSIVE" ENVS "PADDLE_DIST_UT_PORT=${dist_ut_port}")
|
|
|
|
MATH(EXPR dist_ut_port "${dist_ut_port}+50")
|
|
|
|
MATH(EXPR dist_ut_port "${dist_ut_port}+50")
|
|
|
|
endforeach(TEST_OP)
|
|
|
|
endforeach(TEST_OP)
|
|
|
|
endif(NOT APPLE)
|
|
|
|
endif(NOT APPLE)
|
|
|
|