mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
tests: port to Solaris 10 'diff -u'
* tests/regression.at (parse-gram.y: LALR = IELR): Port to Solaris 10,
where "diff -u X X" outputs "No differences encountered"
instead of outputting nothing. Reported by Tomohiro Suzuki in
<http://lists.gnu.org/archive/html/bug-bison/2012-01/msg00101.html>.
(cherry picked from commit 071ca141ec)
This commit is contained in:
committed by
Akim Demaille
parent
c373ab641b
commit
7a709ad88d
@@ -1266,10 +1266,10 @@ AT_SETUP([[parse-gram.y: LALR = IELR]])
|
||||
# have the same name.
|
||||
[cp $abs_top_srcdir/src/parse-gram.y input.y]
|
||||
AT_BISON_CHECK([[-o input.c -Dlr.type=lalr input.y]])
|
||||
[mv input.c lalr.c]
|
||||
[mv input.c expout]
|
||||
AT_BISON_CHECK([[-o input.c -Dlr.type=ielr input.y]])
|
||||
[mv input.c ielr.c]
|
||||
AT_CHECK([[diff -u lalr.c ielr.c]])
|
||||
AT_CHECK([[cat ielr.c]], [[0]], [[expout]])
|
||||
|
||||
AT_CLEANUP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user