diff options
author | Robert Guo <robert.guo@mongodb.com> | 2021-12-02 16:21:52 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-12-02 17:12:47 +0000 |
commit | 0fec1c75cd6590b5ca7ec0b4f5cd0fcb75b66a36 (patch) | |
tree | 23f015bf400f450434b1427011a7c117dbde212e /evergreen | |
parent | be3181ae244732d15e09571f2dc0488800bba26b (diff) | |
download | mongo-0fec1c75cd6590b5ca7ec0b4f5cd0fcb75b66a36.tar.gz |
SERVER-61563 upload fuzzer minimized output
Diffstat (limited to 'evergreen')
-rwxr-xr-x | evergreen/check_resmoke_failure.sh | 5 | ||||
-rw-r--r-- | evergreen/resmoke_tests_execute.sh | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/evergreen/check_resmoke_failure.sh b/evergreen/check_resmoke_failure.sh new file mode 100755 index 00000000000..4718098b70c --- /dev/null +++ b/evergreen/check_resmoke_failure.sh @@ -0,0 +1,5 @@ +set -o verbose +cd src +if [ -f resmoke_error_code ]; then + exit $(cat resmoke_error_code) +fi diff --git a/evergreen/resmoke_tests_execute.sh b/evergreen/resmoke_tests_execute.sh index fa33383c34d..3815c507758 100644 --- a/evergreen/resmoke_tests_execute.sh +++ b/evergreen/resmoke_tests_execute.sh @@ -170,6 +170,7 @@ if [[ ${disable_unit_tests} = "false" && ! -f ${skip_tests} ]]; then elif [ $resmoke_exit_code != 0 ]; then # On failure save the resmoke exit code. echo $resmoke_exit_code > resmoke_error_code + exit 0 elif [ $resmoke_exit_code = 0 ]; then # On success delete core files. core_files=$(/usr/bin/find -H .. \( -name "*.core" -o -name "*.mdmp" \) 2> /dev/null) |