[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: |
Paul Eggert |
Subject: |
Re: [GNU Bison 2.0] testsuite: 22 24 failed |
Date: |
Fri, 07 Jan 2005 14:19:14 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
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?
I'm asking, because ./testsuite uses the equivalent of the following
shell command to check testsuite.dir/022/sets, and I suspect there's
some problem with CRLF in this test. Also, can you please try copying
the following shell command to a shell file, using LF only (since
that's what ./testsuite does, right?), and then executing that shell
file? This will confirm my guess that it's a CRLF problem.
echo "DERIVES
\$accept derives
0 e \$end
e derives
1 'e'
2 /* empty */
NULLABLE
\$accept: no
e: yes
FIRSTS
\$accept firsts
\$accept
e
e firsts
e
FDERIVES
\$accept derives
0 e \$end
1 'e'
2 /* empty */
e derives
1 'e'
2 /* empty */
" | diff -u - testsuite.dir/022/sets
diff should read stdin and testsuite.dir/022/sets in text mode, so it
should ignore any trailing CR and the above command shouldn't output
anything; perhaps there's a problem with diff on your host?