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:
afef492
)
Use self.fail() in MiGdbSetShowTestCase.test_lldbmi_gdb_set_target_async_off (MI)
author
Ilia K
<ki.stfu@gmail.com>
Fri, 24 Apr 2015 11:41:42 +0000
(11:41 +0000)
committer
Ilia K
<ki.stfu@gmail.com>
Fri, 24 Apr 2015 11:41:42 +0000
(11:41 +0000)
llvm-svn: 235712
lldb/test/tools/lldb-mi/TestMiGdbSetShow.py
patch
|
blob
|
history
diff --git
a/lldb/test/tools/lldb-mi/TestMiGdbSetShow.py
b/lldb/test/tools/lldb-mi/TestMiGdbSetShow.py
index
c683300
..
b7d1422
100644
(file)
--- a/
lldb/test/tools/lldb-mi/TestMiGdbSetShow.py
+++ b/
lldb/test/tools/lldb-mi/TestMiGdbSetShow.py
@@
-82,8
+82,7
@@
class MiGdbSetShowTestCase(lldbmi_testcase.MiTestCaseBase):
unexpected = [ "\*running" ] # "\*running" is async notification
it = self.expect(unexpected + [ "@\"argc=1\\\\r\\\\n" ])
if it < len(unexpected):
- # generate error if it's not "@\"argc=1\\\\r\\\\n"
- self.expect("$UNEXPECTED FOUND: %s\.^" % unexpected[it], timeout = 0)
+ self.fail("unexpected found: %s" % unexpected[it])
@lldbmi_test
@expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")