diff options
author | Richard Samuels <richard.l.samuels@gmail.com> | 2022-05-20 13:19:24 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-20 13:50:13 +0000 |
commit | 09173712c719030f4c1ee499578e25d10fbc536f (patch) | |
tree | 9d39872fbe0c5625844642535e50d02c118f2704 /evergreen/scons_lint.sh | |
parent | 7117730842303f518a50e394b05b2b935bdd24b7 (diff) | |
download | mongo-09173712c719030f4c1ee499578e25d10fbc536f.tar.gz |
SERVER-65581 generate report files for linters
Diffstat (limited to 'evergreen/scons_lint.sh')
-rwxr-xr-x | evergreen/scons_lint.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/evergreen/scons_lint.sh b/evergreen/scons_lint.sh index 1cdf6ad9bf9..633ea98b11e 100755 --- a/evergreen/scons_lint.sh +++ b/evergreen/scons_lint.sh @@ -3,7 +3,7 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)" cd src -set -o errexit +set -o pipefail set -o verbose activate_venv @@ -18,4 +18,8 @@ export MYPY="$( )" echo "Found mypy executable at '$MYPY'" export extra_flags="" -eval ${compile_env} python3 ./buildscripts/scons.py ${compile_flags} $extra_flags --stack-size=1024 GITDIFFFLAGS="${revision}" REVISION="${revision}" ENTERPRISE_REV="${enterprise_rev}" ${targets} +eval ${compile_env} python3 ./buildscripts/scons.py ${compile_flags} $extra_flags --stack-size=1024 GITDIFFFLAGS="${revision}" REVISION="${revision}" ENTERPRISE_REV="${enterprise_rev}" ${targets} | tee scons-lint.log +exit_code=$? + +$python ./buildscripts/simple_report.py --test-name "${targets}" --log-file scons-lint.log --exit-code $exit_code +exit $exit_code |