* lib/timeout.exp (timeout): Add board_info support.
authorDJ Delorie <dj@redhat.com>
Thu, 2 Jun 2011 18:16:25 +0000 (14:16 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Thu, 2 Jun 2011 18:16:25 +0000 (14:16 -0400)
From-SVN: r174573

gcc/testsuite/ChangeLog
gcc/testsuite/lib/timeout.exp

index 312ce7a..61f9f16 100644 (file)
@@ -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.
index b4f4c18..c8cb09f 100644 (file)
@@ -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.