diff options
author | Joel Brobecker <brobecker@adacore.com> | 2014-05-27 14:03:11 -0700 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2014-06-02 08:42:30 -0700 |
commit | da02b3a81f661022256bfc44ddd280fd7923a459 (patch) | |
tree | b6b8dc91c90d2961d62e357bce913b3e58e65216 /gdb | |
parent | 486ef3b9331303f5913b3c8cbf390505cbf72038 (diff) | |
download | gdb-da02b3a81f661022256bfc44ddd280fd7923a459.zip gdb-da02b3a81f661022256bfc44ddd280fd7923a459.tar.gz gdb-da02b3a81f661022256bfc44ddd280fd7923a459.tar.bz2 |
Unnecessary restore of timeout global at end of gdb.base/completion.exp
This patch removes some code in gdb.base/compilation.exp which
is aimed at restoring the original timeout global value after having
changed it for this testcase. Restoring the timeout global is not
necessary as this is taken care of by gdb_init, which is called
at the start of each testing.
gdb/testsuite/ChangeLog:
* gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/completion.exp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 06818af..3db3199 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-06-02 Joel Brobecker <brobecker@adacore.com> + + * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT. + 2014-06-01 Yao Qi <yao@codesourcery.com> * gdb.base/watchpoint.exp (test_watch_location): Check null diff --git a/gdb/testsuite/gdb.base/completion.exp b/gdb/testsuite/gdb.base/completion.exp index 2608309..2a85df5 100644 --- a/gdb/testsuite/gdb.base/completion.exp +++ b/gdb/testsuite/gdb.base/completion.exp @@ -66,7 +66,6 @@ if ![runto_main] then { perror "tests suppressed" } -set oldtimeout1 $timeout set timeout 30 gdb_test_no_output "complete print values\[0\].x." \ @@ -747,7 +746,4 @@ gdb_test_multiple "" "$test" { } } -# Restore globals modified in this test... -set timeout $oldtimeout1 - return 0 |