summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/process/TestProcessAPI.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/API/python_api/process/TestProcessAPI.py')
-rw-r--r--lldb/test/API/python_api/process/TestProcessAPI.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/lldb/test/API/python_api/process/TestProcessAPI.py b/lldb/test/API/python_api/process/TestProcessAPI.py
index 3fad30a78a17..cf05335b2384 100644
--- a/lldb/test/API/python_api/process/TestProcessAPI.py
+++ b/lldb/test/API/python_api/process/TestProcessAPI.py
@@ -18,6 +18,18 @@ class ProcessAPITestCase(TestBase):
"main.cpp",
"// Set break point at this line and check variable 'my_char'.")
+ def test_scripted_implementation(self):
+ self.build()
+ exe = self.getBuildArtifact("a.out")
+
+ (target, process, _, _) = \
+ lldbutil.run_to_source_breakpoint(self, "Set break point",
+ lldb.SBFileSpec("main.cpp"))
+
+ self.assertTrue(process, PROCESS_IS_VALID)
+ self.assertEqual(process.GetScriptedImplementation(), None)
+
+
def test_read_memory(self):
"""Test Python SBProcess.ReadMemory() API."""
self.build()