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