[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tests: avoid spurious failure with non-bison yacc
From: |
Stefano Lattarini |
Subject: |
[PATCH] tests: avoid spurious failure with non-bison yacc |
Date: |
Sun, 12 Feb 2012 17:04:31 +0100 |
On 02/12/2012 04:39 PM, Stefano Lattarini wrote:
>
> Also, to avoid some new spurious failures, I've applied the attached
> follow-up patch.
>
And the patch below fixes yet another spurious failure.
Regards,
Stefano
-*-*-
>From e0906b7e17bc34b1183d273ca0571c10d5619c08 Mon Sep 17 00:00:00 2001
Message-Id: <address@hidden>
From: Stefano Lattarini <address@hidden>
Date: Sun, 12 Feb 2012 17:02:33 +0100
Subject: [PATCH] tests: avoid spurious failure with non-bison yacc
Issue revealed by a failure on NetBSD 5.1.
* tests/suffix10.tap (Makefile.am): Adjust the rule generating
the '.y' files so that such files won't use bison-only features.
---
tests/suffix10.tap | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/suffix10.tap b/tests/suffix10.tap
index 2d66f3b..1b812cb 100755
--- a/tests/suffix10.tap
+++ b/tests/suffix10.tap
@@ -42,7 +42,7 @@ libfoo_la_SOURCES = foo.x_
&& echo 'void yyerror (char *s) {}' \
&& echo '%}' \
&& echo '%%' \
- && echo 'WORD: "foo";' \
+ && echo 'foobar : 'f' 'o' 'o' 'b' 'a' 'r' {};' \
&& echo '%%' \
## Account for VPATH issues on weaker make implementations.
&& cat `test -f '$<' || echo $(srcdir)/`$<; \
--
1.7.7.3
Re: Merging 'yacc-work' into master, Peter Rosin, 2012/02/13