diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-28 17:06:26 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-28 17:06:26 +0000 |
commit | 0a114b3571fa8f703a85b60142e5479249293dcc (patch) | |
tree | 8b0452130e39a577b47eead908ef7899c530e85a | |
parent | f7ca0fe1c86a55a6c7b76809ed339002ec9c08d3 (diff) | |
download | bcm5719-llvm-0a114b3571fa8f703a85b60142e5479249293dcc.tar.gz bcm5719-llvm-0a114b3571fa8f703a85b60142e5479249293dcc.zip |
[dotest] Don't spend time replacing spaces in print output.
Replacing all spaces with dashes seems like a lot of needless work for a
string that's just printed.
llvm-svn: 370231
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index d9e5980b3f3..6dd45003d9c 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -1274,14 +1274,6 @@ def run_suite(): configString = "arch=%s compiler=%s" % (configuration.arch, configuration.compiler) - # Translate ' ' to '-' for pathname component. - if six.PY2: - import string - tbl = string.maketrans(' ', '-') - else: - tbl = str.maketrans(' ', '-') - configPostfix = configString.translate(tbl) - # Output the configuration. if configuration.verbose: sys.stderr.write("\nConfiguration: " + configString + "\n") |