aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.java/jprint.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.java/jprint.exp')
-rw-r--r--gdb/testsuite/gdb.java/jprint.exp7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.java/jprint.exp b/gdb/testsuite/gdb.java/jprint.exp
index 73c422f..4926babc 100644
--- a/gdb/testsuite/gdb.java/jprint.exp
+++ b/gdb/testsuite/gdb.java/jprint.exp
@@ -23,12 +23,13 @@ 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"] != "" } {
- 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