aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-var-child-f.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-var-child-f.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi-var-child-f.exp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-var-child-f.exp b/gdb/testsuite/gdb.mi/mi-var-child-f.exp
index e83fd3b..cb12308 100644
--- a/gdb/testsuite/gdb.mi/mi-var-child-f.exp
+++ b/gdb/testsuite/gdb.mi/mi-var-child-f.exp
@@ -18,6 +18,8 @@
load_lib mi-support.exp
set MIFLAGS "-i=mi"
+if { [skip_fortran_tests] } { return -1 }
+
gdb_exit
if [mi_gdb_start] {
continue
@@ -26,8 +28,8 @@ if [mi_gdb_start] {
set testfile "array"
set srcfile ${testfile}.f
set binfile ${objdir}/${subdir}/${testfile}
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug f77 quiet}] != "" } {
- untested "Couldn't compile ${srcfile}"
+if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
+ executable {debug f77}] != ""} {
return -1
}