Add fuzz calls for SBModule and SBProcess.
llvm-svn: 134037
This commit is contained in:
@@ -211,6 +211,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_module
|
||||
sb_module.fuzz_obj(obj)
|
||||
|
||||
@python_api_test
|
||||
def test_SBProcess(self):
|
||||
@@ -218,6 +221,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_process
|
||||
sb_process.fuzz_obj(obj)
|
||||
|
||||
@python_api_test
|
||||
def test_SBStream(self):
|
||||
|
||||
Reference in New Issue
Block a user