diff options
Diffstat (limited to 'gdb/testsuite/gdb.java/jmisc.exp')
-rw-r--r-- | gdb/testsuite/gdb.java/jmisc.exp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.java/jmisc.exp b/gdb/testsuite/gdb.java/jmisc.exp index 1901cec..74557bd 100644 --- a/gdb/testsuite/gdb.java/jmisc.exp +++ b/gdb/testsuite/gdb.java/jmisc.exp @@ -26,12 +26,13 @@ if $tracelevel then { load_lib "java.exp" +if { [skip_java_tests] } { continue } + set testfile "jmisc" set srcfile ${srcdir}/$subdir/${testfile}.java set binfile ${objdir}/${subdir}/${testfile} -if { [compile_java_from_source ${srcfile} ${binfile} "-g"] != "" } { - untested "Couldn't compile ${srcfile}" - return -1 +if {[compile_java_from_source ${srcfile} ${binfile} "-g"] != ""} { + continue } # Set the current language to java. This counts as a test. If it |