diff options
author | Bob Rossi <bob@brasko.net> | 2005-09-11 20:24:54 +0000 |
---|---|---|
committer | Bob Rossi <bob@brasko.net> | 2005-09-11 20:24:54 +0000 |
commit | 40e55befbf32a76e0fe56029b04bfe946a0e3a83 (patch) | |
tree | eca636b80a68f72146b6ebe11da620c279ca6590 /gdb/testsuite/gdb.mi/mi-console.exp | |
parent | 3c7385ece05be8c90506eb49a16a45223d4f736a (diff) | |
download | gdb-40e55befbf32a76e0fe56029b04bfe946a0e3a83.zip gdb-40e55befbf32a76e0fe56029b04bfe946a0e3a83.tar.gz gdb-40e55befbf32a76e0fe56029b04bfe946a0e3a83.tar.bz2 |
2005-09-11 Bob Rossi <bob@brasko.net>
* lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
* gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
commands that return an MI output command and an asyncronous MI output
command.
* gdb.mi/mi-console.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-console.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-console.exp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-console.exp b/gdb/testsuite/gdb.mi/mi-console.exp index 84ae35f..55535f7 100644 --- a/gdb/testsuite/gdb.mi/mi-console.exp +++ b/gdb/testsuite/gdb.mi/mi-console.exp @@ -58,15 +58,8 @@ mi_gdb_test "47-exec-next" \ "47\\^running" \ "Testing console output" \ "Hello \\\\\"!\[\r\n\]+" - -gdb_expect { - -re "47\\*stopped.*$mi_gdb_prompt$" { - pass "Finished step over hello" - } - timeout { - fail "Finished step over hello (timeout)" - } -} +mi_gdb_test "" "47\\*stopped.*" "Finished step over hello" + mi_gdb_exit return 0 |