summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dotest_args.py
diff options
context:
space:
mode:
authorFrancis Ricci <francisjricci@gmail.com>2016-09-23 21:32:47 +0000
committerFrancis Ricci <francisjricci@gmail.com>2016-09-23 21:32:47 +0000
commit6951707943c771422c4e22ee8b7cd653642272ce (patch)
treeecf078549a7a0299badf57741d893e8822026990 /lldb/packages/Python/lldbsuite/test/dotest_args.py
parent497ef1772f24b1c137ce8936ef9e0875aff4dc72 (diff)
downloadbcm5719-llvm-6951707943c771422c4e22ee8b7cd653642272ce.tar.gz
bcm5719-llvm-6951707943c771422c4e22ee8b7cd653642272ce.zip
Allow for tests to be disabled at runtime
Summary: The current implementation of the test suite allows the user to run a certain subset of tests using '-p', but does not allow the inverse, where a user wants to run all but some number of known failing tests. Implement this functionality. Reviewers: labath, zturner, tfiala Subscribers: jingham, sas, lldb-commits Differential Revision: https://reviews.llvm.org/D24629 llvm-svn: 282298
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest_args.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest_args.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py
index 67fe9091f12..02d1047045c 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest_args.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest_args.py
@@ -96,6 +96,9 @@ def create_parser():
'-p',
metavar='pattern',
help='Specify a regexp filename pattern for inclusion in the test suite')
+ group.add_argument('--excluded', metavar='exclusion-file', help=textwrap.dedent(
+ '''Specify a file for tests to exclude. File should contain lists of regular expressions for test files or methods,
+ with each list under a matching header (xfail files, xfail methods, skip files, skip methods)'''))
group.add_argument(
'-G',
'--category',
OpenPOWER on IntegriCloud