summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dotest.py
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-12-08 20:36:22 +0000
committerZachary Turner <zturner@google.com>2015-12-08 20:36:22 +0000
commit5067158381ed143b0c7bb8656f2a215f166cc2f6 (patch)
treeda490c9d1b4ebbad34699cbc0ee09088ad908487 /lldb/packages/Python/lldbsuite/test/dotest.py
parent0a37b80bcb72da01942b7a82326b31f6fce4d2af (diff)
downloadbcm5719-llvm-5067158381ed143b0c7bb8656f2a215f166cc2f6.tar.gz
bcm5719-llvm-5067158381ed143b0c7bb8656f2a215f166cc2f6.zip
Remove the -X option from dotest.py
This removes the option to exclude a single directory. This is part of an effort to remove unused options and cleanup the interface to the test suite. llvm-svn: 255048
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 97b6d119907..eed90125212 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -410,11 +410,6 @@ def parseOptionsAndInitTestdirs():
if args.w:
os.environ['LLDB_WAIT_BETWEEN_TEST_CASES'] = 'YES'
- if args.X:
- if args.X.startswith('-'):
- usage(parser)
- configuration.excluded.add(args.X)
-
if args.x:
if args.x.startswith('-'):
usage(parser)
@@ -859,7 +854,9 @@ def setupSysPath():
def visit(prefix, dir, names):
"""Visitor function for os.path.walk(path, visit, arg)."""
- if set(dir.split(os.sep)).intersection(configuration.excluded):
+ dir_components = set(dir.split(os.sep))
+ excluded_components = set(['.svn', '.git'])
+ if dir_components.intersection(excluded_components):
#print("Detected an excluded dir component: %s" % dir)
return
OpenPOWER on IntegriCloud