* 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 312ce7a8954b263894273814cc93993dbac3c26a..61f9f16ded5b68030c090d5727dd5cc94d600f7c 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 b4f4c18c70454802052037b0bc2bc8224b322026..c8cb09fddcd6fbe63f04d92f4bcb6f29a459178e 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.