RE: Bison 3.5.93 released [beta]
"Jannick" <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi Akim, On Mon, 4 May 2020 19:14:08 +0200, Akim Demaille wrote: > Hi Jannick, > > > Le 4 mai 2020 à 09:50, Jannick <[email protected]> a écrit : > > On Windows10/MSYS2 still two test failures - presumably EOL issues > > which, if I am not mistaken, cannot be solved by 'diff -u'. > > I'm not sure, given that you don't have the problem with the other > tests. Yet I have no idea what's going on. Testing against today's beta release 3.5.94 did not change anything, unfortunately. I investigated that the above mentioned failure does stem from an EOL issue, since adding in 'examples/test' the diff flag '--strip-trailing-cr' solved it. I used this flag to narrow down the problem, but this diff flag is not portable if I am not mistaken; at least it is not POSIX. So a solution is required to either avoid system-depending EOL character(s) or to swallow them up somehow (using perhaps a sed script, dos2unix or alike in a portable fashion). The way how output files are generated appears to matter, but I could not go deeper into the package to see what is happening. After all, the remaining test failure is bistromathic #13 (log attached). I did not look into that in detail and I am not sure if this is an EOL issue again or of general nature. HTH. Regards, J.
test-suite.log
(application/octet-stream, 2 KB)
======================================== GNU Bison 3.5.94: ./test-suite.log ======================================== # TOTAL: 13 # PASS: 12 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: examples/c/bistromathic/bistromathic ========================================== bistromathic: PASS: 1 bistromathic: PASS: 2 bistromathic: PASS: 3 bistromathic: PASS: 4 bistromathic: PASS: 5 bistromathic: PASS: 6 bistromathic: PASS: 7 bistromathic: PASS: 8 bistromathic: PASS: 9 bistromathic: PASS: 10 bistromathic: PASS: 11 bistromathic: PASS: 12 bistromathic: FAIL: 13 bistromathic: input: (1+ bistromathic: expected output: > (1+ ( - atan cos exp ln number sin sqrt > (1+ > err: 1.4: syntax error: expected - or ( or number or function or variable before end of file bistromathic: effective output: > (1+ ( - atan cos exp ln number sin sqrt > (1+ > err: 1.4: syntax error: expected - or ( or number or function or variable before end of file bistromathic: diff: --- exp 2020-05-06 10:42:42.198098700 +0200 +++ eff 2020-05-06 10:42:42.421794800 +0200 @@ -2,4 +2,4 @@ ( - atan cos exp ln number sin sqrt > (1+ > -err: 1.4: syntax error: expected - or ( or number or function or variable before end of file +err: 1.4: syntax error: expected - or ( or number or function or variable before end of file bistromathic: PASS: 14 bistromathic: FAIL: 15 bistromathic: input: e bistromathic: expected output: > e end of file exit exp > e 0 > err: bistromathic: effective output: > e end of file exit exp > e 0 > bistromathic: diff: --- exp 2020-05-06 10:42:43.282071900 +0200 +++ eff 2020-05-06 10:42:43.400972700 +0200 @@ -3,4 +3,3 @@ > e 0 > -err: \ No newline at end of file FAIL examples/c/bistromathic/bistromathic.test (exit status: 1)