summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-mi-objfile.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/py-mi-objfile.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-mi-objfile.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.python/py-mi-objfile.exp b/gdb/testsuite/gdb.python/py-mi-objfile.exp
index f1c353ee58c..3e8bf82bdf6 100644
--- a/gdb/testsuite/gdb.python/py-mi-objfile.exp
+++ b/gdb/testsuite/gdb.python/py-mi-objfile.exp
@@ -20,7 +20,7 @@ set MIFLAGS "-i=mi2"
gdb_exit
if [mi_gdb_start] {
- continue
+ return
}
standard_testfile
@@ -31,7 +31,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
return -1
}
-if { [mi_skip_python_tests] } { continue }
+if { [mi_skip_python_tests] } { return }
# Make the -gdb.py script available to gdb, it is automagically loaded by gdb.
# Care is taken to put it in the same directory as the binary so that