From: Kevin Buettner <kevinb@redhat.com>
To: gdb-patches@sourceware.org
Subject: [PATCH] gdb.base/async.exp: Handle "asynchronous execution not supported"
Date: Tue, 08 Dec 2015 06:23:00 -0000 [thread overview]
Message-ID: <20151207232255.15b0c35e@pinnacle.lan> (raw)
This change eliminates some failures on simulator targets and makes
the test run a bit quicker too - without this change, we have to wait
for timeouts.
gdb/testsuite/ChangeLog:
* gdb.base/async.exp (proc test_background): Add case
for asynchronous execution not supported.
---
gdb/testsuite/gdb.base/async.exp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gdb/testsuite/gdb.base/async.exp b/gdb/testsuite/gdb.base/async.exp
index 2d3fb73..8226244 100644
--- a/gdb/testsuite/gdb.base/async.exp
+++ b/gdb/testsuite/gdb.base/async.exp
@@ -61,6 +61,9 @@ proc test_background {command before_prompt after_prompt {message ""}} {
-re "$gdb_prompt.*completed\.\r\n" {
fail "$message"
}
+ -re ".*Asynchronous execution not supported on this target..*" {
+ unsupported "Asynchronous execution not supported: $message"
+ }
timeout {
fail "$message (timeout)"
}
next reply other threads:[~2015-12-08 6:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-08 6:23 Kevin Buettner [this message]
2015-12-08 8:01 ` Joel Brobecker
2015-12-08 20:17 ` Kevin Buettner
2015-12-09 10:13 ` Pedro Alves
2015-12-09 16:28 ` Kevin Buettner
2015-12-08 10:01 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151207232255.15b0c35e@pinnacle.lan \
--to=kevinb@redhat.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox