revert 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.java / jprint.exp
index 4926babceb0bc936d012b88e801a45c60cc23a5f..73c422fad170dbb28a281d0985749da3920dced1 100644 (file)
@@ -23,13 +23,12 @@ if $tracelevel then {
 
 load_lib "java.exp"
 
-if { [skip_java_tests] } { continue }
-
 set testfile "jprint"
 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
This page took 0.024979 seconds and 4 git commands to generate.