Skip to content

Commit 9d37e7c

Browse files
authored
Merge pull request #2120 from larsewi/benign
ENT-12619: Suppress even more known-benign patterns in run_and_print_on_failure
2 parents c12d510 + 642db3d commit 9d37e7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)