2002-03-27 Anthony Green <green@redhat.com>
* libjava.jni/jni.exp (gcj_jni_run): Fix cross build test.
From-SVN: r51453
+2002-03-27 Anthony Green <green@redhat.com>
+
+ * libjava.jni/jni.exp (gcj_jni_run): Fix cross build test.
+
2002-03-27 Anthony Green <green@redhat.com>
* lib/libjava.exp: Add the wrapper link options only when we're
# Run the JNI tests.
proc gcj_jni_run {} {
global srcdir subdir
- global target_triplet host_triplet
+ global build_triplet host_triplet
# For now we only test JNI on native builds.
- if {$target_triplet == $host_triplet} {
+ if {$build_triplet == $host_triplet} {
catch "glob -nocomplain ${srcdir}/${subdir}/*.java" srcfiles
foreach x $srcfiles {