public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
* 137 test failures ?
@ 2016-05-27  5:09 Dennis Clarke
  2016-05-27  5:25 ` Dennis Clarke
  0 siblings, 1 reply; 2+ messages in thread
From: Dennis Clarke @ 2016-05-27  5:09 UTC (permalink / raw)
  To: libffi-discuss


After a clean build I see "make check" reports :


                 === libffi Summary ===

# of unexpected failures        137
# of unresolved testcases       137


This is almost certainly because the test process ignores the CFLAGS and 
performs all tests using the wrong linkage options etc and we get total 
failure.

Where in the test process can I see the CFLAGS being used and can I run 
the tests entirely manually one at a time myself ?

Also, system is Solaris 10 using the Oracle Studio 12.4 compiler set.

Dennis

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 137 test failures ?
  2016-05-27  5:09 137 test failures ? Dennis Clarke
@ 2016-05-27  5:25 ` Dennis Clarke
  0 siblings, 0 replies; 2+ messages in thread
From: Dennis Clarke @ 2016-05-27  5:25 UTC (permalink / raw)
  To: libffi-discuss



> Also, system is Solaris 10 using the Oracle Studio 12.4 compiler set.


As a follow up, to myself, I can easily compile and link anything in the 
testsuite and run manually provided that the correct $CFLAGS are used 
thus :

$ pwd
/usr/local/build/libffi-3.2.1_SunOS5.10_sparcv9.002

$ $CC $CFLAGS 
-I/usr/local/build/libffi-3.2.1_SunOS5.10_sparcv9.002/sparc-sun-solaris2.10 
\
 > -I 
/usr/local/build/libffi-3.2.1_SunOS5.10_sparcv9.002/sparc-sun-solaris2.10/include 
\
 > -c -o /tmp/closure_fn0.o ./testsuite/libffi.call/closure_fn0.c

$ $CC $CFLAGS -R `pwd`/sparc-sun-solaris2.10/.libs -L 
`pwd`/sparc-sun-solaris2.10/.libs -o /tmp/closure_fn0 /tmp/closure_fn0.o 
-lffi
$

$ file /tmp/closure_fn0
/tmp/closure_fn0: ELF 64-bit MSB executable, SPARC V9, total store 
ordering, version 1, dynamically linked (uses shared libs), not stripped

$ /tmp/closure_fn0
1 2 3 4 127 429 7 8 9 10 11 12 13 19 21 1 3: 680
res: 680

So the real question is, what are the expected results from every test 
and then I can run them all manually.

Dennis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-27  5:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-27  5:09 137 test failures ? Dennis Clarke
2016-05-27  5:25 ` Dennis Clarke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).