diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2015-10-21 09:54:49 -0700 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2015-10-21 09:54:49 -0700 |
commit | 27145d50705b46e213f5f261bd07572383c79e20 (patch) | |
tree | a023c713506e904169f630314b6823a3f5e84792 /gdb | |
parent | a846e9c1872038b0d7bac1fe5bb134668ae5e697 (diff) | |
download | gdb-27145d50705b46e213f5f261bd07572383c79e20.zip gdb-27145d50705b46e213f5f261bd07572383c79e20.tar.gz gdb-27145d50705b46e213f5f261bd07572383c79e20.tar.bz2 |
Adjust timeout in gdb.base/freebpcmd.exp.
2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
gdb/testsuite/
* gdb.base/freebpcmd.exp: Use with_timeout_factor instead
of hardwired timeout value.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/freebpcmd.exp | 31 |
2 files changed, 19 insertions, 17 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index bf63b5d..82d53f8 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-10-21 Sandra Loosemore <sandra@codesourcery.com> + + * gdb.base/freebpcmd.exp: Use with_timeout_factor instead + of hardwired timeout value. + 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com> Pedro Alves <palves@redhat.com> diff --git a/gdb/testsuite/gdb.base/freebpcmd.exp b/gdb/testsuite/gdb.base/freebpcmd.exp index 2f46bc8..c7c0814 100644 --- a/gdb/testsuite/gdb.base/freebpcmd.exp +++ b/gdb/testsuite/gdb.base/freebpcmd.exp @@ -103,22 +103,19 @@ if {$i >= [llength $lines]} { gdb_run_cmd -set prev_timeout $timeout -set timeout 120 - -gdb_test_multiple "" "run program with breakpoint commands" { - -re "warning: Invalid control type in command structure" { - kfail "gdb/1489" "run program with breakpoint commands" - } - -re "Invalid i value\r\n$gdb_prompt $" { - xfail "run program with breakpoint commands (i value not readable)" - } - -re "$gdb_prompt $" { - pass "run program with breakpoint commands" - } - eof { - kfail "gdb/1489" "run program with breakpoint commands (GDB died)" +with_timeout_factor 10 { + gdb_test_multiple "" "run program with breakpoint commands" { + -re "warning: Invalid control type in command structure" { + kfail "gdb/1489" "run program with breakpoint commands" + } + -re "Invalid i value\r\n$gdb_prompt $" { + xfail "run program with breakpoint commands (i value not readable)" + } + -re "$gdb_prompt $" { + pass "run program with breakpoint commands" + } + eof { + kfail "gdb/1489" "run program with breakpoint commands (GDB died)" + } } } - -set timeout $prev_timeout |