diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-06-25 21:19:44 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-06-25 21:19:44 +0000 |
commit | c8e450a9179cf699133a8f00ea3b08808b7a4c38 (patch) | |
tree | 636770e70ac94ed0b3b38a0fd0e5ed1289d81870 /lldb/packages/Python/lldbsuite/test | |
parent | bc7fc3ecb6765ceb6c15c1f56111ed2297b3e98f (diff) | |
download | bcm5719-llvm-c8e450a9179cf699133a8f00ea3b08808b7a4c38.tar.gz bcm5719-llvm-c8e450a9179cf699133a8f00ea3b08808b7a4c38.zip |
[dotest] Remove unused function
The function `EnvArray` has no used.
llvm-svn: 364351
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-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"]) |