summaryrefslogtreecommitdiff
path: root/evergreen/run_clang_tidy.sh
blob: b1de18e730f8cb1e875e82e7309ce057fc55b526 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"

set -o pipefail
set -o verbose

cd src
bash buildscripts/clang_tidy.sh ${clang_tidy_toolchain} | tee clang-tidy.log
exit_code=$?

activate_venv
$python ./buildscripts/simple_report.py --test-name clang_tidy --log-file clang-tidy.log --exit-code $exit_code --dedup-lines
echo $?
exit $exit_code