diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbtest.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index 3064a6c2d85..019a24b4bf8 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -203,14 +203,6 @@ def SETTING_MSG(setting): return "Value of setting '%s' is correct" % setting -def EnvArray(): - """Returns an env variable array from the os.environ map object.""" - return list(map(lambda k, - v: k + "=" + v, - list(os.environ.keys()), - list(os.environ.values()))) - - def line_number(filename, string_to_match): """Helper function to return the line number of the first matched string.""" with io.open(filename, mode='r', encoding="utf-8") as f: @@ -1877,7 +1869,7 @@ class TestBase(Base): # Make sure that a sanitizer LLDB's environment doesn't get passed on. if 'DYLD_LIBRARY_PATH' in os.environ: self.runCmd('settings set target.env-vars DYLD_LIBRARY_PATH=') - + if "LLDB_MAX_LAUNCH_COUNT" in os.environ: self.maxLaunchCount = int(os.environ["LLDB_MAX_LAUNCH_COUNT"]) |