[gdb/testsuite] Stabilize gdb-caching-proc.exp test order
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / siginfo-addr.exp
index 70900d4266392a7f91806e99c69a17acfc860c13..ba2965db3a516c17580e09d920945ed9146267a5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2004-2016 Free Software Foundation, Inc.
+# Copyright 2004-2019 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -27,16 +27,16 @@ if [target_info exists gdb,nosignals] {
 }
 
 standard_testfile
-if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} {
-    untested "failed to compile"
+if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
     return -1
 }
 
 gdb_test "display/i \$pc"
 
 # Advance to main
-if { ![runto_main] } then {
-    gdb_suppress_tests
+if ![runto_main] then {
+    fail "can't run to main"
+    return 0
 }
 
 # Run to the signal.
This page took 0.025759 seconds and 4 git commands to generate.