summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dotest_args.py
diff options
context:
space:
mode:
authorFrancis Ricci <francisjricci@gmail.com>2016-10-04 18:48:00 +0000
committerFrancis Ricci <francisjricci@gmail.com>2016-10-04 18:48:00 +0000
commitf833f173fbca19275d3cb36b96d1f7461c0a8fee (patch)
treedd412624b13931e47c3e8d6bddb18d9382bd1935 /lldb/packages/Python/lldbsuite/test/dotest_args.py
parentfa262c98f8bb0618ed500b261e6098c63c93bfc6 (diff)
downloadbcm5719-llvm-f833f173fbca19275d3cb36b96d1f7461c0a8fee.tar.gz
bcm5719-llvm-f833f173fbca19275d3cb36b96d1f7461c0a8fee.zip
Improvements to testing blacklist
Summary: This patch is necessary because individual test cases are not required to have unique names. Therefore, test cases must now be specified explicitly in the form <TestCase>.<TestMethod>. Because it works by regex matching, passing just <TestCase> will still disable an entire file. This also allows for multiple exclusion files to be specified. Reviewers: zturner, labath, jingham, tfiala Subscribers: lldb-commits, sas Differential Revision: https://reviews.llvm.org/D24988 llvm-svn: 283238
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest_args.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest_args.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py
index 02d1047045c..0b8470bcaa8 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest_args.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest_args.py
@@ -96,7 +96,7 @@ 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(
+ group.add_argument('--excluded', metavar='exclusion-file', action='append', 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(
OpenPOWER on IntegriCloud