[lldb/test] Fix TestLoadUnload

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

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
This commit is contained in:
Med Ismail Bennani
2020-04-14 13:53:26 +02:00
committed by Raphael Isemann
parent 2c4d914eeb
commit f0be92ebcd

View 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.