DejaGnu's host_execute has an erroneous line that appears to be a
merge conflict that went awry followed up by a reindent, and jit.exp
has inherited this bug within "fixed_host_execute".

Fix it within jit.exp.

Reported to DejaGnu as:
  http://lists.gnu.org/archive/html/dejagnu/2014-11/msg00001.html

gcc/testsuite/ChangeLog:
        * jit.dg/jit.exp (fixed_host_execute): Fix timeout bug.
---
 gcc/testsuite/jit.dg/jit.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/jit.dg/jit.exp b/gcc/testsuite/jit.dg/jit.exp
index 9179a15..2edd048 100644
--- a/gcc/testsuite/jit.dg/jit.exp
+++ b/gcc/testsuite/jit.dg/jit.exp
@@ -199,7 +199,7 @@ proc fixed_host_execute {args} {
                incr timetol
                exp_continue
            } else {
-               -               catch close
+               catch close
                return "Timed out executing test case"
            }
        }
-- 
1.8.5.3

Reply via email to