diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 6b2028d8fe2bdb5c6303000811a8306d64344ec0..ed89e9b1548e491400c10e6efc523c44a2d84adc 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -620,18 +620,14 @@ function card_test() { done if [ ${TESTING_DEBUG_MODE:-OFF} == "ON" ] ; then if [[ $cardnumber == $CUDA_DEVICE_COUNT ]]; then - echo "ctest -I $i,,$NUM_PROC -R \"($testcases)\" -V &" ctest -I $i,,$NUM_PROC -R "($testcases)" -V & else - echo "env CUDA_VISIBLE_DEVICES=$cuda_list ctest -I $i,,$NUM_PROC -R \"($testcases)\" &" env CUDA_VISIBLE_DEVICES=$cuda_list ctest -I $i,,$NUM_PROC -R "($testcases)" -V & fi else if [[ $cardnumber == $CUDA_DEVICE_COUNT ]]; then - echo "ctest -I $i,,$NUM_PROC -R \"($testcases)\" --output-on-failure &" ctest -I $i,,$NUM_PROC -R "($testcases)" --output-on-failure & else - echo "env CUDA_VISIBLE_DEVICES=$cuda_list ctest -I $i,,$NUM_PROC -R \"($testcases)\" --output-on-failure &" env CUDA_VISIBLE_DEVICES=$cuda_list ctest -I $i,,$NUM_PROC -R "($testcases)" --output-on-failure & fi fi