summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-06-25 00:09:29 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-06-25 00:09:29 +0000
commit3c7a726a6da051597204b6397d62b48af1d11c26 (patch)
treee14df14a77eaab9dd60da3e23201a734c7d1e06d /lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
parentb2681bef4f89f39b0f747011873b9080399a3f44 (diff)
downloadbcm5719-llvm-3c7a726a6da051597204b6397d62b48af1d11c26.tar.gz
bcm5719-llvm-3c7a726a6da051597204b6397d62b48af1d11c26.zip
Add fuzz calls for SBDebugger.
llvm-svn: 133848
Diffstat (limited to 'lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py')
-rw-r--r--lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py b/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
index b85e41e416d..196c5d59d75 100644
--- a/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
+++ b/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
@@ -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):
OpenPOWER on IntegriCloud