jit.exp: fix timeout bug inherited from dejagnu.exp
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 1 Dec 2014 16:18:57 +0000 (16:18 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Mon, 1 Dec 2014 16:18:57 +0000 (16:18 +0000)
gcc/testsuite/ChangeLog:
* jit.dg/jit.exp (fixed_host_execute): Fix timeout bug.

From-SVN: r218228

gcc/testsuite/ChangeLog
gcc/testsuite/jit.dg/jit.exp

index 37b5d0b..e2f2dfd 100644 (file)
@@ -1,5 +1,9 @@
 2014-12-01  David Malcolm  <dmalcolm@redhat.com>
 
+       * jit.dg/jit.exp (fixed_host_execute): Fix timeout bug.
+
+2014-12-01  David Malcolm  <dmalcolm@redhat.com>
+
        PR jit/63854
        * jit.dg/jit.exp (report_leak): New.
        (parse_valgrind_logfile): New.
index 9179a15..2edd048 100644 (file)
@@ -199,7 +199,7 @@ proc fixed_host_execute {args} {
                incr timetol
                exp_continue
            } else {
-               -               catch close
+               catch close
                return "Timed out executing test case"
            }
        }