From 549f24b5f1fb05bbe27b7b9bf6b443c72491171b Mon Sep 17 00:00:00 2001 From: gongweibao Date: Sun, 15 Dec 2019 14:38:05 +0800 Subject: [PATCH] run dist tests parallel(#21751) --- python/paddle/fluid/tests/unittests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/unittests/CMakeLists.txt b/python/paddle/fluid/tests/unittests/CMakeLists.txt index ae706fadce..70fa1178f9 100644 --- a/python/paddle/fluid/tests/unittests/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/CMakeLists.txt @@ -269,7 +269,7 @@ if(WITH_DISTRIBUTE) set(dist_ut_port 1000) foreach(TEST_OP ${DIST_TEST_OPS}) 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") endforeach(TEST_OP) endif(NOT APPLE) -- GitLab