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]

[patch] testsuite fix for multilib targets


Hi all,

this small patch fixes at least 2 test case failures on a sparc-solaris8 32-bit build when testing the 64-bit lib.

Ok for main?

Thanks,
Andreas

2007-06-27 Andreas Tobler <a.tobler@schweiz.org>

	* testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Pass
	the cxxldlibflags to exec_gij to have the right libstc++ invoked.

Index: testsuite/libjava.jvmti/jvmti-interp.exp
===================================================================
--- testsuite/libjava.jvmti/jvmti-interp.exp    (revision 126052)
+++ testsuite/libjava.jvmti/jvmti-interp.exp    (working copy)
@@ -131,10 +131,11 @@
   }

libjava_arguments
-
+
set jarfile [file join [file dirname $file] $main.jar]
set gij_flags {-agentlib:dummyagent}
- if {! [exec_gij $jarfile [file rootname $file].out {} $gij_flags]} {
+ if {! [exec_gij $jarfile [file rootname $file].out $cxxldlibflags $gij_flags]}
+ {
return 0
}



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