summaryrefslogtreecommitdiffstats
path: root/lldb/test/dotest.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/dotest.py')
-rwxr-xr-xlldb/test/dotest.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/lldb/test/dotest.py b/lldb/test/dotest.py
index 9bcdc829196..6b3deb9b9b7 100755
--- a/lldb/test/dotest.py
+++ b/lldb/test/dotest.py
@@ -1000,12 +1000,10 @@ def setupTestResults():
# Handle formatter options for the results formatter class.
formatter_arg_parser = clazz.arg_parser()
if results_formatter_options and len(results_formatter_options) > 0:
- import shlex
- split_options = shlex.split(results_formatter_options)
+ formatter_options = formatter_arg_parser.parse_args(
+ results_formatter_options)
else:
- split_options = []
-
- formatter_options = formatter_arg_parser.parse_args(split_options)
+ formatter_options = []
# Create the TestResultsFormatter given the processed options.
results_formatter_object = clazz(results_file_object, formatter_options)
OpenPOWER on IntegriCloud