Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Commit d90b123

Browse files
committed
[lldb] Fix TestVSCode.test_progress_events on Linux due to vdso
This currently fails when we get the module for `[vdso]` which doesn't have any parsing event associated with it as it's just created from memory.
1 parent 502f27e commit d90b123

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,13 @@ def test_progress_events(self):
499499
self.assertTrue(progressStart_ids == progressEnd_ids,
500500
('Make sure we got a "progressEnd" for each '
501501
'"progressStart" event that we have.'))
502+
503+
ignored_libraries = {"[vdso]"}
504+
502505
# Verify we got a symbol table parsing progress event for each shared
503506
# library in our target.
504507
for target_shlib_basename in target_shlibs.keys():
505-
self.assertTrue(target_shlib_basename in symtab_progress_shlibs,
508+
if target_shlib_basename in ignored_libraries:
509+
continue
510+
self.assertIn(target_shlib_basename, symtab_progress_shlibs,
506511
'Make sure we got a symbol table progress event for "%s"' % (target_shlib_basename))

0 commit comments

Comments
 (0)