diff options
author | Tom Tromey <tromey@redhat.com> | 2012-06-22 16:44:15 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-06-22 16:44:15 +0000 |
commit | c24ccbcea9fbbd866f17e8934105830dae0810fc (patch) | |
tree | eeb0b95746625dd88d307003f5458ae56718ca85 /gdb/testsuite/gdb.java/jmain.exp | |
parent | 29c048b696d4e93fe9f595d59fcb6239270e5a29 (diff) | |
download | gdb-c24ccbcea9fbbd866f17e8934105830dae0810fc.zip gdb-c24ccbcea9fbbd866f17e8934105830dae0810fc.tar.gz gdb-c24ccbcea9fbbd866f17e8934105830dae0810fc.tar.bz2 |
* gdb.java/jmain.exp: Use standard_testfile.
* gdb.java/jmisc.exp: Use standard_testfile.
* gdb.java/jnpe.exp: Use standard_testfile.
* gdb.java/jprint.exp: Use standard_testfile.
Diffstat (limited to 'gdb/testsuite/gdb.java/jmain.exp')
-rw-r--r-- | gdb/testsuite/gdb.java/jmain.exp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.java/jmain.exp b/gdb/testsuite/gdb.java/jmain.exp index 8bb82b1..aba1e5a 100644 --- a/gdb/testsuite/gdb.java/jmain.exp +++ b/gdb/testsuite/gdb.java/jmain.exp @@ -20,10 +20,8 @@ load_lib "java.exp" if { [skip_java_tests] } { continue } -set testfile "jmain" -set srcfile ${srcdir}/$subdir/${testfile}.java -set binfile ${objdir}/${subdir}/${testfile} -if {[compile_java_from_source ${srcfile} ${binfile} "-g"] != ""} { +standard_testfile .java +if {[compile_java_from_source $srcdir/$subdir/$srcfile $binfile "-g"] != ""} { continue } |