diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-10-17 22:17:47 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-10-17 22:17:47 +0000 |
commit | 9df05592f0e2b570e8045bd415e42c8af5310c99 (patch) | |
tree | b96294a9fdc8a610be289cc155e02b033f25e32d /lldb/test/python_api/default-constructor/sb_watchpoint.py | |
parent | 70b8d76e645c0f4de557fde27467eac578909af7 (diff) | |
download | bcm5719-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.py | 2 |
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() |