Add fuzz calls for SBDebugger.

llvm-svn: 133848
This commit is contained in:
Johnny Chen
2011-06-25 00:09:29 +00:00
parent b2681bef4f
commit 3c7a726a6d
2 changed files with 54 additions and 0 deletions

View File

@@ -101,6 +101,9 @@ class APIDefaultConstructorTestCase(TestBase):
if self.TraceOn():
print obj
self.assertFalse(obj)
# Do fuzz testing on the invalid obj, it should not crash lldb.
import sb_debugger
sb_debugger.fuzz_obj(obj)
@python_api_test
def test_SBError(self):