testuite issues on darwin again

Andreas Tobler toa@pop.agri.ch
Fri Mar 22 10:44:00 GMT 2002


Hi,
found a moment time to play with the testsuite on java.
First, the testsuite assumes that we have a shared libgcc, this is 
unfortunately not the case on darwin. So I tweaked libjava.exp to link 
against libgcc.a. (hard way)
Second, and here I'm stuck, I normally get the bytecode compile ok but 
the source compile fails since no main is given.
This is a sample output:
jvscan is /Volumes/xufs/gccsrc/objdir/gcc/jv-scan
spawn /Volumes/xufs/gccsrc/objdir/gcc/jv-scan --encoding=UTF-8 
/Volumes/xufs/gccsrc/gcc/libjava/testsuite/libjava.lang/ArrayStore.java 
--print-main ^M
pid is 2360 -2360
output is
main name is
spawn /Volumes/xufs/gccsrc/objdir/gcc/jv-scan --encoding=UTF-8 
/Volumes/xufs/gccsrc/gcc/libjava/testsuite/libjava.lang/ArrayStore.java 
--list-class ^M
pid is 2363 -2363
output is
class list is
ERROR: No `main' given in program ArrayStore
When I do the commands from above by hand I get the main ArrayStore.
So, what's going wrong?
Has it something to do with expect not giving me the correct thingy back 
or even worse does this command not get executed? The negativ PID seems 
very odd.
How can I find out about more?
Thanks for any hint.
Andreas


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /