summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/default-constructor/sb_watchpoint.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-10-17 22:17:47 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-10-17 22:17:47 +0000
commit9df05592f0e2b570e8045bd415e42c8af5310c99 (patch)
treeb96294a9fdc8a610be289cc155e02b033f25e32d /lldb/test/python_api/default-constructor/sb_watchpoint.py
parent70b8d76e645c0f4de557fde27467eac578909af7 (diff)
downloadbcm5719-llvm-9df05592f0e2b570e8045bd415e42c8af5310c99.tar.gz
bcm5719-llvm-9df05592f0e2b570e8045bd415e42c8af5310c99.zip
Add test cases for setting condition on a watchpoint for both command and API.
llvm-svn: 142291
Diffstat (limited to 'lldb/test/python_api/default-constructor/sb_watchpoint.py')
-rw-r--r--lldb/test/python_api/default-constructor/sb_watchpoint.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/test/python_api/default-constructor/sb_watchpoint.py b/lldb/test/python_api/default-constructor/sb_watchpoint.py
index 29d58628e57..a028cb48c4c 100644
--- a/lldb/test/python_api/default-constructor/sb_watchpoint.py
+++ b/lldb/test/python_api/default-constructor/sb_watchpoint.py
@@ -18,3 +18,5 @@ def fuzz_obj(obj):
obj.GetIgnoreCount()
obj.SetIgnoreCount(5)
obj.GetDescription(lldb.SBStream(), lldb.eDescriptionLevelVerbose)
+ obj.SetCondition("shouldWeStop()")
+ obj.GetCondition()
OpenPOWER on IntegriCloud