Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Kevin Buettner <kevinb@redhat.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] gdb.base/async.exp: Handle "asynchronous execution not supported"
Date: Tue, 08 Dec 2015 10:01:00 -0000	[thread overview]
Message-ID: <5666AA75.5090904@redhat.com> (raw)
In-Reply-To: <20151207232255.15b0c35e@pinnacle.lan>

On 12/08/2015 06:22 AM, Kevin Buettner wrote:
> 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"
> +	}

Could you handle the suggestion here too, please?

 https://sourceware.org/ml/gdb-patches/2015-06/msg00519.html

>  	timeout  {
>  	    fail "$message (timeout)"
>  	}
> 


Thanks,
Pedro Alves


      parent reply	other threads:[~2015-12-08 10:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-08  6:23 Kevin Buettner
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 [this message]

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=5666AA75.5090904@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=kevinb@redhat.com \
    /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