File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1170,8 +1170,9 @@ set -x
11701170 fi
11711171 if [ -a " $PADDLE_ROOT /added_ut" ]; then
11721172 added_uts=^$( awk BEGIN{RS=EOF}' {gsub(/\n/,"$|^");print}' $PADDLE_ROOT /added_ut) $
1173- ctest -R " (${added_uts} )" --output-on-failure --repeat-until-fail 3 --timeout 15; added_ut_error=$?
1174- if [ " $added_ut_error " != 0 ]; then
1173+ env CUDA_VISIBLE_DEVICES=0 ctest -R " (${added_uts} )" -LE " RUN_TYPE=DIST|RUN_TYPE=EXCLUSIVE" --output-on-failure --repeat-until-fail 3 --timeout 15; added_ut_error=$?
1174+ ctest -R " (${added_uts} )" -L " RUN_TYPE=DIST|RUN_TYPE=EXCLUSIVE" --output-on-failure --repeat-until-fail 3 --timeout 15; added_ut_error_1=$?
1175+ if [ " $added_ut_error " != 0 ] && [ " $added_ut_error_1 " != 0 ]; then
11751176 echo " ========================================"
11761177 echo " Added UT should not exceed 15 seconds"
11771178 echo " ========================================"
You can’t perform that action at this time.
0 commit comments