jni.exp (gcj_jni_run): Fix cross build test.
2002-03-27 Anthony Green <green@redhat.com> * libjava.jni/jni.exp (gcj_jni_run): Fix cross build test. From-SVN: r51453
This commit is contained in:
parent
30cc872274
commit
fe4dabf80c
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
|
@ -163,10 +163,10 @@ proc gcj_jni_test_one {file} {
|
|||
# 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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue