summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-02 18:16:25 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-02 18:16:25 +0000
commit5a2e53487f615d5896ea3b827adc3cb43c3744e8 (patch)
treeb844c47ce519ad9be018728aa03adf5911aeb05c
parent9793dd8e5c16b287e2df6d1665de384e3fafeb16 (diff)
downloadgcc-5a2e53487f615d5896ea3b827adc3cb43c3744e8.tar.gz
* lib/timeout.exp (timeout): Add board_info support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174573 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/lib/timeout.exp2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 312ce7a8954..61f9f16ded5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-02 DJ Delorie <dj@redhat.com>
+
+ * lib/timeout.exp (timeout): Add board_info support.
+
2011-06-02 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/sse2-init-v2di-2: Update scan-assembler-times string.
diff --git a/gcc/testsuite/lib/timeout.exp b/gcc/testsuite/lib/timeout.exp
index b4f4c18c704..c8cb09fddcd 100644
--- a/gcc/testsuite/lib/timeout.exp
+++ b/gcc/testsuite/lib/timeout.exp
@@ -46,6 +46,8 @@ proc timeout_value { args } {
set val $tool_timeout
} elseif [target_info exists gcc,timeout] {
set val [target_info gcc,timeout]
+ } elseif [board_info target exists gcc,timeout] {
+ set val [board_info target gcc,timeout]
} else {
# This is really, REALLY ugly, but this is the default from
# remote.exp deep within DejaGnu.