mesontest: Do not timeout when running inside GDB

pull/1128/head
Thibault Saunier 8 years ago
parent 6203e3ae34
commit 56a6f86827
  1. 3
      mesontest.py

@ -199,8 +199,9 @@ class TestHarness:
cwd=test.workdir,
preexec_fn=setsid)
timed_out = False
timeout = test.timeout if not self.options.gdb else None
try:
(stdo, stde) = p.communicate(timeout=test.timeout)
(stdo, stde) = p.communicate(timeout=timeout)
except subprocess.TimeoutExpired:
timed_out = True
# Python does not provide multiplatform support for

Loading…
Cancel
Save