Skip to content

Commit

Permalink
fixup! fix lldb-dap test
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael137 committed Nov 6, 2023
1 parent 51e0997 commit b5d9dd2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,11 @@ def verify_values(self, verify_dict, actual, varref_dict=None, expression=None):
def verify_variables(self, verify_dict, variables, varref_dict=None):
for variable in variables:
name = variable["name"]
self.assertIn(
name, verify_dict, 'variable "%s" in verify dictionary' % (name)
)
self.verify_values(verify_dict[name], variable, varref_dict)
if not name.startswith("std::"):
self.assertIn(
name, verify_dict, 'variable "%s" in verify dictionary' % (name)
)
self.verify_values(verify_dict[name], variable, varref_dict)

def darwin_dwarf_missing_obj(self, initCommands):
self.build(debug_info="dwarf")
Expand Down

0 comments on commit b5d9dd2

Please sign in to comment.