[Lldb-commits] [lldb] f0be92e - [lldb/test] Fix TestLoadUnload

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 14 04:54:12 PDT 2020


Author: Med Ismail Bennani
Date: 2020-04-14T13:53:51+02:00
New Revision: f0be92ebcd8d53a86c7f03bcd8f4492f259fc59c

URL: https://github.com/llvm/llvm-project/commit/f0be92ebcd8d53a86c7f03bcd8f4492f259fc59c
DIFF: https://github.com/llvm/llvm-project/commit/f0be92ebcd8d53a86c7f03bcd8f4492f259fc59c.diff

LOG: [lldb/test] Fix TestLoadUnload

Summary:
[lldb/test] Fix TestLoadUnload failure introduced in e0dbd025131c4d77d8a5050a91d391d950529a8c

It seems that `env_cmd_string` is declared and used few lines under this
self.runCmd expression. I guess this is some left-over from an older
version.

Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>

Reviewers: labath

Reviewed By: labath

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D78094

Added: 
    

Modified: 
    lldb/test/API/functionalities/load_unload/TestLoadUnload.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/load_unload/TestLoadUnload.py b/lldb/test/API/functionalities/load_unload/TestLoadUnload.py
index 051c56fe9f19..7188fa32a154 100644
--- a/lldb/test/API/functionalities/load_unload/TestLoadUnload.py
+++ b/lldb/test/API/functionalities/load_unload/TestLoadUnload.py
@@ -186,8 +186,6 @@ def test_dyld_library_path(self):
                     substrs=[os.path.basename(old_dylib)],
                     matching=True)
 
-        self.runCmd(env_cmd_string)
-
         lldbutil.run_break_set_by_file_and_line(
             self, "d.cpp", self.line_d_function, num_expected_locations=1)
         # After run, make sure the non-hidden library is picked up.


        


More information about the lldb-commits mailing list