summaryrefslogtreecommitdiffstats
path: root/lldb/test/blacklist.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-12-01 22:47:54 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-12-01 22:47:54 +0000
commit75739045d344a6c5df94a1692b9d47d9c5d05dcb (patch)
tree0798a5cc29f08ed5eeb8c116c28c5485e2be5f0e /lldb/test/blacklist.py
parentfc5c522864b9e96a5bf557262ebf3fb01c249a82 (diff)
downloadbcm5719-llvm-75739045d344a6c5df94a1692b9d47d9c5d05dcb.tar.gz
bcm5719-llvm-75739045d344a6c5df94a1692b9d47d9c5d05dcb.zip
Add a '-b blacklistFile' option to the test driver to take a file specifying the
test classes or test cases to be excludued from the test suite. Check in an example blacklist file: blacklist.py: """ '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 = {} An example of invoking the test driver and specifying a blacklist file: ./dotest.py -b blacklist.py -v types This runs the tests under 'types' directory but excludes the tests specified in balcklist.py. llvm-svn: 120620
Diffstat (limited to 'lldb/test/blacklist.py')
-rw-r--r--lldb/test/blacklist.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/lldb/test/blacklist.py b/lldb/test/blacklist.py
new file mode 100644
index 00000000000..5b16dec1449
--- /dev/null
+++ b/lldb/test/blacklist.py
@@ -0,0 +1,16 @@
+"""
+'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 = {}
OpenPOWER on IntegriCloud