[Lldb-commits] [lldb] a9682cc - Convert settings list into a tuple so it can be matched by the decorator.
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 12 17:51:30 PDT 2020
Author: Adrian Prantl
Date: 2020-03-12T17:51:15-07:00
New Revision: a9682ccb7e70a036bd3acbbe97ed8ab74a7732d3
URL: https://github.com/llvm/llvm-project/commit/a9682ccb7e70a036bd3acbbe97ed8ab74a7732d3
DIFF: https://github.com/llvm/llvm-project/commit/a9682ccb7e70a036bd3acbbe97ed8ab74a7732d3.diff
LOG: Convert settings list into a tuple so it can be matched by the decorator.
Added:
Modified:
lldb/packages/Python/lldbsuite/test/dotest.py
Removed:
################################################################################
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 991e29d7e6b0..4e86d1a59322 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -349,7 +349,8 @@ def parseOptionsAndInitTestdirs():
logging.error('"%s" is not a setting in the form "key=value"',
setting[0])
sys.exit(-1)
- configuration.settings.append(setting[0].split('=', 1))
+ setting_list = setting[0].split('=', 1)
+ configuration.settings.append((setting_list[0], setting_list[1]))
if args.d:
sys.stdout.write(
More information about the lldb-commits
mailing list