* [PATCH] gdb.mi/mi-return.exp: fix racy test (PR testsuite/12649)
@ 2011-06-20 15:44 Marek Polacek
2011-06-22 15:18 ` Tom Tromey
0 siblings, 1 reply; 3+ messages in thread
From: Marek Polacek @ 2011-06-20 15:44 UTC (permalink / raw)
To: gdb-patches
Another change from gdb_test_multiple to mi_gdb_test.
Tested with read{,1}. OK?
2011-06-20 Marek Polacek <mpolacek@redhat.com>
* gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
--- gdb/gdb/testsuite/gdb.mi/mi-return.exp.mp 2011-06-20 17:14:25.856575191 +0200
+++ gdb/gdb/testsuite/gdb.mi/mi-return.exp 2011-06-20 17:22:59.452171818 +0200
@@ -53,11 +53,7 @@ proc test_return_simple {} {
set line_callee3_call [expr $line_callee3_head + 2]
set line_callee3_close_brace [expr $line_callee3_head + 3]
- gdb_test_multiple "111-exec-return" "return from callee4 now" {
- -re "111\\^done,frame=\{level=\"0\",addr=\"$hex\",func=\"callee3\",args=\\\[.*\\\],file=\".*basics.c\",fullname=\"${fullname_syntax}${srcfile}\",line=\"($line_callee3_call|$line_callee3_close_brace)\"\}\r\n$mi_gdb_prompt$" {
- pass "return from callee4 now"
- }
- }
+ mi_gdb_test "111-exec-return" "111\\^done,frame=\{level=\"0\",addr=\"$hex\",func=\"callee3\",args=\\\[.*\\\],file=\".*basics.c\",fullname=\"${fullname_syntax}${srcfile}\",line=\"($line_callee3_call|$line_callee3_close_brace)\"\}" "return from callee4 now"
}
mi_runto callee4
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-22 15:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-20 15:44 [PATCH] gdb.mi/mi-return.exp: fix racy test (PR testsuite/12649) Marek Polacek
2011-06-22 15:18 ` Tom Tromey
2011-06-22 15:34 ` Marek Polacek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox