[Lldb-commits] [lldb] aafd65a - [lldb][test] Replace HandleCommand with runCmd to check that a command succeeded
Tatyana Krasnukha via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 5 01:37:27 PST 2020
Author: Tatyana Krasnukha
Date: 2020-03-05T12:37:08+03:00
New Revision: aafd65ad9ff0def1e79889074687f7d0b05313e2
URL: https://github.com/llvm/llvm-project/commit/aafd65ad9ff0def1e79889074687f7d0b05313e2
DIFF: https://github.com/llvm/llvm-project/commit/aafd65ad9ff0def1e79889074687f7d0b05313e2.diff
LOG: [lldb][test] Replace HandleCommand with runCmd to check that a command succeeded
Added:
Modified:
lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py
lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py
Removed:
################################################################################
diff --git a/lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py b/lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py
index 8ca26398fcac..7e3b7dfb7752 100644
--- a/lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py
+++ b/lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py
@@ -42,5 +42,5 @@ def test_ptr_refs(self):
frame = thread.GetFrameAtIndex(0)
- self.dbg.HandleCommand("script import lldb.macosx.heap")
+ self.runCmd("script import lldb.macosx.heap")
self.expect("ptr_refs my_ptr", substrs=["malloc", "stack"])
diff --git a/lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py b/lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py
index aade40c06b64..41a063b4ab99 100644
--- a/lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py
+++ b/lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py
@@ -42,6 +42,6 @@ def test_ptr_refs(self):
frame = thread.GetFrameAtIndex(0)
- self.dbg.HandleCommand("script import lldb.macosx.heap")
+ self.runCmd("script import lldb.macosx.heap")
self.expect("ptr_refs self", substrs=["malloc", "stack"])
More information about the lldb-commits
mailing list