diff options
| author | Chaoren Lin <chaorenl@google.com> | 2015-04-06 18:23:48 +0000 |
|---|---|---|
| committer | Chaoren Lin <chaorenl@google.com> | 2015-04-06 18:23:48 +0000 |
| commit | b3015da7e46aaa233d6a1c2bde9c63523c32b5ab (patch) | |
| tree | 30a797d4d41721eadaa6daff44f2cf0452047238 | |
| parent | f4952c1c3dd563846dc16085c723688c36bfe3be (diff) | |
| download | bcm5719-llvm-b3015da7e46aaa233d6a1c2bde9c63523c32b5ab.tar.gz bcm5719-llvm-b3015da7e46aaa233d6a1c2bde9c63523c32b5ab.zip | |
Ignore IOError from missing child.log.
Summary:
TestMiCliSupport (among other TestMi*) fails on Linux with
```
IOError: [Errno 2] No such file or directory: 'child.log'
```
Reviewers: clayborg, ki.stfu
Reviewed By: ki.stfu
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D8843
llvm-svn: 234191
| -rw-r--r-- | lldb/test/tools/lldb-mi/lldbmi_testcase.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/test/tools/lldb-mi/lldbmi_testcase.py b/lldb/test/tools/lldb-mi/lldbmi_testcase.py index 8ab7d1bcbdf..61423694d70 100644 --- a/lldb/test/tools/lldb-mi/lldbmi_testcase.py +++ b/lldb/test/tools/lldb-mi/lldbmi_testcase.py @@ -25,7 +25,10 @@ class MiTestCaseBase(Base): def tearDown(self): if self.TraceOn(): print "\n\nContents of %s:" % self.mylog - print open(self.mylog, "r").read() + try: + print open(self.mylog, "r").read() + except IOError: + pass Base.tearDown(self) def spawnLldbMi(self, args=None): |

