[Lldb-commits] [lldb] 9574da8 - [lldb/test] TestRegisterVariables test fix
SYNOPSYSgeorgiev via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 17 02:58:59 PST 2021
Author: SYNOPSYS\georgiev
Date: 2021-11-17T10:58:48Z
New Revision: 9574da8f51c82aa437c3b968251225932cc970a5
URL: https://github.com/llvm/llvm-project/commit/9574da8f51c82aa437c3b968251225932cc970a5
DIFF: https://github.com/llvm/llvm-project/commit/9574da8f51c82aa437c3b968251225932cc970a5.diff
LOG: [lldb/test] TestRegisterVariables test fix
Added:
Modified:
lldb/test/API/lang/c/register_variables/TestRegisterVariables.py
Removed:
################################################################################
diff --git a/lldb/test/API/lang/c/register_variables/TestRegisterVariables.py b/lldb/test/API/lang/c/register_variables/TestRegisterVariables.py
index ef6b0425525ca..c255056352c25 100644
--- a/lldb/test/API/lang/c/register_variables/TestRegisterVariables.py
+++ b/lldb/test/API/lang/c/register_variables/TestRegisterVariables.py
@@ -50,7 +50,7 @@ def test_and_run_command(self):
'stop reason = breakpoint'])
# The breakpoint should have a hit count of 1.
- lldbutil.check_breakpoint(self, bpno = 1, expected_hit_count = 1)
+ lldbutil.check_breakpoint(self, bpno = 1, location_id = 1, expected_location_hit_count = 1)
# Try some variables that should be visible
frame = self.dbg.GetSelectedTarget().GetProcess(
@@ -76,7 +76,7 @@ def test_and_run_command(self):
'stop reason = breakpoint'])
# The breakpoint should have a hit count of 1.
- lldbutil.check_breakpoint(self, bpno = 1, expected_hit_count = 1)
+ lldbutil.check_breakpoint(self, bpno = 1, location_id = 2, expected_location_hit_count = 1)
# Try some variables that should be visible
frame = self.dbg.GetSelectedTarget().GetProcess(
@@ -102,7 +102,7 @@ def test_and_run_command(self):
'stop reason = breakpoint'])
# The breakpoint should have a hit count of 1.
- lldbutil.check_breakpoint(self, bpno = 1, expected_hit_count = 1)
+ lldbutil.check_breakpoint(self, bpno = 1, location_id = 3, expected_location_hit_count = 1)
# Try some variables that should be visible
frame = self.dbg.GetSelectedTarget().GetProcess(
More information about the lldb-commits
mailing list