summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-08-28 17:06:26 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-08-28 17:06:26 +0000
commit0a114b3571fa8f703a85b60142e5479249293dcc (patch)
tree8b0452130e39a577b47eead908ef7899c530e85a /lldb/packages/Python/lldbsuite/test
parentf7ca0fe1c86a55a6c7b76809ed339002ec9c08d3 (diff)
downloadbcm5719-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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py8
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")
OpenPOWER on IntegriCloud