[Lldb-commits] [lldb] Fix TestEvents.py after: 4fdb8cb (PR #138211)

via lldb-commits lldb-commits at lists.llvm.org
Thu May 1 15:49:07 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: None (jimingham)

<details>
<summary>Changes</summary>

I changed the option name from at-first-stop (-F) to at-initial-stop (-I) but missed one place in the testsuite.

---
Full diff: https://github.com/llvm/llvm-project/pull/138211.diff


1 Files Affected:

- (modified) lldb/test/API/python_api/event/TestEvents.py (+1-1) 


``````````diff
diff --git a/lldb/test/API/python_api/event/TestEvents.py b/lldb/test/API/python_api/event/TestEvents.py
index 9b73a0e2e1e04..4a1b0d82c5c32 100644
--- a/lldb/test/API/python_api/event/TestEvents.py
+++ b/lldb/test/API/python_api/event/TestEvents.py
@@ -413,7 +413,7 @@ def test_shadow_listener(self):
 
         # Add our stop hook here, don't report on the initial attach:
         self.runCmd(
-            f"target stop-hook add -P stop_hook.StopHook -k instance -v {self.instance} -F false"
+            f"target stop-hook add -P stop_hook.StopHook -k instance -v {self.instance} -I false"
         )
         self.stop_counter = 0
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/138211


More information about the lldb-commits mailing list