projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c58e8a
)
Allow customizing the timeout of the inferior
author
Enrico Granata
<egranata@apple.com>
Tue, 3 Feb 2015 01:06:35 +0000
(
01:06
+0000)
committer
Enrico Granata
<egranata@apple.com>
Tue, 3 Feb 2015 01:06:35 +0000
(
01:06
+0000)
llvm-svn: 227906
lldb/test/lldbpexpect.py
patch
|
blob
|
history
diff --git
a/lldb/test/lldbpexpect.py
b/lldb/test/lldbpexpect.py
index
1a73b28
..
aa1e220
100644
(file)
--- a/
lldb/test/lldbpexpect.py
+++ b/
lldb/test/lldbpexpect.py
@@
-16,9
+16,11
@@
class PExpectTest(TestBase):
def launchArgs(self):
pass
- def launch(self):
- self.timeout = 5
+ def launch(self
, timeout=None
):
+ if timeout is None: timeout = 30
self.child = pexpect.spawn('%s %s' % (self.lldbHere, self.launchArgs()))
+ self.child.timeout = timeout
+ self.timeout = timeout
def expect(self, patterns=None, timeout=None, exact=None):
if patterns is None: return None