diff options
author | Doug Evans <dje@google.com> | 2010-03-11 00:20:29 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-03-11 00:20:29 +0000 |
commit | e469c7fb687b55ecd0d6048cbb9134a00b7f03d8 (patch) | |
tree | 7aa5e43edfd8a20239790dbd55f2ec17119f3f54 /gdb | |
parent | 90b21eb72d1ea8abc53fc99a7bcec4c7bb9f537b (diff) | |
download | gdb-e469c7fb687b55ecd0d6048cbb9134a00b7f03d8.zip gdb-e469c7fb687b55ecd0d6048cbb9134a00b7f03d8.tar.gz gdb-e469c7fb687b55ecd0d6048cbb9134a00b7f03d8.tar.bz2 |
* gdb.base/checkpoint.exp: Fix comment.
Lengthen timeout while doing >600 checkpoints test.
Rename duplicate "kill all one" test to keep test names unique.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/checkpoint.exp | 12 |
2 files changed, 16 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e015915..c58f296 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-03-10 Doug Evans <dje@google.com> + + * gdb.base/checkpoint.exp: Fix comment. + Lengthen timeout while doing >600 checkpoints test. + Rename duplicate "kill all one" test to keep test names unique. + 2010-03-10 Pedro Alves <pedro@codesourcery.com> * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New. diff --git a/gdb/testsuite/gdb.base/checkpoint.exp b/gdb/testsuite/gdb.base/checkpoint.exp index dc8ce1e..d987348 100644 --- a/gdb/testsuite/gdb.base/checkpoint.exp +++ b/gdb/testsuite/gdb.base/checkpoint.exp @@ -328,7 +328,7 @@ gdb_test "restart 9" "Not found.*" "no more checkpoint 9" gdb_test "restart 10" "Not found.*" "no more checkpoint 10" # -# Now let's try setting a large number of checkpoints (>1000) +# Now let's try setting a large number of checkpoints (>600) # gdb_exit @@ -352,6 +352,10 @@ gdb_expect { timeout { fail "(timeout) set checkpoint breakpoint" } } +set prev_timeout $timeout +set timeout [expr $timeout + 120] +verbose "Timeout now $timeout sec." + gdb_breakpoint $break2_loc gdb_test "continue" "breakpoint 2.*" "break2 with many checkpoints" @@ -375,9 +379,13 @@ gdb_test_multiple "info checkpoints" $msg { # OK, kill 'em all... # -gdb_test "kill" "" "kill all one" \ +gdb_test "kill" "" "kill all one with many checkpoints" \ "Kill the program being debugged.*y or n. $" "y" +# Restore old timeout +set timeout $prev_timeout +verbose "Timeout now $timeout sec." + # # Finished: cleanup # |