revert 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.java / jmain.exp
index 6b62708ed46af8b3e25ab2a3576fc5ae39324a2b..79cb1dd1f3d1f8090e507f4c7fcf12221722132d 100644 (file)
@@ -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
This page took 0.023245 seconds and 4 git commands to generate.