[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] tests: fix spurious failure in 'tests/yflags-conditional.test'
From: |
Stefano Lattarini |
Subject: |
[FYI] tests: fix spurious failure in 'tests/yflags-conditional.test' |
Date: |
Tue, 11 Jan 2011 01:12:13 +0100 |
User-agent: |
KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) |
I pushed the attached patch to master to fix a spurious failure
introduced by the recent merge of the 'yacc-work' branch.
Regards,
Stefano
From 23b41dc75e1423480e5e40d4076dbd36ab7372ee Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <address@hidden>
Date: Tue, 11 Jan 2011 01:10:44 +0100
Subject: [PATCH] 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.
---
ChangeLog | 7 +++++++
tests/yflags-conditional.test | 4 +++-
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8ff0799..f53d5c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-01-11 Stefano Lattarini <address@hidden>
+
+ 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 <address@hidden>
yacc: warn about conditional content in *YFLAGS variables
diff --git a/tests/yflags-conditional.test b/tests/yflags-conditional.test
index 91e3da4..1dcdef9 100755
--- a/tests/yflags-conditional.test
+++ b/tests/yflags-conditional.test
@@ -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
--
1.7.2.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] tests: fix spurious failure in 'tests/yflags-conditional.test',
Stefano Lattarini <=