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:
parent
cbbe245693
commit
2f25b65cbc
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue