This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Fix a typo in testsuite/libjava.jvmti/jvmti-interp.exp


I got

ERROR: tcl error sourcing
/export/gnu/src/gcc/gcc/libjava/testsuite/libjava.jvmti/jvmti-interp.exp.
ERROR: wrong # args: no script following "{! [exec_gij $jarfile [file
rootname $file].out $c" argument
    while compiling
"if {! [exec_gij $jarfile [file rootname $file].out $cxxldlibflags
$gij_flags]}"    (compiling body of proc "gij_jvmti_test_one", line 70)
    invoked from within
"gij_jvmti_test_one $x"
    (procedure "gij_jvmti_run" line 17)
    invoked from within
"gij_jvmti_run"

It is caused by

http://gcc.gnu.org/ml/java-patches/2007-q2/msg00336.html

I am checking in this patch as an obvious fix.


H.J.
----
2007-06-28  H.J. Lu  <hongjiu.lu@intel.com>

	* testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
	Fix a typo.

--- testsuite/libjava.jvmti/jvmti-interp.exp.foo	2007-06-28 20:21:23.000000000 -0700
+++ testsuite/libjava.jvmti/jvmti-interp.exp	2007-06-28 21:56:45.000000000 -0700
@@ -134,8 +134,7 @@ proc gij_jvmti_test_one {file} {
 
   set jarfile [file join [file dirname $file] $main.jar]
   set gij_flags {-agentlib:dummyagent}
-  if {! [exec_gij $jarfile [file rootname $file].out $cxxldlibflags $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]