aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2012-02-17 09:41:13 +0000
committerRainer Orth <ro@gcc.gnu.org>2012-02-17 09:41:13 +0000
commit459e2649e4257c56662f5c232d49fdeef5f7bc3b (patch)
tree5b86eeabfc51614912e0c4c51feb2b480fa2282b /gcc/testsuite/lib
parente9339a68d32b2cbc6bc67a529cef40a4f2eca022 (diff)
downloadgcc-459e2649e4257c56662f5c232d49fdeef5f7bc3b.zip
gcc-459e2649e4257c56662f5c232d49fdeef5f7bc3b.tar.gz
gcc-459e2649e4257c56662f5c232d49fdeef5f7bc3b.tar.bz2
Increase simulate-thread timeout (PR target/51753)
PR target/51753 * lib/gcc-simulate-thread.exp: Load timeout.exp. (simulate-thread): Use default timeout. From-SVN: r184330
Diffstat (limited to 'gcc/testsuite/lib')
-rw-r--r--gcc/testsuite/lib/gcc-simulate-thread.exp7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/testsuite/lib/gcc-simulate-thread.exp b/gcc/testsuite/lib/gcc-simulate-thread.exp
index 2b1294c..0b36947 100644
--- a/gcc/testsuite/lib/gcc-simulate-thread.exp
+++ b/gcc/testsuite/lib/gcc-simulate-thread.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 2011 Free Software Foundation, Inc.
+# Copyright (C) 2011, 2012 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -14,6 +14,8 @@
# along with GCC; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
+load_lib timeout.exp
+
# Utility for running a given test through the simulate-thread harness
# using gdb. This is invoked via dg-final.
#
@@ -56,8 +58,7 @@ proc simulate-thread { args } {
set gdb_worked 0
- # Set timeout to 20 seconds due to huge amount of generated log.
- remote_expect target 20 {
+ remote_expect target [timeout_value] {
# Too old GDB
-re "Unhandled dwarf expression|Error in sourced command file" {
unsupported "$testcase $message"