summaryrefslogtreecommitdiff
path: root/tools/ci/scripts
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2025-02-10 20:43:01 +0000
committerFedja Beader <fedja@protonmail.ch>2025-02-10 20:43:01 +0000
commit81207f0ee92593b70047585fa1d609dc6a862e98 (patch)
tree733fb4e6472e92b9a238cb124de4318c32711255 /tools/ci/scripts
parentcfde4abec304f5f19f1400d3960b2e509e7929eb (diff)
downloadmanaplus-81207f0ee92593b70047585fa1d609dc6a862e98.tar.gz
manaplus-81207f0ee92593b70047585fa1d609dc6a862e98.tar.bz2
manaplus-81207f0ee92593b70047585fa1d609dc6a862e98.tar.xz
manaplus-81207f0ee92593b70047585fa1d609dc6a862e98.zip
Properly fail the nsiqcppstyle part of the linters CI job
From updating to buster->bullseye in !124: nsiqcppstyle was silently failing, too >_> Squashed with: * I always forget newlines at end of printfs. * Add sore thumb to remind me of untreated wounds beneath bandages * nsiqcppstyle was silently failing, too >_> *Explicitly call python2 *Grep will exit non-zero if it finds nothing. *fix* **** mana/plus!125
Diffstat (limited to 'tools/ci/scripts')
-rwxr-xr-xtools/ci/scripts/init.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh
index 8e84054ff..cd716cf94 100755
--- a/tools/ci/scripts/init.sh
+++ b/tools/ci/scripts/init.sh
@@ -217,9 +217,15 @@ function run_gcov {
function run_check_warnings {
if [[ -s "$ERRFILE" ]]; then
+ printf "Warnings detected in %s:\n" "$ERRFILE"
cat $ERRFILE
exit 1
fi
+
+ if [[ -s "$ERRFILE_UNFILTERED" ]]; then
+ printf "Warnings detected in %s. The maintainer might want take a peek, sometimes.\n" \
+ "$ERRFILE_UNFILTERED"
+ fi
}
function run_h {