Patch for i386-darwin: test suite results

Sandro Tolaini tolaini@libero.it
Mon Mar 20 10:51:00 GMT 2006


On 19/mar/2006, at 12:37, Andrew Haley wrote:

> OK.  Well, if I were doing this I'd start with Array_3, running it
> under gdb to see where it goes wrong.

Seems that signal catching is not working properly under Darwin/i386.  
Changing

#define HANDLE_SEGV

to

#undef HANDLE_SEGV

in libjava/include/darwin-signal.h solves some more test failures:

Test Run By sandro on Mon Mar 20 11:19:46 2006
Native configuration is i686-apple-darwin8.5.2

                 === libjava tests ===

Schedule of variations:
     unix

Running target unix
Using /opt/local/share/dejagnu/baseboards/unix.exp as board  
description file for target.
Using /opt/local/share/dejagnu/config/unix.exp as generic interface  
file for target.
Using /Users/sandro/gcc-4.0.2/libjava/testsuite/config/default.exp as  
tool-and-target-specific interface file.
Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.cni/ 
cni.exp ...
Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.compile/ 
compile.exp ...
Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.jacks/ 
jacks.exp ...
Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.jar/ 
jar.exp ...
Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.jni/ 
jni.exp ...
Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.lang/ 
lang.exp ...
FAIL: Throw_2 execution - source compiled test
FAIL: Throw_2 execution - gij test
FAIL: Throw_2 execution - bytecode->native test
FAIL: Throw_2 -O3 execution - source compiled test
FAIL: Throw_2 execution - gij test
FAIL: Throw_2 -O3 execution - bytecode->native test
Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.loader/ 
loader.exp ...
Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.mauve/ 
mauve.exp ...
Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.verify/ 
verify.exp ...

                 === libjava Summary ===

# of expected passes            3802
# of unexpected failures        6
# of expected failures          14
# of untested testcases         22

I'm going to see what's happening in Throw_2...

Cheers,
   Sandro



More information about the Java mailing list