From 1931429fc3e739c28140520e70668b97c8517c42 Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Tue, 17 Feb 2026 10:53:53 +0100 Subject: [PATCH] Suppress even more known-benign patterns in run_and_print_on_failure Ticket: ENT-12619 Signed-off-by: Lars Erik Wik --- build-scripts/functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-scripts/functions b/build-scripts/functions index 2ae2dceb5..769b8f55c 100644 --- a/build-scripts/functions +++ b/build-scripts/functions @@ -755,10 +755,10 @@ run_and_print_on_failure() { regex='([Ww]arning:|[Ee]rror:)' if grep_q -E "$regex" "$temp_output_file"; then # Known-benign patterns that are not actionable and should be suppressed: - # - automake subdir-objects: forward-compatibility notice, harmless + # - automake subdirectory source file warnings and subdir-objects notice # - libtool install warnings: normal when using DESTDIR # shellcheck disable=SC3043 - local benign='subdir-objects|libtool: warning: remember to run|libtool: warning:.*has not been installed|libtool: install:' + local benign='is in a subdirectory|subdir-objects|libtool: warning: remember to run|libtool: warning:.*has not been installed|libtool: install:' # shellcheck disable=SC3043 local filtered filtered=$(grep_c 2 -E "$regex" "$temp_output_file" | grep -v -E "$benign") || true