summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/blacklist.py18
-rw-r--r--lldb/packages/Python/lldbsuite/test/configuration.py7
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py11
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest_args.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/lldbtest.py12
5 files changed, 0 insertions, 49 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/blacklist.py b/lldb/packages/Python/lldbsuite/test/blacklist.py
deleted file mode 100644
index 063bb93593b..00000000000
--- a/lldb/packages/Python/lldbsuite/test/blacklist.py
+++ /dev/null
@@ -1,18 +0,0 @@
-"""
-'blacklist' is a Python dictionary, it stores the mapping of a string describing
-either a testclass or a testcase, i.e, testclass.testmethod, to the reason (a
-string) it is blacklisted.
-
-Following is an example which states that test class IntegerTypesExprTestCase
-should be skipped because 'This test class crashed' and the test case
-FoundationTestCase.test_data_type_and_expr_with_dsym should be skipped because
-it is 'Temporarily disabled'.
-
-blacklist = {'IntegerTypesExprTestCase': 'This test class crashed',
- 'FoundationTestCase.test_data_type_and_expr_with_dsym': 'Temporarily disabled'
- }
-"""
-
-blacklist = {'STLTestCase': '<rdar://problem/8837118> Crashed while running the entire test suite'
- # To skip this test case: ./dotest.py -b blacklist.py -v -w 2> ~/Developer/Log/lldbtest.log
- }
diff --git a/lldb/packages/Python/lldbsuite/test/configuration.py b/lldb/packages/Python/lldbsuite/test/configuration.py
index c66a37b4074..17eace71c8f 100644
--- a/lldb/packages/Python/lldbsuite/test/configuration.py
+++ b/lldb/packages/Python/lldbsuite/test/configuration.py
@@ -60,13 +60,6 @@ dont_do_dsym_test = False
dont_do_dwarf_test = False
dont_do_dwo_test = False
-# The blacklist is optional (-b blacklistFile) and allows a central place to skip
-# testclass's and/or testclass.testmethod's.
-blacklist = None
-
-# The dictionary as a result of sourcing blacklistFile.
-blacklistConfig = {}
-
# The list of categories we said we care about
categoriesList = None
# set to true if we are going to use categories for cherry-picking test cases
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 69bc6f1d8a2..709846d6f07 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -300,17 +300,6 @@ def parseOptionsAndInitTestdirs():
"functionality (-G lldb-mi, --skip-category lldb-mi) instead.")
sys.exit(1)
- if args.b:
- if args.b.startswith('-'):
- usage(parser)
- blacklistFile = args.b
- if not os.path.isfile(blacklistFile):
- print('Blacklist file:', blacklistFile, 'does not exist!')
- usage(parser)
- # Now read the blacklist contents and assign it to blacklist.
- execfile(blacklistFile, globals(), configuration.blacklistConfig)
- configuration.blacklist = configuration.blacklistConfig.get('blacklist')
-
if args.c:
if args.c.startswith('-'):
usage(parser)
diff --git a/lldb/packages/Python/lldbsuite/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py
index b5345b3de6f..6ecb968cef0 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest_args.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest_args.py
@@ -60,7 +60,6 @@ def create_parser():
# Test filtering options
group = parser.add_argument_group('Test filtering options')
group.add_argument('-N', choices=['dwarf', 'dwo', 'dsym'], help="Don't do test cases marked with the @dsym_test/@dwarf_test/@dwo_test decorator by passing dsym/dwarf/dwo as the option arg")
- group.add_argument('-b', metavar='blacklist', help='Read a blacklist file specified after this option')
group.add_argument('-f', metavar='filterspec', action='append', help='Specify a filter, which consists of the test class name, a dot, followed by the test method, to only admit such test into the test suite') # FIXME: Example?
X('-g', 'If specified, the filterspec by -f is not exclusive, i.e., if a test module does not match the filterspec (testclass.testmethod), the whole module is still admitted to the test suite')
X('-l', "Don't skip long running tests")
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py
index 72c9586bff6..c83246aef6b 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -2420,18 +2420,6 @@ class TestBase(Base):
# Works with the test driver to conditionally skip tests via decorators.
Base.setUp(self)
- try:
- blacklist = configuration.blacklist
- if blacklist:
- className = self.__class__.__name__
- classAndMethodName = "%s.%s" % (className, self._testMethodName)
- if className in blacklist:
- self.skipTest(blacklist.get(className))
- elif classAndMethodName in blacklist:
- self.skipTest(blacklist.get(classAndMethodName))
- except AttributeError:
- pass
-
# Insert some delay between successive test cases if specified.
self.doDelay()
OpenPOWER on IntegriCloud