diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 68ddd3dc652b7be24b5082c1c7c8f2dcfff4050f..8b839d025f33627d856654450b7b38a7105df128 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -704,7 +704,7 @@ set +x card_test "$multiple_card_tests" 2 # run cases with two GPUs card_test "$exclusive_tests" # run cases exclusively, in this cases would be run with 4/8 GPUs if [[ "$EXIT_CODE" != "0" ]]; then - exit 1; + exit 8; fi set -ex fi