]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: fix spurious failure in 'tests/yflags-conditional.test'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 11 Jan 2011 00:10:44 +0000 (01:10 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 11 Jan 2011 00:10:44 +0000 (01:10 +0100)
* tests/yflags-conditional.test: Filter out message "warnings are
treated as errors" from automake stderr, to avoid a false positive
when grepping for extraneous warning messages.

ChangeLog
tests/yflags-conditional.test

index 8ff07994441bd0118adfbfe4fc01ce2bea79f485..f53d5c9316ed626a567263fbe889138abc81640a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-01-11   Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       tests: fix spurious failure in 'tests/yflags-conditional.test'
+       * tests/yflags-conditional.test: Filter out message "warnings are
+       treated as errors" from automake stderr, to avoid a false positive
+       when grepping for extraneous warning messages.
+
 2011-01-10   Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        yacc: warn about conditional content in *YFLAGS variables
index 91e3da4f070402b68267824096ba85759d21f93b..1dcdef957df5087cff82aef73d193d1fcf2fcd6e 100755 (executable)
@@ -135,7 +135,9 @@ grep '^Makefile4\.am:8:.*zardoz_YFLAGS.* conditional contents' stderr
 
 # Disable `gnu' warnings because we override the user variable `YFLAGS'.
 AUTOMAKE_fails -Wno-gnu Makefile5
-grep -v '^Makefile5\.am:.*zardoz_YFLAGS' stderr | grep . && Exit 1
+grep -v '^Makefile5\.am:.*zardoz_YFLAGS' stderr \
+ | grep -v ': warnings are treated as errors' \
+ | grep . && Exit 1
 
 # Disable `gnu' warnings because we override the user variable `YFLAGS'.
 $AUTOMAKE -Wno-gnu Makefile6