* libjava.jni/jni.exp (gcj_jni_run): Fix cross build test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51453
138bc75d-0d04-0410-961f-
82ee72b054a4
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
linking.
# 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 {