diff options
Diffstat (limited to 'gdb/testsuite/gdb.java/jmain.exp')
-rw-r--r-- | gdb/testsuite/gdb.java/jmain.exp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.java/jmain.exp b/gdb/testsuite/gdb.java/jmain.exp index 6b62708..79cb1dd 100644 --- a/gdb/testsuite/gdb.java/jmain.exp +++ b/gdb/testsuite/gdb.java/jmain.exp @@ -23,13 +23,12 @@ if $tracelevel then { 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"] != ""} { - continue +if { [compile_java_from_source ${srcfile} ${binfile} "-g"] != "" } { + untested "Couldn't compile ${srcfile}" + return -1 } set prms_id 0 |