summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dotest_args.py
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-03-15 08:51:59 +0000
committerPavel Labath <labath@google.com>2017-03-15 08:51:59 +0000
commit6de25ec61a10cdea5b49f91ae7163833c45aacb1 (patch)
treeaf5b0dc85bbb6371118d50cfe9043423e5a611c1 /lldb/packages/Python/lldbsuite/test/dotest_args.py
parente51ee0668c8eec639964234a1d716e30f0449399 (diff)
downloadbcm5719-llvm-6de25ec61a10cdea5b49f91ae7163833c45aacb1.tar.gz
bcm5719-llvm-6de25ec61a10cdea5b49f91ae7163833c45aacb1.zip
dotest.py: remove the ability to specify different architectures/compilers in a single invocation
Summary: This has been broken at least since the new test result framework was added, which was over a year ago. It looks like nobody has missed it since. Removing this makes the gmodules handling code saner, as it already did not know how to handle the multiple-compilers case. My motivation for this is libc++ data formatters support on android -- I am trying make a central way of determining whether libc++ tests can be run, and without this, I would have to resort to similar hacks as the gmodules code. Reviewers: jingham, zturner Subscribers: danalbert, tfiala, lldb-commits Differential Revision: https://reviews.llvm.org/D30779 llvm-svn: 297811
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest_args.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest_args.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py
index 29150562d6d..bc43a6fc04a 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest_args.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest_args.py
@@ -69,10 +69,9 @@ def create_parser():
'-A',
'--arch',
metavar='arch',
- action='append',
- dest='archs',
+ dest='arch',
help=textwrap.dedent('''Specify the architecture(s) to test. This option can be specified more than once'''))
- group.add_argument('-C', '--compiler', metavar='compiler', dest='compilers', action='append', help=textwrap.dedent(
+ group.add_argument('-C', '--compiler', metavar='compiler', dest='compiler', help=textwrap.dedent(
'''Specify the compiler(s) used to build the inferior executables. The compiler path can be an executable basename or a full path to a compiler executable. This option can be specified multiple times.'''))
if sys.platform == 'darwin':
group.add_argument('--apple-sdk', metavar='apple_sdk', dest='apple_sdk', default="macosx", help=textwrap.dedent(
OpenPOWER on IntegriCloud