提交 549f24b5 编写于 作者: G gongweibao 提交者: Tao Luo

run dist tests parallel(#21751)

上级 a6e935f4
...@@ -269,7 +269,7 @@ if(WITH_DISTRIBUTE) ...@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册