[Lldb-commits] [lldb] [lldb] Fix TestBreakpointLocations (PR #131890)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 18 12:14:40 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Dave Lee (kastiglione)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/131890.diff
1 Files Affected:
- (modified) lldb/test/API/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py (+2-2)
``````````diff
diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py b/lldb/test/API/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
index e0c93e3c18581..779dc16567dfd 100644
--- a/lldb/test/API/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
+++ b/lldb/test/API/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
@@ -47,9 +47,9 @@ def set_breakpoint(self):
self.expect(
"breakpoint list -f",
"Breakpoint locations shown correctly",
+ ordered=False,
substrs=[
- "1: file = 'main.c', line = %d, exact_match = 0, locations = 3"
- % self.line
+ f"1: file = 'main.c', line = {self.line}, exact_match = 0, locations = 3"
],
patterns=[
"where = a.out`func_inlined .+unresolved, hit count = 0",
``````````
</details>
https://github.com/llvm/llvm-project/pull/131890
More information about the lldb-commits
mailing list