[Lldb-commits] [lldb] 7866dbb - [lldb/test] Remove a check from TestLoadAfterAttach
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 28 05:47:53 PDT 2021
Author: Pavel Labath
Date: 2021-09-28T14:47:46+02:00
New Revision: 7866dbb261240f71c79e70d2ed52351846f795cd
URL: https://github.com/llvm/llvm-project/commit/7866dbb261240f71c79e70d2ed52351846f795cd
DIFF: https://github.com/llvm/llvm-project/commit/7866dbb261240f71c79e70d2ed52351846f795cd.diff
LOG: [lldb/test] Remove a check from TestLoadAfterAttach
The two module retrieval methods (qXfer:libraries-svr4 and manual list
traversal) differ in how the handle the
manually-added-but-not-yet-loaded modules. The svr4 path will remove it,
while the manual one will keep in the list.
It's likely the two paths need ought to be synchronized, but right now,
this distinction is not relevant for the test.
Added:
Modified:
lldb/test/API/functionalities/load_after_attach/TestLoadAfterAttach.py
Removed:
################################################################################
diff --git a/lldb/test/API/functionalities/load_after_attach/TestLoadAfterAttach.py b/lldb/test/API/functionalities/load_after_attach/TestLoadAfterAttach.py
index 3b261e632d4c..de691e6fdda4 100644
--- a/lldb/test/API/functionalities/load_after_attach/TestLoadAfterAttach.py
+++ b/lldb/test/API/functionalities/load_after_attach/TestLoadAfterAttach.py
@@ -39,13 +39,6 @@ def test_load_after_attach(self):
stopped_threads = lldbutil.continue_to_breakpoint(self.process(), breakpoint1)
self.assertEqual(len(stopped_threads), 1)
- # Check that image list does not contain liblib_b before dlopen.
- self.match(
- "image list",
- patterns = [lib_name],
- matching = False,
- msg = lib_name + " should not have been in image list")
-
# Change a variable to escape the loop
self.runCmd("expression main_thread_continue = 1")
More information about the lldb-commits
mailing list