[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNU Bison 2.0] testsuite: 22 24 failed
From: |
Dan Haggarty |
Subject: |
Re: [GNU Bison 2.0] testsuite: 22 24 failed |
Date: |
Mon, 10 Jan 2005 10:38:05 -0500 |
At 05:19 PM 1/7/05, you wrote:
>Dan Haggarty <address@hidden> writes:
>
>> I'm not sure what to do next...
>
>Both test failures have similar symptoms of failures due to spurious
>CRLF differences, so let's look at the first failure. Please run
>this:
>
>cd tests
>./testsuite -v -d 22
>
>and look at the file testsuite.dir/022/sets. Does this file use the
>CRLF convention of Windows, or the LF convention of Unix?
Weird! cat -v testsuite.dir/022/sets shows that this file contains double
^M's at the end of each line. And, of course, your diff -u script outputs both
files.
But there's a Cygwin installation option to use either a DOS or Unix default
text file type. I had originally select DOS since it makes it easier to port
files between Cygwin and Windows NT (and, of course, it's easy to ignore
spurious \r's in one's Flex token rules). When I reinstall Cygwin with the
Unix default text file type, the Bison install works perfectly.
So, I'm guessing that my original Bison install (with the DOS default test file
type) was actually OK, and that the only problem was with the make check tests.
Sounds correct?
(And let me know if you'd like me to test anything else for you...)
Dan