mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 19:41:46 +00:00
Add fuzz calls for SBTarget and SBThread.
llvm-svn: 134046
This commit is contained in:
1 parent
fc510bdd94
commit
8ebed74e6e
4 files changed
+87
-3
No files matched your search
@@ -277,6 +277,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_target
|
||||
sb_target.fuzz_obj(obj)
|
||||
|
||||
@python_api_test
|
||||
def test_SBThread(self):
|
||||
@@ -284,6 +287,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_thread
|
||||
sb_thread.fuzz_obj(obj)
|
||||
|
||||
@python_api_test
|
||||
def test_SBType(self):
|
||||
|
||||
Reference in new issue
Block a user