Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] gdb.base/async.exp: Handle "asynchronous execution not supported"
@ 2015-12-08  6:23 Kevin Buettner
  2015-12-08  8:01 ` Joel Brobecker
  2015-12-08 10:01 ` Pedro Alves
  0 siblings, 2 replies; 6+ messages in thread
From: Kevin Buettner @ 2015-12-08  6:23 UTC (permalink / raw)
  To: gdb-patches

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)"
 	}


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-12-09 16:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-08  6:23 [PATCH] gdb.base/async.exp: Handle "asynchronous execution not supported" 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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox