From cfde4abec304f5f19f1400d3960b2e509e7929eb Mon Sep 17 00:00:00 2001 From: Fedja Beader Date: Mon, 10 Feb 2025 17:20:27 +0000 Subject: Properly fail the failing cpplint.py part of linters CI job Squashed with: * Split out change * Let's get this to properly fail, first. put unfiltered file name into a variable and append .log to make it viewable online + direct URL for cpplint.py like before IT's LOGFILE, not ERRFILE.. sigh Nevermind, it actually is ERRFILE + add unfiltered version to init Downgrade version, py3 later Let's get unfiltered log to print if find fails Related: mana/plus!122 **** mana/plus!123 --- tools/ci/scripts/init.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/ci/scripts/init.sh') diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh index 54b0ac64f..8e84054ff 100755 --- a/tools/ci/scripts/init.sh +++ b/tools/ci/scripts/init.sh @@ -2,8 +2,10 @@ export dir=$(pwd) export ERRFILE=${dir}/logs/${LOGFILE} +export ERRFILE_UNFILTERED=${ERRFILE%.log}.unfiltered.log rm -f "$ERRFILE" +rm -f "$ERRFILE_UNFILTERED" function do_init { $CC --version -- cgit v1.2.3-70-g09d2