jacks oddities

Andreas Tobler toa@pop.agri.ch
Mon Jul 12 15:39:00 GMT 2004


Hi all,

I recently wondered about having only 1400 passes in my jacks suite. 
Bryce told me that there are quite a few more. And running jacks outside 
the dejagnu environment really gave me about 4000 passes.

Looking for the cause I found that the gcj.log file from src 
jacks/logging was taken. This one only had about 1400 passes.
Now running jacks out side dejagnu and copying the gcj.log file into the 
src dir of jacks made me happy :) I don't know where it came from.

Anyway, during this investigation I wondered why we do not set 
JAVAC_DEPRECATION_FLAG to -Wdeprecated in the gcj_setup?

Doing so would give us another 60 XPASSES.

Any comments?

Thanks,
Andreas

Like this:

Index: testsuite/libjava.jacks/jacks.exp
===================================================================
RCS file: /cvs/gcc/gcc/libjava/testsuite/libjava.jacks/jacks.exp,v
retrieving revision 1.6
diff -u -r1.6 jacks.exp
--- testsuite/libjava.jacks/jacks.exp   25 Apr 2004 04:19:13 -0000      1.6
+++ testsuite/libjava.jacks/jacks.exp   12 Jul 2004 15:37:10 -0000
@@ -35,6 +35,7 @@
    puts $fd "set JAVA_FLAGS \"-mx=64m\""

    puts $fd "set JAVAC_ENCODING_FLAG --encoding="
+  puts $fd "set JAVAC_DEPRECATION_FLAG -Wdeprecated"
    puts $fd "set tcltest::testConstraints(encoding) 1"
    puts $fd "set tcltest::testConstraints(gcj) 1"
    puts $fd "set tcltest::testConstraints(assert) 1"



More information about the Java mailing list