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.
This commit is contained in:
Sandra Loosemore 2015-10-21 09:54:49 -07:00
parent a846e9c187
commit 27145d5070
2 changed files with 19 additions and 17 deletions

View File

@ -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>

View File

@ -103,9 +103,7 @@ if {$i >= [llength $lines]} {
gdb_run_cmd
set prev_timeout $timeout
set timeout 120
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"
@ -120,5 +118,4 @@ gdb_test_multiple "" "run program with breakpoint commands" {
kfail "gdb/1489" "run program with breakpoint commands (GDB died)"
}
}
set timeout $prev_timeout
}