summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-12-10 18:51:21 +0000
committerZachary Turner <zturner@google.com>2015-12-10 18:51:21 +0000
commit21accab1a758b2efb96c49825d13429e4c0283e6 (patch)
tree91eee61f3dec80c148e8e9da84527d2542c28f36 /lldb/packages/Python/lldbsuite/test
parent80310c29fb6cd5e835ea273b25e69a9d8836cea8 (diff)
downloadbcm5719-llvm-21accab1a758b2efb96c49825d13429e4c0283e6.tar.gz
bcm5719-llvm-21accab1a758b2efb96c49825d13429e4c0283e6.zip
Remove deprecated command line options from dotest.py
llvm-svn: 255278
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py10
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest_args.py9
2 files changed, 0 insertions, 19 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 684832455fa..bdb5fd60b50 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -289,16 +289,6 @@ def parseOptionsAndInitTestdirs():
elif args.N == 'dsym':
configuration.dont_do_dsym_test = True
- if args.a or args.plus_a:
- print("Options '-a' and '+a' have been deprecated. Please use the test category\n"
- "functionality (-G pyapi, --skip-category pyapi) instead.")
- sys.exit(1)
-
- if args.m or args.plus_m:
- print("Options '-m' and '+m' have been deprecated. Please use the test category\n"
- "functionality (-G lldb-mi, --skip-category lldb-mi) instead.")
- sys.exit(1)
-
if args.d:
sys.stdout.write("Suspending the process %d to wait for debugger to attach...\n" % os.getpid())
sys.stdout.flush()
diff --git a/lldb/packages/Python/lldbsuite/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py
index 7fc012f5054..27064b955c9 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest_args.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest_args.py
@@ -167,15 +167,6 @@ def create_parser():
# Remove the reference to our helper function
del X
- D = lambda optstr, **kwargs: group.add_argument(optstr, action='store_true', **kwargs)
- group = parser.add_argument_group('Deprecated options (do not use)')
- # Deprecated on 23.10.2015. Remove completely after a grace period.
- D('-a')
- D('+a', dest='plus_a')
- D('-m')
- D('+m', dest='plus_m')
- del D
-
group = parser.add_argument_group('Test directories')
group.add_argument('args', metavar='test-dir', nargs='*', help='Specify a list of directory names to search for test modules named after Test*.py (test discovery). If empty, search from the current working directory instead.')
OpenPOWER on IntegriCloud