bison: rebuild testsuite, still WIP.
With autotest (autoconf) fix, stats have gone from: 247 failures out of 407 with 30 skipped to: 98 failures out of 413 with 24 skipped
This commit is contained in:
@@ -26,8 +26,6 @@ prepare() {
|
||||
patch -p1 -i "${srcdir}"/001-use-gnu_printf.patch
|
||||
patch -p1 -i "${srcdir}"/002-add-relocation-support.patch
|
||||
patch -p1 -i "${srcdir}"/003-create_pipe-uses-O_TEXT-not-O_BINARY-mode.patch
|
||||
|
||||
#autoreconf -vfi
|
||||
}
|
||||
|
||||
build() {
|
||||
@@ -43,10 +41,24 @@ build() {
|
||||
|
||||
check() {
|
||||
cd ${srcdir}/${_realname}-${pkgver}
|
||||
make -j1 check
|
||||
rm -f tests/testsuite
|
||||
make tests/testsuite
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_realname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
||||
|
||||
# BISON_PKGDATADIR=$PWD/data PATH=/mingw64/bin:"$PATH" ./src/bison.exe -o y.tab.c -d -v -Werror -Wall -Wno-yacc --report=all -o examples/calc++/calc++-parser.cc examples/calc++/calc++-parser.yy
|
||||
# .. falls down in m4 somewhere, write error .. probably read end got closed?
|
||||
# ./doc/bison.texi: fatal error: invalid @ in skeleton: @
|
||||
# C:/msys64/mingw64/bin/m4.exe: write error: Invalid argument
|
||||
# At the time it's in scan-skel.c somewhere, but that's generated by flex, so the line numbers don't work
|
||||
# need to replace all #line with //#line in scan-skel.c
|
||||
# PATH=/mingw64/bin:"$PATH" x86_64-w64-mingw32-gcc -std=gnu99 -I. -Ilib -I. -I./lib -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw64/include -march=x86-64 -mtune=generic -O2 -pipe -ggdb -Og -ggdb -Og -MT src/bison-scan-skel-c.o -MD -MP -MF src/.deps/bison-scan-skel-c.Tpo -c -o src/bison-scan-skel-c.o src/scan-skel-c.c
|
||||
# PATH=/mingw64/bin:"$PATH" make src/bison.exe
|
||||
# PATH=/mingw64/bin:"$PATH" x86_64-w64-mingw32-gcc -std=gnu99 -I. -Ilib -I. -I./lib -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw64/include -march=x86-64 -mtune=generic -O2 -pipe -ggdb -Og -ggdb -Og -MT lib/spawn-pipe.o -MD -MP -MF $depbase.Tpo -c -o lib/spawn-pipe.o lib/spawn-pipe.c
|
||||
# PATH=/mingw64/bin:"$PATH" x86_64-w64-mingw32-gcc -std=gnu99 -I. -Ilib -I. -I./lib -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw64/include -march=x86-64 -mtune=generic -O2 -pipe -ggdb -Og -ggdb -Og -MT src/bison-main.o -MD -MP -MF src/.deps/bison-main.Tpo -c -o src/bison-main.o src/main.c
|
||||
# PATH=/mingw64/bin:"$PATH" make
|
||||
|
||||
Reference in New Issue
Block a user