This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: of unexpected failures 131 with libffi-3.0.12
> You need to run the testsuite like this...
>
> $ make check RUNTESTFLAGS="CFLAGS_FOR_TARGET='blah blah blah'"
awesome .. thank you .. should be a note in a README somewhere on that perhaps?
Much better results with a few odd looking results :
$ gmake check RUNTESTFLAGS="CFLAGS_FOR_TARGET='-errfmt=error \
> -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s \
> -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs \
> -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 \
> -xtarget=ultraT2 -xcache=8/16/4:4096/64/16'"
MAKE sparc-sun-solaris2.10 : 0 * check
gmake[1]: Entering directory `/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.002/sparc-sun-solaris2.10'
Making check in include
gmake[2]: Entering directory `/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.002/sparc-sun-solaris2.10/include'
gmake[2]: Nothing to be done for `check'.
gmake[2]: Leaving directory `/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.002/sparc-sun-solaris2.10/include'
Making check in testsuite
gmake[2]: Entering directory `/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.002/sparc-sun-solaris2.10/testsuite'
/usr/local/bin/gmake check-DEJAGNU
gmake[3]: Entering directory `/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.002/sparc-sun-solaris2.10/testsuite'
srcdir='../../testsuite'; export srcdir; \
EXPECT=`if [ -f ../../expect/expect ] ; then echo ../../expect/expect ; else echo expect ; fi`; export EXPECT; \
if /bin/bash -c "`if [ -f ../../../dejagnu/runtest ] ; then echo ../../../dejagnu/runtest ; else echo runtest; fi` --version" > /dev/null 2>&1; then \
exit_status=0; l='libffi'; for tool in $l; do \
if `if [ -f ../../../dejagnu/runtest ] ; then echo ../../../dejagnu/runtest ; else echo runtest; fi` --tool $tool --srcdir $srcdir CFLAGS_FOR_TARGET='-errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16'; \
then :; else exit_status=1; fi; \
done; \
else echo "WARNING: could not find '`if [ -f ../../../dejagnu/runtest ] ; then echo ../../../dejagnu/runtest ; else echo runtest; fi`'" 1>&2; :;\
fi; \
exit $exit_status
WARNING: Couldn't find the global config file.
Test Run By dclarke on Mon Feb 25 01:30:29 2013
Native configuration is sparc-sun-solaris2.10
=== libffi tests ===
Schedule of variations:
unix
Running target unix
Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target.
Using ../../testsuite/config/default.exp as tool-and-target-specific interface file.
Running ../../testsuite/libffi.call/call.exp ...
FAIL: libffi.call/cls_struct_va1.c output pattern test, is 4 5 6 10 11 12 13 14 20 21
res: 1054032
? should match 4 5 6 10 11 12 13 14 20 21
res: 42
FAIL: libffi.call/cls_uint_va.c output pattern test, is 67: 67 4
res: 1053264
? should match 67: 67 4
res: 67
FAIL: libffi.call/va_1.c output pattern test, is 5 6 10 11 12 13 14 7 8 uc=9 sc=10 11 12 13 14 15 16 2.120000 3.130000
res: 0
, should match 5 6 10 11 12 13 14 7 8 uc=9 sc=10 11 12 13 14 15 16 2.120000 3.13?000
res: 42
FAIL: libffi.call/va_struct1.c output pattern test, is 5 6 10 11 12 13 14 7 8
res: 0
? should match 5 6 10 11 12 13 14 7 8
res: 42
Running ../../testsuite/libffi.special/special.exp ...
=== libffi Summary ===
# of expected passes 355
# of unexpected failures 4
# of unsupported tests 11
gmake[3]: *** [check-DEJAGNU] Error 1
gmake[3]: Leaving directory `/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.002/sparc-sun-solaris2.10/testsuite'
gmake[2]: *** [check-am] Error 2
gmake[2]: Leaving directory `/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.002/sparc-sun-solaris2.10/testsuite'
gmake[1]: *** [check-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.002/sparc-sun-solaris2.10'
gmake: *** [check] Error 2
$
Not sure why some of those patterns don't match.
case[1] : cls_struct_va1.c
FAIL: libffi.call/cls_struct_va1.c output pattern test, is 4 5 6 10 11 12 13 14 20 21
res: 1054032
? should match 4 5 6 10 11 12 13 14 20 21
res: 42
Well "4 5 6 10 11 12 13 14 20 21" looks correct to me. Not sure what that "res" is.
Any thoughts ?
dc