Skip to content

Commit 642db3d

Browse files
committed
Suppress even more known-benign patterns in run_and_print_on_failure
Ticket: ENT-12619 Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
1 parent bf1efae commit 642db3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build-scripts/functions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -755,10 +755,10 @@ run_and_print_on_failure() {
755755
regex='([Ww]arning:|[Ee]rror:)'
756756
if grep_q -E "$regex" "$temp_output_file"; then
757757
# Known-benign patterns that are not actionable and should be suppressed:
758-
# - automake subdir-objects: forward-compatibility notice, harmless
758+
# - automake subdirectory source file warnings and subdir-objects notice
759759
# - libtool install warnings: normal when using DESTDIR
760760
# shellcheck disable=SC3043
761-
local benign='subdir-objects|libtool: warning: remember to run|libtool: warning:.*has not been installed|libtool: install:'
761+
local benign='is in a subdirectory|subdir-objects|libtool: warning: remember to run|libtool: warning:.*has not been installed|libtool: install:'
762762
# shellcheck disable=SC3043
763763
local filtered
764764
filtered=$(grep_c 2 -E "$regex" "$temp_output_file" | grep -v -E "$benign") || true

0 commit comments

Comments
 (0)