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 on Solaris 10 on SPARC(sun4v)


From: Paul Eggert
Subject: Re: [GNU Bison 2.5] testsuite: 247 failed on Solaris 10 on SPARC(sun4v)
Date: Tue, 24 Jan 2012 14:27:05 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0

Thanks for the bug report.  I pushed this patch into the Bison trunk:

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>.
diff --git a/tests/regression.at b/tests/regression.at
index 59e1998..5affe4d 100644
--- a/tests/regression.at
+++ b/tests/regression.at
@@ -1258,10 +1258,10 @@ AT_SETUP([[parse-gram.y: LALR = IELR]])
 # output files 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]