Re: Bison 3.5 released [stable]
Akim Demaille <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.bugs |
|---|---|
| Message-ID | <[email protected]> |
> Le 13 déc. 2019 à 19:37, Dennis Clarke <[email protected]> a écrit : > > On 12/13/19 12:57 PM, Hans Åberg wrote: >>> On 13 Dec 2019, at 18:15, Akim Demaille <[email protected]> wrote: >>> >>> https://ftp.gnu.org/gnu/bison/bison-3.5.tar.xz > > Also sadly, on ye old Solaris 10 sparcv9 I see : > > FAIL: examples/c/reccalc/reccalc > ================================ > > reccalc: PASS: 1 > reccalc: PASS: 2 > reccalc: PASS: 3 > reccalc: PASS: 4 > .././examples/c/reccalc/reccalc.test: line 37: seq: command not found > reccalc: FAIL: 5 (expected status: 0, effective: 1) > syntax error, unexpected end-of-line, expecting + or - or number or string > reccalc: PASS: 6 > reccalc: PASS: 7 > FAIL examples/c/reccalc/reccalc.test (exit status: 1) Yep, as you saw, it's a rather common tool. I'll install the following thingy, so that we no longer have this problem if seq is not available. Cheers! commit 0c0baa50955acf236269157c34fc64f443942b3d Author: Akim Demaille <[email protected]> Date: Sat Dec 14 17:11:52 2019 +0100 tests: don't fail if seq is no available As is the case on Solaris. Reported by Dennis Clarke. https://lists.gnu.org/archive/html/bug-bison/2019-12/msg00011.html * examples/c/reccalc/reccalc.test: Skip if there is no seq. diff --git a/examples/c/reccalc/reccalc.test b/examples/c/reccalc/reccalc.test index 5d95b4e0..a4b2591c 100644 --- a/examples/c/reccalc/reccalc.test +++ b/examples/c/reccalc/reccalc.test @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +seq 0 >/dev/null || exit 77 + cat >input <<EOF 1+2*3 EOF