diff options
author | Luis Machado <lgustavo@codesourcery.com> | 2016-12-01 22:07:02 -0600 |
---|---|---|
committer | Luis Machado <lgustavo@codesourcery.com> | 2016-12-01 22:07:02 -0600 |
commit | 018572b88885ae67d22612937fa1e4fd98d5f5ad (patch) | |
tree | b399cd971a39f5e841f59ded1d8698e67a33dd4b /gdb/testsuite/gdb.base/maint.exp | |
parent | 397b8d2a9fb6651924c311f41b90cabeb3fc3ae9 (diff) | |
download | gdb-018572b88885ae67d22612937fa1e4fd98d5f5ad.zip gdb-018572b88885ae67d22612937fa1e4fd98d5f5ad.tar.gz gdb-018572b88885ae67d22612937fa1e4fd98d5f5ad.tar.bz2 |
Don't handle timeout inside gdb_test_multiple
This fixes a few cases where the testcase is explicitly handling timeouts
inside gdb_test_multiple when it is not necessary.
It also converts two gdb_test_multiple calls to gdb_test_no_output calls
(also removing the timeout handling).
gdb/testsuite/ChangeLog:
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
* gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
* gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
gdb_test_no_output for a couple of cases.
* gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
Diffstat (limited to 'gdb/testsuite/gdb.base/maint.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/maint.exp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/testsuite/gdb.base/maint.exp b/gdb/testsuite/gdb.base/maint.exp index b07b370..17c606b 100644 --- a/gdb/testsuite/gdb.base/maint.exp +++ b/gdb/testsuite/gdb.base/maint.exp @@ -297,9 +297,6 @@ gdb_test_multiple "maint print msymbols msymbols_output2 ${testfile}" "maint pri -re ".*$gdb_prompt $" { fail "maint print msymbols" } - timeout { - fail "(timeout) maint print msymbols" - } } gdb_test "shell rm -f msymbols_output2" ".*" \ "shell rm -f msymbols_output2" @@ -307,17 +304,11 @@ gdb_test_multiple "maint print msymbols msymbols_output2 ${testfile}" "maint pri -re ".*$gdb_prompt $" { fail "maint print msymbols" } - timeout { - fail "(timeout) maint print msymbols" - } } } -re ".*$gdb_prompt $" { fail "maint print msymbols" } - timeout { - fail "(timeout) maint print msymbols" - } } gdb_test "cd ${mydir}" \ "Working directory [string_to_regexp ${mydir}]\..*" \ |