This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libffi-3.0.12 : false positive testsuite failures


I attached the testsuite log.  The failures look to be all false positives. 

Did this : 

$ grep -E "^res\:\ |^PASS\:\ |^FAIL\:\ " ./sparc-sun-solaris2.10/testsuite/libffi.log

my eyes tell me all the results are correct however the CR+LF chars at the end 
of lines causes a problem.  Just a guess here. 

Dennis 

Attachment: libffi-3.0.12_SunOS5.10_sparcv9_testsuite_libffi.log.bz2
Description: application/bzip

--- Begin Message ---
Dear AG et al : 

OKay, making good progress here on a Niagara T2 server running Solaris 10. 

Firstly we have what looks to me as a false failure.  In the testsuite log I see 
this : 
.
.
.
spawn /opt/solarisstudio12.3/bin/cc ../../testsuite/libffi.call/cls_struct_va1.c
 -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/1
6/4:4096/64/16 -I/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.002/sparc-sun-
solaris2.10/testsuite/../include -I../../testsuite/../include -I/usr/local/build
/libffi-3.0.12_SunOS5.10_sparcv9.002/sparc-sun-solaris2.10/testsuite/../include/
.. -L/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.002/sparc-sun-solaris2.10/
testsuite/../.libs -lffi -lm -o ./cls_struct_va1.exe^M
PASS: libffi.call/cls_struct_va1.c (test for excess errors)
Setting LD_LIBRARY_PATH to :/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.002
/sparc-sun-solaris2.10/testsuite/../.libs::/usr/local/build/libffi-3.0.12_SunOS5
.10_sparcv9.002/sparc-sun-solaris2.10/testsuite/../.libs
spawn [open ...]^M
4 5 6 10 11 12 13 14 20 21
res: 1054032
PASS: libffi.call/cls_struct_va1.c execution test
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^M?
res: 42


The line that says "should match" has a trailing CR+LF on it. Is that the issue here ? 

dc


--- End Message ---

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]