From b769def51609b16a5c44bcfcc0335d8952feeba3 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Mon, 14 Jun 2010 15:45:33 +0000 Subject: [PATCH] * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is not supported on the target. * gdb.mi/mi-nonstop-exit.exp: Likewise. * gdb.mi/mi-ns-stale-regcache.exp: Likewise. * gdb.mi/mi-nsintrall.exp: Likewise. * gdb.mi/mi-nsmoribund.exp: Likewise. * gdb.mi/mi-nsthrexec.exp: Likewise. --- gdb/testsuite/ChangeLog | 10 ++++++++++ gdb/testsuite/gdb.mi/mi-nonstop-exit.exp | 2 -- gdb/testsuite/gdb.mi/mi-nonstop.exp | 1 - gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp | 1 - gdb/testsuite/gdb.mi/mi-nsintrall.exp | 1 - gdb/testsuite/gdb.mi/mi-nsmoribund.exp | 1 - gdb/testsuite/gdb.mi/mi-nsthrexec.exp | 1 - 7 files changed, 10 insertions(+), 7 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 00c588c8f8..d293c07186 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2010-06-11 Ulrich Weigand + + * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is + not supported on the target. + * gdb.mi/mi-nonstop-exit.exp: Likewise. + * gdb.mi/mi-ns-stale-regcache.exp: Likewise. + * gdb.mi/mi-nsintrall.exp: Likewise. + * gdb.mi/mi-nsmoribund.exp: Likewise. + * gdb.mi/mi-nsthrexec.exp: Likewise. + 2010-06-11 Stan Shebs * gdb.base/permissions.exp: New file. diff --git a/gdb/testsuite/gdb.mi/mi-nonstop-exit.exp b/gdb/testsuite/gdb.mi/mi-nonstop-exit.exp index 3b678257d6..f11bb5f4fc 100644 --- a/gdb/testsuite/gdb.mi/mi-nonstop-exit.exp +++ b/gdb/testsuite/gdb.mi/mi-nonstop-exit.exp @@ -52,7 +52,6 @@ mi_gdb_test "-gdb-set target-async 1" ".*" detect_async if { [mi_run_to_main] < 0 } { - perror "mi-nonstop-exit.exp tests suppressed" continue } @@ -63,7 +62,6 @@ mi_expect_stop "exited-normally" "" "" "" "" "" "finished exec continue" # Run the program again. if { [mi_run_to_main] < 0 } { - fail "run (2)" continue } diff --git a/gdb/testsuite/gdb.mi/mi-nonstop.exp b/gdb/testsuite/gdb.mi/mi-nonstop.exp index a23d70d447..0ac00cf983 100644 --- a/gdb/testsuite/gdb.mi/mi-nonstop.exp +++ b/gdb/testsuite/gdb.mi/mi-nonstop.exp @@ -62,7 +62,6 @@ mi_gdb_test "-gdb-set target-async 1" ".*" detect_async if { [mi_run_to_main] < 0 } { - perror "mi-nonstop.exp tests suppressed" continue } diff --git a/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp b/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp index 24bc73ec65..87a3f7eef2 100644 --- a/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp +++ b/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp @@ -66,7 +66,6 @@ mi_gdb_test "-gdb-set target-async 1" ".*" detect_async if { [mi_run_to_main] < 0 } { - perror "mi-ns-stale-regcache.exp tests suppressed" continue } diff --git a/gdb/testsuite/gdb.mi/mi-nsintrall.exp b/gdb/testsuite/gdb.mi/mi-nsintrall.exp index 33f8daa291..179984a858 100644 --- a/gdb/testsuite/gdb.mi/mi-nsintrall.exp +++ b/gdb/testsuite/gdb.mi/mi-nsintrall.exp @@ -52,7 +52,6 @@ mi_gdb_test "-gdb-set target-async 1" ".*" detect_async if { [mi_run_to_main] < 0 } { - perror "mi-nsintrall.exp tests suppressed" continue } diff --git a/gdb/testsuite/gdb.mi/mi-nsmoribund.exp b/gdb/testsuite/gdb.mi/mi-nsmoribund.exp index 3e5bc1b800..0eaad24e4f 100644 --- a/gdb/testsuite/gdb.mi/mi-nsmoribund.exp +++ b/gdb/testsuite/gdb.mi/mi-nsmoribund.exp @@ -52,7 +52,6 @@ mi_gdb_test "-gdb-set target-async 1" ".*" detect_async if { [mi_run_to_main] < 0 } { - perror "mi-nsmoribund.exp tests suppressed" continue } diff --git a/gdb/testsuite/gdb.mi/mi-nsthrexec.exp b/gdb/testsuite/gdb.mi/mi-nsthrexec.exp index 585e30f582..b99a1aa7d6 100644 --- a/gdb/testsuite/gdb.mi/mi-nsthrexec.exp +++ b/gdb/testsuite/gdb.mi/mi-nsthrexec.exp @@ -62,7 +62,6 @@ mi_gdb_test "-gdb-set target-async 1" ".*" detect_async if { [mi_run_to_main] < 0 } { - perror "mi-nsthrexec.exp tests suppressed" continue }