This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Making the testsuite work for Mauve without installing


Hi,

The following quick fix makes check-target-libjava work even when
MAUVEDIR is set but gcj has not yet been installed.

2002-04-30  Mark Wielaard  <mark@klomp.org>

        * lib/libjava.exp (libjava_init): Always use the just created
        libgcj.jar.

OK to commit? (mainline only I guess)

Cheers,

Mark
Index: lib/libjava.exp
===================================================================
RCS file: /cvs/gcc/gcc/libjava/testsuite/lib/libjava.exp,v
retrieving revision 1.33.2.2
diff -u -r1.33.2.2 libjava.exp
--- lib/libjava.exp	11 Apr 2002 20:55:51 -0000	1.33.2.2
+++ lib/libjava.exp	30 Apr 2002 18:01:09 -0000
@@ -137,6 +137,9 @@
     # Always set encoding used by gcj.
     append GCJ_UNDER_TEST " --encoding=UTF-8"
 
+    # Always use the just created libgcj.jar
+    append GCJ_UNDER_TEST " -I$objdir/../libgcj-3.1.jar"
+
     if [info exists env(LD_LIBRARY_PATH)] {
 	set original_ld_library_path $env(LD_LIBRARY_PATH)
     } else {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]