summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2015-10-13 17:54:15 +0000
committerAdrian McCarthy <amccarth@google.com>2015-10-13 17:54:15 +0000
commit1d34f74470deedd80f76593958c9fd1a66c6bff0 (patch)
treee5c03140c91c1a6ead69968376dd1ab2b3cd8103 /lldb/test/python_api
parent1732340bfa11a27619e816c8b689d352392b8dce (diff)
downloadbcm5719-llvm-1d34f74470deedd80f76593958c9fd1a66c6bff0.tar.gz
bcm5719-llvm-1d34f74470deedd80f76593958c9fd1a66c6bff0.zip
Fix TestTargetAPI.py test for users who use Swig 3.0.5 or greater.
DifferentialRevision: http://reviews.llvm.org/D13679 llvm-svn: 250188
Diffstat (limited to 'lldb/test/python_api')
-rw-r--r--lldb/test/python_api/default-constructor/sb_error.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/python_api/default-constructor/sb_error.py b/lldb/test/python_api/default-constructor/sb_error.py
index 617fab3e61e..7e069323bf3 100644
--- a/lldb/test/python_api/default-constructor/sb_error.py
+++ b/lldb/test/python_api/default-constructor/sb_error.py
@@ -18,5 +18,8 @@ def fuzz_obj(obj):
obj.SetErrorString(None)
obj.SetErrorStringWithFormat("%s!", "error")
obj.SetErrorStringWithFormat(None)
+ obj.SetErrorStringWithFormat("error")
+ obj.SetErrorStringWithFormat("%s %s", "warning", "danger")
+ obj.SetErrorStringWithFormat("%s %s %s", "danger", "will", "robinson")
obj.GetDescription(lldb.SBStream())
obj.Clear()
OpenPOWER on IntegriCloud