[lldb/test] Fix TestLoadUnload
authorMed Ismail Bennani <medismail.bennani@gmail.com>
Tue, 14 Apr 2020 11:53:26 +0000 (13:53 +0200)
committerRaphael Isemann <teemperor@gmail.com>
Tue, 14 Apr 2020 11:53:51 +0000 (13:53 +0200)
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@gmail.com>
Reviewers: labath

Reviewed By: labath

Subscribers: lldb-commits

Tags: #lldb

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

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

index 051c56f..7188fa3 100644 (file)
@@ -186,8 +186,6 @@ class LoadUnloadTestCase(TestBase):
                     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.