From f144740b7313bba333c4a90e8081254c8fe34b9e Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Thu, 30 May 2019 22:10:05 +0800 Subject: [PATCH] change ci ctest exit code (#17745) --- paddle/scripts/paddle_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 68ddd3dc65..8b839d025f 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 -- GitLab