bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU Bison 2.5] testsuite: 247 failed


From: Akim Demaille
Subject: Re: [GNU Bison 2.5] testsuite: 247 failed
Date: Wed, 7 Mar 2012 09:33:59 +0100

Hi!

Thanks for the report.  This is a known issue:

#                             -*- compilation -*-
247. regression.at:1263: testing ...
./regression.at:1268: bison -o input.c -Dlr.type=lalr input.y
./regression.at:1270: bison -o input.c -Dlr.type=ielr input.y
./regression.at:1272: diff -u lalr.c ielr.c
0a1
> No differences encountered
247. regression.at:1263: 247. parse-gram.y: LALR = IELR (regression.at:1263): 
FAILED (regression.at:1272)

I expect that you run Solaris.  So the following
commit (which will be part of 2.5.1) will have most
certainly fixed your problem.

commit 7a709ad88d2d25d58f1ddc9f524d8436c7d961b4
Author: Paul Eggert <address@hidden>
Date:   Tue Jan 24 13:54:12 2012 -0800

    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 071ca141ec7987a5eca782227ce70db434a206ab)

diff --git a/tests/regression.at b/tests/regression.at
index e71df13..e04442b 100644
--- a/tests/regression.at
+++ b/tests/regression.at
@@ -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
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]