summaryrefslogtreecommitdiff
path: root/tools/warnings_count/update_current_warnings.sh
blob: 7a7953fabc9a3764449a0cb025e013c9e99ac6a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
set -e

# This script should only be used when we need to modify the accepted amount of warnings.

DIR="$(dirname "$(readlink -f "$0")")"
cd "$DIR/../.."

make distclean
make WERROR=0 WARNINGS_CHECK=1 setup 2> tools/warnings_count/warnings_setup_current.txt
make WERROR=0 WARNINGS_CHECK=1 lib 2> tools/warnings_count/warnings_lib_current.txt
make WERROR=0 WARNINGS_CHECK=1 extract 2> tools/warnings_count/warnings_extract_current.txt
make WERROR=0 WARNINGS_CHECK=1 rom 2> tools/warnings_count/warnings_build_current.txt
make WERROR=0 WARNINGS_CHECK=1 compress 2> tools/warnings_count/warnings_compress_current.txt