Use a big timeout when running gdb interactively and a typo fix.

pull/832/head
Jussi Pakkanen 8 years ago
parent 60716fcd6d
commit 22aedda6d0
  1. 7
      mesontest.py

@ -227,6 +227,9 @@ class TestHarness:
cwd=test.workdir,
preexec_fn=setsid)
timed_out = False
if test.timeout is None:
timeout = None
else:
timeout = test.timeout * self.options.timeout_multiplier
try:
(stdo, stde) = p.communicate(timeout=timeout)
@ -424,7 +427,9 @@ class TestHarness:
if len(t.cmd_args) > 0:
wrap.append('--args')
if self.options.repeat > 1:
wrap.append('-ex', 'run', '-ex', 'quit')
# The user wants to debug interactively, so no timeout.
t.timeout = None
wrap += ['-ex', 'run', '-ex', 'quit']
res = self.run_single_test(wrap, t)
else:

Loading…
Cancel
Save