Wrong CLASSPATH is set during libjava tests
Kaz Kojima
kkojima@rr.iij4u.or.jp
Mon Jul 3 10:07:00 GMT 2006
Hi,
I've got huge number of failures during libjava testsuite on
my FC4 box. It started to fail after the patch
r115097 | fitzsim | 2006-07-01 03:31:48 +0900 (Sat, 01 Jul 2006) | 18 lines
I could find
jar file is /exp/ldroot/dodes/i686-gcc-orig/i686-pc-linux-gnu/libjava/testsuite/../libgcj-4.2.0.jar /exp/ldroot/dodes/i686-gcc-orig/i686-pc-linux-gnu/libjava/testsuite/../libgcj-tools-4.2.0.jar
and
CLASSPATH is .:/exp/ldroot/dodes/ORIG/trunk/libjava/testsuite/libjava.cni:/exp/ldroot/dodes/i686-gcc-orig/i686-pc-linux-gnu/libjava/testsuite:/exp/ldroot/dodes/i686-gcc-orig/i686-pc-linux-gnu/libjava/testsuite/../libgcj-4.2.0.jar /exp/ldroot/dodes/i686-gcc-orig/i686-pc-linux-gnu/libjava/testsuite/../libgcj-tools-4.2.0.jar
lines in my libjava.log file with the verbose option and the appended
patch against libjava.exp works for me. After r115097, $libgcj_jar
is set to the list of 2 jar files and it seems that the additional
flatten operation is needed. I could be wrong about that, though.
It looks almost testresults sent to gcc-testresults have no problem
on libjava except the results from the automatic regression tester on
powerpc-apple-darwin8.5.0.
So I suspect that something is wrong in my local environment.
Does anyone see this problem? The version of DejaGnu I'm using is
Expect version is 5.43.0
Tcl version is 8.4
Framework version is 1.4.4
Regards,
kaz
--
* testsuite/lib/libjava.exp (libjava_arguments): Make the list
flatten.
diff -uprN ORIG/trunk/libjava/testsuite/lib/libjava.exp LOCAL/trunk/libjava/testsuite/lib/libjava.exp
--- ORIG/trunk/libjava/testsuite/lib/libjava.exp 2006-07-02 13:48:48.000000000 +0900
+++ LOCAL/trunk/libjava/testsuite/lib/libjava.exp 2006-07-02 13:53:44.000000000 +0900
@@ -368,7 +368,7 @@ proc libjava_arguments {{mode compile}}
# Set the CLASSPATH environment variable
global env
set env(CLASSPATH) \
- [join [list . $srcdir/$subdir $objdir $libgcj_jar] $sep]
+ [join [join [list . $srcdir/$subdir $objdir $libgcj_jar]] $sep]
verbose "CLASSPATH is $env(CLASSPATH)"
if {$mode == "link"} {
More information about the Java
mailing list