diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/skip-solib.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/skip-solib.exp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/skip-solib.exp b/gdb/testsuite/gdb.base/skip-solib.exp index a66272a..9819815 100644 --- a/gdb/testsuite/gdb.base/skip-solib.exp +++ b/gdb/testsuite/gdb.base/skip-solib.exp @@ -74,7 +74,9 @@ with_test_prefix "ignoring solib file" { "Num\\s+Enb\\s+Glob\\s+File\\s+RE\\s+Function\\s*" \ "1\\s+y\\s+n\\s+${srcfile_lib}\\s+n\\s+<none>\\s*"] - if ![runto_main] { fail "skip tests suppressed" } + if ![runto_main] { + return + } # # We shouldn't step into square(), since we skipped skip-solib-lib.c. @@ -93,7 +95,9 @@ with_test_prefix "ignoring solib function" { "Function multiply will be skipped when stepping\\." \ "skip function" - if ![runto_main] { fail "skip tests suppressed" } + if ![runto_main] { + return + } # # Our first step should take us into square. |