]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.base/define.exp
gdb/testsuite: make runto_main not pass no-message to runto
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.base / define.exp
index ff34e7f294376454fbefb868f4e3f90b6105f0d8..0d69d52f773d7bf187aa95371a36a89ee219ec5f 100644 (file)
@@ -30,7 +30,9 @@ if {[prepare_for_testing "failed to prepare" ${testfile} \
 set bp_location1 [gdb_get_line_number "set breakpoint 1 here"]
 set bp_location11 [gdb_get_line_number "set breakpoint 11 here"]
 
-if ![runto_main] then { fail "define tests suppressed" }
+if ![runto_main] then {
+    return
+}
 
 # Verify that GDB allows a user to define their very own commands.
 #