bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU Bison 2.1] testsuite: 5 41 42 43 44 45 46 47 48 49 51 62 63 64


From: Paul Eggert
Subject: Re: [GNU Bison 2.1] testsuite: 5 41 42 43 44 45 46 47 48 49 51 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 111 115 116 117 120 121 122 123 124 125 126 127 128 129 130 131 132 13
Date: Tue, 18 Oct 2005 10:46:08 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Ralf Menzel <address@hidden> writes:

> I get several failed test cases for bison 2.1 on Sparc/Solaris 2.9.
> After having a look at testsuite.log I rerun configure after doing
>
>   LIBS=-lintl
>   export LIBS
>
> This time the run of the testsuite ended with:
>
>   132 tests were successful.
>   3 tests were skipped.

I can't reproduce the problem on my Sparc/Solaris 2.9 host.

My guess is that you have something installed in /usr/local/include
(or some other standard include path) that causes 'configure' to mess
up somehow.  Perhaps this is a bug in 'configure'; if so, it's one
that I'd like to fix.

Can you please compare the output of my session

export LD_RUN_PATH=/opt/reb/lib/gcc/4.0.0/lib
export M4=/opt/reb/bin/m4
./configure --prefix=/opt/reb
make
make check

to yours?  I enclose my output below.  I am using GCC 4.0.0 rather
than your 4.0.2, but I doubt whether that matters.

LD_RUN_PATH=/opt/reb/lib/gcc/gcc-`gcc -dumpversion`/lib M4=/opt/reb/bin/m4 
./configure --prefix=/opt/reb
checking for a BSD-compatible install... /opt/sfw/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for flex... flex
checking for yywrap in -lfl... no
checking for yywrap in -ll... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for ranlib... ranlib
checking for gm4... /opt/reb/bin/m4
checking whether m4 supports frozen files... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for uintptr_t... yes
checking for setlocale... yes
checking for isascii... yes
checking for iswprint... yes
checking for mbsinit... yes
checking if malloc debugging is wanted... no
checking for pid_t... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dup2... yes
checking for waitpid... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/resource.h... yes
checking for times... yes
checking whether getrusage is declared... yes
checking whether times is declared... yes
checking whether clock is declared... yes
checking whether sysconf is declared... yes
checking for clock_t... yes
checking for struct tms... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether system is Windows or MSDOS... no
checking whether strerror_r is declared... no
checking for strerror_r... no
checking whether strerror_r returns char *... no
checking getopt.h usability... no
checking getopt.h presence... no
checking for getopt.h... no
checking whether NLS is requested... yes
checking for msgfmt... /opt/reb/bin/msgfmt
checking for gmsgfmt... /opt/reb/bin/msgfmt
checking for xgettext... /opt/reb/bin/xgettext
checking for msgmerge... /opt/reb/bin/msgmerge
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for inttypes.h... yes
checking for stdint.h... no
checking for unsigned long long... yes
checking whether strdup is declared... yes
checking whether strnlen is declared... no
checking for error_at_line... no
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking how to link with libiconv... /opt/reb/lib/libiconv.so -R/opt/reb/lib
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /opt/reb/lib/libintl.so -L/opt/reb/lib 
/opt/reb/lib/libiconv.so -lc -R/opt/reb/lib -R/opt/reb/lib/gcc/gcc-3.4.3/lib
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for iswcntrl... yes
checking for wcwidth... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking whether wcwidth is declared... yes
checking whether mbswidth is declared in <wchar.h>... no
checking for mbstate_t... yes
checking for obstacks... no
checking for mbstate_t... (cached) yes
checking whether mbrtowc and mbstate_t are properly declared... (cached) yes
checking for stpcpy... no
checking for strdup... yes
checking for strndup... no
checking for working strnlen... no
checking for valgrind... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ builds executables that work... yes
configure: creating ./config.status
config.status: creating runtime-po/Makefile.in
config.status: creating tests/Makefile
config.status: creating tests/atlocal
config.status: creating tests/bison
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating po/Makefile.in
config.status: creating data/Makefile
config.status: creating examples/Makefile
config.status: creating examples/calc++/Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating runtime-po/POTFILES
config.status: creating runtime-po/Makefile
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing tests/atconfig commands
LD_RUN_PATH=/opt/reb/lib/gcc/gcc-`gcc -dumpversion`/lib M4=/opt/reb/bin/m4 make
make  all-recursive
Making all in config
Making all in po
Making all in runtime-po
Making all in lib
cp ./alloca_.h alloca.h-t
mv alloca.h-t alloca.h
cp ./getopt_.h getopt.h-t
mv getopt.h-t getopt.h
make  all-am
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT main.o 
-MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT yyerror.o 
-MD -MP -MF ".deps/yyerror.Tpo" -c -o yyerror.o yyerror.c; \
then mv -f ".deps/yyerror.Tpo" ".deps/yyerror.Po"; else rm -f 
".deps/yyerror.Tpo"; exit 1; fi
rm -f liby.a
ar cru liby.a main.o yyerror.o 
ranlib liby.a
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
get-errno.o -MD -MP -MF ".deps/get-errno.Tpo" -c -o get-errno.o get-errno.c; \
then mv -f ".deps/get-errno.Tpo" ".deps/get-errno.Po"; else rm -f 
".deps/get-errno.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT subpipe.o 
-MD -MP -MF ".deps/subpipe.Tpo" -c -o subpipe.o subpipe.c; \
then mv -f ".deps/subpipe.Tpo" ".deps/subpipe.Po"; else rm -f 
".deps/subpipe.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT abitset.o 
-MD -MP -MF ".deps/abitset.Tpo" -c -o abitset.o abitset.c; \
then mv -f ".deps/abitset.Tpo" ".deps/abitset.Po"; else rm -f 
".deps/abitset.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT bitset.o 
-MD -MP -MF ".deps/bitset.Tpo" -c -o bitset.o bitset.c; \
then mv -f ".deps/bitset.Tpo" ".deps/bitset.Po"; else rm -f ".deps/bitset.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
bitset_stats.o -MD -MP -MF ".deps/bitset_stats.Tpo" -c -o bitset_stats.o 
bitset_stats.c; \
then mv -f ".deps/bitset_stats.Tpo" ".deps/bitset_stats.Po"; else rm -f 
".deps/bitset_stats.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT bitsetv.o 
-MD -MP -MF ".deps/bitsetv.Tpo" -c -o bitsetv.o bitsetv.c; \
then mv -f ".deps/bitsetv.Tpo" ".deps/bitsetv.Po"; else rm -f 
".deps/bitsetv.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT ebitset.o 
-MD -MP -MF ".deps/ebitset.Tpo" -c -o ebitset.o ebitset.c; \
then mv -f ".deps/ebitset.Tpo" ".deps/ebitset.Po"; else rm -f 
".deps/ebitset.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT lbitset.o 
-MD -MP -MF ".deps/lbitset.Tpo" -c -o lbitset.o lbitset.c; \
then mv -f ".deps/lbitset.Tpo" ".deps/lbitset.Po"; else rm -f 
".deps/lbitset.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT vbitset.o 
-MD -MP -MF ".deps/vbitset.Tpo" -c -o vbitset.o vbitset.c; \
then mv -f ".deps/vbitset.Tpo" ".deps/vbitset.Po"; else rm -f 
".deps/vbitset.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
bitsetv-print.o -MD -MP -MF ".deps/bitsetv-print.Tpo" -c -o bitsetv-print.o 
bitsetv-print.c; \
then mv -f ".deps/bitsetv-print.Tpo" ".deps/bitsetv-print.Po"; else rm -f 
".deps/bitsetv-print.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT timevar.o 
-MD -MP -MF ".deps/timevar.Tpo" -c -o timevar.o timevar.c; \
then mv -f ".deps/timevar.Tpo" ".deps/timevar.Po"; else rm -f 
".deps/timevar.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
argmatch.o -MD -MP -MF ".deps/argmatch.Tpo" -c -o argmatch.o argmatch.c; \
then mv -f ".deps/argmatch.Tpo" ".deps/argmatch.Po"; else rm -f 
".deps/argmatch.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
basename.o -MD -MP -MF ".deps/basename.Tpo" -c -o basename.o basename.c; \
then mv -f ".deps/basename.Tpo" ".deps/basename.Po"; else rm -f 
".deps/basename.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
stripslash.o -MD -MP -MF ".deps/stripslash.Tpo" -c -o stripslash.o 
stripslash.c; \
then mv -f ".deps/stripslash.Tpo" ".deps/stripslash.Po"; else rm -f 
".deps/stripslash.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
mbswidth.o -MD -MP -MF ".deps/mbswidth.Tpo" -c -o mbswidth.o mbswidth.c; \
then mv -f ".deps/mbswidth.Tpo" ".deps/mbswidth.Po"; else rm -f 
".deps/mbswidth.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
xalloc-die.o -MD -MP -MF ".deps/xalloc-die.Tpo" -c -o xalloc-die.o 
xalloc-die.c; \
then mv -f ".deps/xalloc-die.Tpo" ".deps/xalloc-die.Po"; else rm -f 
".deps/xalloc-die.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
xstrndup.o -MD -MP -MF ".deps/xstrndup.Tpo" -c -o xstrndup.o xstrndup.c; \
then mv -f ".deps/xstrndup.Tpo" ".deps/xstrndup.Po"; else rm -f 
".deps/xstrndup.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT dirname.o 
-MD -MP -MF ".deps/dirname.Tpo" -c -o dirname.o dirname.c; \
then mv -f ".deps/dirname.Tpo" ".deps/dirname.Po"; else rm -f 
".deps/dirname.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT error.o 
-MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
exitfail.o -MD -MP -MF ".deps/exitfail.Tpo" -c -o exitfail.o exitfail.c; \
then mv -f ".deps/exitfail.Tpo" ".deps/exitfail.Po"; else rm -f 
".deps/exitfail.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT getopt.o 
-MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \
then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT getopt1.o 
-MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; \
then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f 
".deps/getopt1.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
hard-locale.o -MD -MP -MF ".deps/hard-locale.Tpo" -c -o hard-locale.o 
hard-locale.c; \
then mv -f ".deps/hard-locale.Tpo" ".deps/hard-locale.Po"; else rm -f 
".deps/hard-locale.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT hash.o 
-MD -MP -MF ".deps/hash.Tpo" -c -o hash.o hash.c; \
then mv -f ".deps/hash.Tpo" ".deps/hash.Po"; else rm -f ".deps/hash.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT obstack.o 
-MD -MP -MF ".deps/obstack.Tpo" -c -o obstack.o obstack.c; \
then mv -f ".deps/obstack.Tpo" ".deps/obstack.Po"; else rm -f 
".deps/obstack.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT quote.o 
-MD -MP -MF ".deps/quote.Tpo" -c -o quote.o quote.c; \
then mv -f ".deps/quote.Tpo" ".deps/quote.Po"; else rm -f ".deps/quote.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
quotearg.o -MD -MP -MF ".deps/quotearg.Tpo" -c -o quotearg.o quotearg.c; \
then mv -f ".deps/quotearg.Tpo" ".deps/quotearg.Po"; else rm -f 
".deps/quotearg.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
fopen-safer.o -MD -MP -MF ".deps/fopen-safer.Tpo" -c -o fopen-safer.o 
fopen-safer.c; \
then mv -f ".deps/fopen-safer.Tpo" ".deps/fopen-safer.Po"; else rm -f 
".deps/fopen-safer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT stpcpy.o 
-MD -MP -MF ".deps/stpcpy.Tpo" -c -o stpcpy.o stpcpy.c; \
then mv -f ".deps/stpcpy.Tpo" ".deps/stpcpy.Po"; else rm -f ".deps/stpcpy.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT strndup.o 
-MD -MP -MF ".deps/strndup.Tpo" -c -o strndup.o strndup.c; \
then mv -f ".deps/strndup.Tpo" ".deps/strndup.Po"; else rm -f 
".deps/strndup.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT strnlen.o 
-MD -MP -MF ".deps/strnlen.Tpo" -c -o strnlen.o strnlen.c; \
then mv -f ".deps/strnlen.Tpo" ".deps/strnlen.Po"; else rm -f 
".deps/strnlen.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
dup-safer.o -MD -MP -MF ".deps/dup-safer.Tpo" -c -o dup-safer.o dup-safer.c; \
then mv -f ".deps/dup-safer.Tpo" ".deps/dup-safer.Po"; else rm -f 
".deps/dup-safer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
fd-safer.o -MD -MP -MF ".deps/fd-safer.Tpo" -c -o fd-safer.o fd-safer.c; \
then mv -f ".deps/fd-safer.Tpo" ".deps/fd-safer.Po"; else rm -f 
".deps/fd-safer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
pipe-safer.o -MD -MP -MF ".deps/pipe-safer.Tpo" -c -o pipe-safer.o 
pipe-safer.c; \
then mv -f ".deps/pipe-safer.Tpo" ".deps/pipe-safer.Po"; else rm -f 
".deps/pipe-safer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT xmalloc.o 
-MD -MP -MF ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; \
then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f 
".deps/xmalloc.Tpo"; exit 1; fi
rm -f libbison.a
ar cru libbison.a get-errno.o subpipe.o abitset.o bitset.o  bitset_stats.o 
bitsetv.o ebitset.o  lbitset.o vbitset.o  bitsetv-print.o timevar.o argmatch.o  
basename.o stripslash.o mbswidth.o  xalloc-die.o xstrndup.o dirname.o error.o 
exitfail.o getopt.o getopt1.o hard-locale.o hash.o obstack.o quote.o quotearg.o 
fopen-safer.o stpcpy.o strndup.o strnlen.o dup-safer.o fd-safer.o pipe-safer.o 
xmalloc.o 
ranlib libbison.a
Making all in data
Making all in src
make  all-am
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT LR0.o -MD -MP -MF ".deps/LR0.Tpo" -c -o LR0.o 
LR0.c; \
then mv -f ".deps/LR0.Tpo" ".deps/LR0.Po"; else rm -f ".deps/LR0.Tpo"; exit 1; 
fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT assoc.o -MD -MP -MF ".deps/assoc.Tpo" -c -o 
assoc.o assoc.c; \
then mv -f ".deps/assoc.Tpo" ".deps/assoc.Po"; else rm -f ".deps/assoc.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT closure.o -MD -MP -MF ".deps/closure.Tpo" -c -o 
closure.o closure.c; \
then mv -f ".deps/closure.Tpo" ".deps/closure.Po"; else rm -f 
".deps/closure.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT complain.o -MD -MP -MF ".deps/complain.Tpo" -c 
-o complain.o complain.c; \
then mv -f ".deps/complain.Tpo" ".deps/complain.Po"; else rm -f 
".deps/complain.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT conflicts.o -MD -MP -MF ".deps/conflicts.Tpo" 
-c -o conflicts.o conflicts.c; \
then mv -f ".deps/conflicts.Tpo" ".deps/conflicts.Po"; else rm -f 
".deps/conflicts.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT derives.o -MD -MP -MF ".deps/derives.Tpo" -c -o 
derives.o derives.c; \
then mv -f ".deps/derives.Tpo" ".deps/derives.Po"; else rm -f 
".deps/derives.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT files.o -MD -MP -MF ".deps/files.Tpo" -c -o 
files.o files.c; \
then mv -f ".deps/files.Tpo" ".deps/files.Po"; else rm -f ".deps/files.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT getargs.o -MD -MP -MF ".deps/getargs.Tpo" -c -o 
getargs.o getargs.c; \
then mv -f ".deps/getargs.Tpo" ".deps/getargs.Po"; else rm -f 
".deps/getargs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT gram.o -MD -MP -MF ".deps/gram.Tpo" -c -o 
gram.o gram.c; \
then mv -f ".deps/gram.Tpo" ".deps/gram.Po"; else rm -f ".deps/gram.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT lalr.o -MD -MP -MF ".deps/lalr.Tpo" -c -o 
lalr.o lalr.c; \
then mv -f ".deps/lalr.Tpo" ".deps/lalr.Po"; else rm -f ".deps/lalr.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT location.o -MD -MP -MF ".deps/location.Tpo" -c 
-o location.o location.c; \
then mv -f ".deps/location.Tpo" ".deps/location.Po"; else rm -f 
".deps/location.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o 
main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT muscle_tab.o -MD -MP -MF ".deps/muscle_tab.Tpo" 
-c -o muscle_tab.o muscle_tab.c; \
then mv -f ".deps/muscle_tab.Tpo" ".deps/muscle_tab.Po"; else rm -f 
".deps/muscle_tab.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT nullable.o -MD -MP -MF ".deps/nullable.Tpo" -c 
-o nullable.o nullable.c; \
then mv -f ".deps/nullable.Tpo" ".deps/nullable.Po"; else rm -f 
".deps/nullable.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT output.o -MD -MP -MF ".deps/output.Tpo" -c -o 
output.o output.c; \
then mv -f ".deps/output.Tpo" ".deps/output.Po"; else rm -f ".deps/output.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT parse-gram.o -MD -MP -MF ".deps/parse-gram.Tpo" 
-c -o parse-gram.o parse-gram.c; \
then mv -f ".deps/parse-gram.Tpo" ".deps/parse-gram.Po"; else rm -f 
".deps/parse-gram.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT print.o -MD -MP -MF ".deps/print.Tpo" -c -o 
print.o print.c; \
then mv -f ".deps/print.Tpo" ".deps/print.Po"; else rm -f ".deps/print.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT print_graph.o -MD -MP -MF 
".deps/print_graph.Tpo" -c -o print_graph.o print_graph.c; \
then mv -f ".deps/print_graph.Tpo" ".deps/print_graph.Po"; else rm -f 
".deps/print_graph.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT reader.o -MD -MP -MF ".deps/reader.Tpo" -c -o 
reader.o reader.c; \
then mv -f ".deps/reader.Tpo" ".deps/reader.Po"; else rm -f ".deps/reader.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT reduce.o -MD -MP -MF ".deps/reduce.Tpo" -c -o 
reduce.o reduce.c; \
then mv -f ".deps/reduce.Tpo" ".deps/reduce.Po"; else rm -f ".deps/reduce.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT relation.o -MD -MP -MF ".deps/relation.Tpo" -c 
-o relation.o relation.c; \
then mv -f ".deps/relation.Tpo" ".deps/relation.Po"; else rm -f 
".deps/relation.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT scan-gram.o -MD -MP -MF ".deps/scan-gram.Tpo" 
-c -o scan-gram.o scan-gram.c; \
then mv -f ".deps/scan-gram.Tpo" ".deps/scan-gram.Po"; else rm -f 
".deps/scan-gram.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT scan-skel.o -MD -MP -MF ".deps/scan-skel.Tpo" 
-c -o scan-skel.o scan-skel.c; \
then mv -f ".deps/scan-skel.Tpo" ".deps/scan-skel.Po"; else rm -f 
".deps/scan-skel.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT state.o -MD -MP -MF ".deps/state.Tpo" -c -o 
state.o state.c; \
then mv -f ".deps/state.Tpo" ".deps/state.Po"; else rm -f ".deps/state.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT symlist.o -MD -MP -MF ".deps/symlist.Tpo" -c -o 
symlist.o symlist.c; \
then mv -f ".deps/symlist.Tpo" ".deps/symlist.Po"; else rm -f 
".deps/symlist.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT symtab.o -MD -MP -MF ".deps/symtab.Tpo" -c -o 
symtab.o symtab.c; \
then mv -f ".deps/symtab.Tpo" ".deps/symtab.Po"; else rm -f ".deps/symtab.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT tables.o -MD -MP -MF ".deps/tables.Tpo" -c -o 
tables.o tables.c; \
then mv -f ".deps/tables.Tpo" ".deps/tables.Po"; else rm -f ".deps/tables.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT uniqstr.o -MD -MP -MF ".deps/uniqstr.Tpo" -c -o 
uniqstr.o uniqstr.c; \
then mv -f ".deps/uniqstr.Tpo" ".deps/uniqstr.Po"; else rm -f 
".deps/uniqstr.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT vcg.o -MD -MP -MF ".deps/vcg.Tpo" -c -o vcg.o 
vcg.c; \
then mv -f ".deps/vcg.Tpo" ".deps/vcg.Po"; else rm -f ".deps/vcg.Tpo"; exit 1; 
fi
gcc   -g -O2   -o bison  LR0.o assoc.o closure.o  complain.o conflicts.o 
derives.o  files.o getargs.o gram.o  lalr.o location.o main.o  muscle_tab.o 
nullable.o output.o  parse-gram.o print.o print_graph.o  reader.o reduce.o 
relation.o  scan-gram.o scan-skel.o state.o  symlist.o symtab.o tables.o  
uniqstr.o vcg.o ../lib/libbison.a /opt/reb/lib/libintl.so -L/opt/reb/lib 
/opt/reb/lib/libiconv.so -lc -R/opt/reb/lib -R/opt/reb/lib/gcc/gcc-3.4.3/lib 
echo '#! /bin/sh' >yacc
echo 'exec /opt/reb/bin/bison -y "$@"' >>yacc
chmod a+x yacc
Making all in doc
Making all in examples
Making all in calc++
make  all-am
if g++ -DHAVE_CONFIG_H -I. -I. -I../..    -I/opt/reb/include  -g -O2 -MT 
calc++-scanner.o -MD -MP -MF ".deps/calc++-scanner.Tpo" -c -o calc++-scanner.o 
calc++-scanner.cc; \
then mv -f ".deps/calc++-scanner.Tpo" ".deps/calc++-scanner.Po"; else rm -f 
".deps/calc++-scanner.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/opt/reb/include  -g -O2 -MT 
calc++.o -MD -MP -MF ".deps/calc++.Tpo" -c -o calc++.o `test -f './calc++.cc' 
|| echo './'`./calc++.cc; \
then mv -f ".deps/calc++.Tpo" ".deps/calc++.Po"; else rm -f ".deps/calc++.Tpo"; 
exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/opt/reb/include  -g -O2 -MT 
calc++-driver.o -MD -MP -MF ".deps/calc++-driver.Tpo" -c -o calc++-driver.o 
`test -f './calc++-driver.cc' || echo './'`./calc++-driver.cc; \
then mv -f ".deps/calc++-driver.Tpo" ".deps/calc++-driver.Po"; else rm -f 
".deps/calc++-driver.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/opt/reb/include  -g -O2 -MT 
calc++-parser.o -MD -MP -MF ".deps/calc++-parser.Tpo" -c -o calc++-parser.o 
`test -f './calc++-parser.cc' || echo './'`./calc++-parser.cc; \
then mv -f ".deps/calc++-parser.Tpo" ".deps/calc++-parser.Po"; else rm -f 
".deps/calc++-parser.Tpo"; exit 1; fi
g++  -g -O2    -o calc++  calc++-scanner.o calc++.o  calc++-driver.o 
calc++-parser.o  
Making all in tests
Making check in config
Making check in po
Making check in runtime-po
Making check in lib
make  check-am
Making check in data
Making check in src
make  check-am
Making check in doc
Making check in examples
Making check in calc++
make  check-am
make  check-TESTS
7
Starting parse
Entering state 0
Reducing stack by rule 3 (line 7395), -> assignments
Stack now 0
Entering state 2
Reading a token: Next token is token "identifier" (input:1.0: a)
Shifting token "identifier" (input:1.0: a)
Entering state 4
Reading a token: Next token is token ":=" (input:1.2-3: )
Shifting token ":=" (input:1.2-3: )
Entering state 8
Reading a token: Next token is token "number" (input:1.5: 1)
Shifting token "number" (input:1.5: 1)
Entering state 5
Reducing stack by rule 10 (line 7406), "number" -> exp
Stack now 0 2 4 8
Entering state 14
Reading a token: Next token is token "identifier" (input:2.0: b)
Reducing stack by rule 4 (line 7397), "identifier" ":=" exp -> assignment
Stack now 0 2
Entering state 6
Reducing stack by rule 2 (line 7394), assignments assignment -> assignments
Stack now 0
Entering state 2
Next token is token "identifier" (input:2.0: b)
Shifting token "identifier" (input:2.0: b)
Entering state 4
Reading a token: Next token is token ":=" (input:2.2-3: )
Shifting token ":=" (input:2.2-3: )
Entering state 8
Reading a token: Next token is token "number" (input:2.5: 2)
Shifting token "number" (input:2.5: 2)
Entering state 5
Reducing stack by rule 10 (line 7406), "number" -> exp
Stack now 0 2 4 8
Entering state 14
Reading a token: Next token is token "identifier" (input:3.0: c)
Reducing stack by rule 4 (line 7397), "identifier" ":=" exp -> assignment
Stack now 0 2
Entering state 6
Reducing stack by rule 2 (line 7394), assignments assignment -> assignments
Stack now 0
Entering state 2
Next token is token "identifier" (input:3.0: c)
Shifting token "identifier" (input:3.0: c)
Entering state 4
Reading a token: Next token is token ":=" (input:3.2-3: )
Shifting token ":=" (input:3.2-3: )
Entering state 8
Reading a token: Next token is token "number" (input:3.5: 3)
Shifting token "number" (input:3.5: 3)
Entering state 5
Reducing stack by rule 10 (line 7406), "number" -> exp
Stack now 0 2 4 8
Entering state 14
Reading a token: Next token is token "identifier" (input:4.0: d)
Reducing stack by rule 4 (line 7397), "identifier" ":=" exp -> assignment
Stack now 0 2
Entering state 6
Reducing stack by rule 2 (line 7394), assignments assignment -> assignments
Stack now 0
Entering state 2
Next token is token "identifier" (input:4.0: d)
Shifting token "identifier" (input:4.0: d)
Entering state 4
Reading a token: Next token is token ":=" (input:4.2-3: )
Shifting token ":=" (input:4.2-3: )
Entering state 8
Reading a token: Next token is token "identifier" (input:4.5: a)
Shifting token "identifier" (input:4.5: a)
Entering state 13
Reducing stack by rule 9 (line 7405), "identifier" -> exp
Stack now 0 2 4 8
Entering state 14
Reading a token: Next token is token '+' (input:4.7: )
Shifting token '+' (input:4.7: )
Entering state 9
Reading a token: Next token is token "identifier" (input:4.9: b)
Shifting token "identifier" (input:4.9: b)
Entering state 13
Reducing stack by rule 9 (line 7405), "identifier" -> exp
Stack now 0 2 4 8 14 9
Entering state 15
Reading a token: Next token is token '*' (input:4.11: )
Shifting token '*' (input:4.11: )
Entering state 11
Reading a token: Next token is token "identifier" (input:4.13: c)
Shifting token "identifier" (input:4.13: c)
Entering state 13
Reducing stack by rule 9 (line 7405), "identifier" -> exp
Stack now 0 2 4 8 14 9 15 11
Entering state 17
Reducing stack by rule 7 (line 7403), exp '*' exp -> exp
Stack now 0 2 4 8 14 9
Entering state 15
Reading a token: Next token is token "identifier" (input:5.0: d)
Reducing stack by rule 5 (line 7401), exp '+' exp -> exp
Stack now 0 2 4 8
Entering state 14
Next token is token "identifier" (input:5.0: d)
Reducing stack by rule 4 (line 7397), "identifier" ":=" exp -> assignment
Stack now 0 2
Entering state 6
Reducing stack by rule 2 (line 7394), assignments assignment -> assignments
Stack now 0
Entering state 2
Next token is token "identifier" (input:5.0: d)
Shifting token "identifier" (input:5.0: d)
Entering state 4
Reading a token: Now at end of input.
Reducing stack by rule 9 (line 7405), "identifier" -> exp
Stack now 0 2
Entering state 7
Now at end of input.
Reducing stack by rule 1 (line 7392), assignments exp -> unit
Stack now 0
Entering state 1
Now at end of input.
Cleanup: popping nterm unit (input:1.0-5.0: )
7
input:3.0: syntax error, unexpected end of file, expecting identifier or number
0
+ echo toto 
toto
+ cat 
toto := 1
toto
+ ./calc++ -s input 
--(end of buffer or a NUL)
--accepting rule at line 36 ("toto")
--accepting rule at line 23 (" ")
--accepting rule at line 27 (":=")
--accepting rule at line 23 (" ")
--accepting rule at line 28 ("1")
--accepting rule at line 24 ("
")
--accepting rule at line 36 ("toto")
--(end of buffer or a NUL)
--accepting rule at line 24 ("
")
--(end of buffer or a NUL)
--EOF (start condition 0)
1
+ rm input 
PASS: test
==================
All 1 tests passed
==================
Making check in tests
make  bison
`bison' is up to date.
make  check-local
/bin/bash ./testsuite 
## ------------------------- ##
## GNU Bison 2.1 test suite. ##
## ------------------------- ##

Input Processing.

  1: Invalid dollar-n                             ok
  2: Invalid @n                                   ok
  3: Type Clashes                                 ok
  4: Incompatible Aliases                         ok
  5: Torturing the Scanner                        ok
  6: Typed symbol aliases                         ok

Output file names.

  7: Output files:  & -dv .                       ok
  8: Output files:  & -dv >&-.                    ok
  9: Output files:  & -dv -o foo.c .              ok
 10: Output files:  & -dv -o foo.tab.c .          ok
 11: Output files:  & -dv -y .                    ok
 12: Output files:  & -dv -b bar .                ok
 13: Output files:  & -dv -g -o foo.c .           ok
 14: Output files: %defines %verbose &  .         ok
 15: Output files: %defines %verbose %yacc &  .   ok
 16: Output files: %defines %verbose %yacc &  .   ok
 17: Output files: %file-prefix=bar %defines %verbose &  .ok
 18: Output files: %output=bar.c %defines %verbose %yacc &  .ok
 19: Output files: %file-prefix=baz %output=bar.c %defines %verbose %yacc &  .ok
 20: Output files: %defines %verbose &  .         ok
 21: Output files: %defines %verbose  & -o foo.c .ok
 22: Output files:  & --defines=foo.hpp -o foo.c++ .ok
 23: Output files:  & -o foo.c++ --graph=foo.gph .ok

Grammar Sets (Firsts etc.).

 24: Nullable                                     ok
 25: Broken Closure                               ok
 26: Firsts                                       ok

Grammar Reduction.

 27: Useless Terminals                            ok
 28: Useless Nonterminals                         ok
 29: Useless Rules                                ok
 30: Reduced Automaton                            ok
 31: Underivable Rules                            ok
 32: Empty Language                               ok

User Actions.

 33: Prologue synch line                          ok
 34: %union synch line                            ok
 35: Postprologue synch line                      ok
 36: Action synch line                            ok
 37: Epilogue synch line                          ok

Parser Headers.

 38: %union and --defines                         ok
 39: Invalid CPP guards: input/input              ok
 40: Invalid CPP guards: 9foo                     ok
 41: export YYLTYPE                               ok

User Actions.

 42: Mid-rule actions                             ok
 43: Exotic Dollars                               ok
 44: Printers and Destructors :                   ok
 45: Printers and Destructors with union:         ok
 46: Printers and Destructors : %defines %skeleton lalr1.ccok
 47: Printers and Destructors with union: %defines %skeleton lalr1.ccok
 48: Printers and Destructors : %glr-parser       ok
 49: Printers and Destructors with union: %glr-parserok

Conflicts.

 50: S/R in initial                               ok
 51: %nonassoc and eof                            ok
 52: Unresolved SR Conflicts                      ok
 53: Resolved SR Conflicts                        ok
 54: Defaulted Conflicted Reduction               ok
 55: %expect not enough                           ok
 56: %expect right                                ok
 57: %expect too much                             ok
 58: %expect with reduce conflicts                ok
 59: %no-default-prec without %prec               ok
 60: %no-default-prec with %prec                  ok
 61: %default-prec                                ok

Simple LALR Calculator.

 62: Calculator                                   ok
 63: Calculator %defines                          ok
 64: Calculator %locations                        ok
 65: Calculator %name-prefix=calc               ok
 66: Calculator %verbose                          ok
 67: Calculator %yacc                             ok
 68: Calculator %error-verbose                    ok
 69: Calculator %pure-parser %locations           ok
 70: Calculator %error-verbose %locations         ok
 71: Calculator %error-verbose %locations %defines %name-prefix=calc %verbose 
%yaccok
 72: Calculator %debug                            ok
 73: Calculator %error-verbose %debug %locations %defines %name-prefix=calc 
%verbose %yaccok
 74: Calculator %pure-parser %error-verbose %debug %locations %defines 
%name-prefix=calc %verbose %yaccok
 75: Calculator %pure-parser %error-verbose %debug %locations %defines 
%name-prefix=calc %verbose %yacc %parse-param {semantic_value *result} 
%parse-param {int *count}ok

Simple GLR Calculator.

 76: Calculator %glr-parser                       ok
 77: Calculator %glr-parser %defines              ok
 78: Calculator %glr-parser %locations            ok
 79: Calculator %glr-parser %name-prefix=calc   ok
 80: Calculator %glr-parser %verbose              ok
 81: Calculator %glr-parser %yacc                 ok
 82: Calculator %glr-parser %error-verbose        ok
 83: Calculator %glr-parser %pure-parser %locationsok
 84: Calculator %glr-parser %error-verbose %locationsok
 85: Calculator %glr-parser %error-verbose %locations %defines 
%name-prefix=calc %verbose %yaccok
 86: Calculator %glr-parser %debug                ok
 87: Calculator %glr-parser %error-verbose %debug %locations %defines 
%name-prefix=calc %verbose %yaccok
 88: Calculator %glr-parser %pure-parser %error-verbose %debug %locations 
%defines %name-prefix=calc %verbose %yaccok
 89: Calculator %glr-parser %pure-parser %error-verbose %debug %locations 
%defines %name-prefix=calc %verbose %yacc %parse-param {semantic_value *result} 
%parse-param {int *count}ok

Simple LALR1 C++ Calculator.

 90: Calculator %skeleton lalr1.cc %defines %locationsok
 91: Calculator %skeleton lalr1.cc %defines     ok
 92: Calculator %skeleton lalr1.cc %error-verbose %locations %defines 
%name-prefix=calc %verbose %yaccok
 93: Calculator %skeleton lalr1.cc %error-verbose %debug %locations %defines 
%name-prefix=calc %verbose %yaccok
 94: Calculator %skeleton lalr1.cc %pure-parser %error-verbose %debug 
%locations %defines %name-prefix=calc %verbose %yaccok
 95: Calculator %skeleton lalr1.cc %pure-parser %error-verbose %debug 
%locations %defines %name-prefix=calc %verbose %yacc %parse-param 
{semantic_value *result} %parse-param {int *count}ok

Torture Tests.

 96: Big triangle                                 ok
 97: Big horizontal                               ok
 98: Many look-ahead tokens                       ok
 99: Exploding the Stack Size with Alloca         ok
100: Exploding the Stack Size with Malloc         ok

Existing Grammars.

101: GNU AWK Grammar                              ok
102: GNU Cim Grammar                              ok
103: GNU pic Grammar                              ok

Regression tests.

104: Early token definitions                      ok
105: Braces parsing                               ok
106: Duplicate string                             ok
107: Rule Line Numbers                            ok
108: Mixing %token styles                         ok
109: Invalid inputs                               ok
110: Invalid inputs with {}                       ok
111: Token definitions                            ok
112: Characters Escapes                           ok
113: Web2c Report                                 ok
114: Web2c Actions                                ok
115: Dancer                                       ok
116: Dancer %glr-parser                           ok
117: Dancer %skeleton lalr1.cc                  ok

C++ Features.

118: Doxygen Public Documentation                 skipped (c++.at:102)
119: Doxygen Private Documentation                skipped (c++.at:103)

C++ Type Syntax (GLR).

120: GLR: Resolve ambiguity, impure, no locations ok
121: GLR: Resolve ambiguity, impure, locations    ok
122: GLR: Resolve ambiguity, pure, no locations   ok
123: GLR: Resolve ambiguity, pure, locations      ok
124: GLR: Merge conflicting parses, impure, no locationsok
125: GLR: Merge conflicting parses, impure, locationsok
126: GLR: Merge conflicting parses, pure, no locationsok
127: GLR: Merge conflicting parses, pure, locationsok
128: GLR: Verbose messages, resolve ambiguity, impure, no locationsok

GLR Regression Tests

129: Badly Collapsed GLR States                   ok
130: Improper handling of embedded actions and dollar(-N) in GLR parsersok
131: Improper merging of GLR delayed action sets  ok
132: Duplicate representation of merged trees     ok
133: User destructor for unresolved GLR semantic valueok
134: User destructor after an error during a split parseok
135: Duplicated user destructor for lookahead     skipped 
(glr-regression.at:636)

## ------------- ##
## Test results. ##
## ------------- ##

132 tests were successful.
3 tests were skipped.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]