D-Bus testing: better support for interactive testing

When delaying processes as part of the sync, disable the normal
test timeouts. Useful for attaching to the delayed process
with gdb and then debugging without running into the test
timeouts.
This commit is contained in:
Patrick Ohly 2012-08-31 12:23:04 +02:00
parent cbbe245693
commit 2f25b65cbc
1 changed files with 1 additions and 1 deletions

View File

@ -549,7 +549,7 @@ class DBusUtil(Timeout):
# timeout.
timeout = self.getTestProperty("timeout", defTimeout)
timeout_handle = None
if timeout and not debugger:
if timeout and not debugger and not os.environ.get("SYNCEVOLUTION_LOCAL_CHILD_DELAY", None):
def timedout():
error = "%s timed out after %d seconds, current quit events: %s" % (self.id(), timeout, self.quit_events)
if Timeout.debugTimeout: