summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
diff options
context:
space:
mode:
authorJulian Lettner <jlettner@apple.com>2019-10-15 20:57:20 +0000
committerJulian Lettner <jlettner@apple.com>2019-10-15 20:57:20 +0000
commit74b285eee7288500f6041c0fa49413c8ead217f4 (patch)
tree520aa77659f9ca3a80d2de5b0f23c4d8d8e6ff4f /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
parent34d4bff3d6d7cc521b06679536b0273c00bb0b3b (diff)
downloadbcm5719-llvm-74b285eee7288500f6041c0fa49413c8ead217f4.tar.gz
bcm5719-llvm-74b285eee7288500f6041c0fa49413c8ead217f4.zip
[lit] Add back LitTestCase
This essentially reverts a commit [1] that removed the adaptor for Python unittests. The code has been slightly refactored to make it more additive: all code is contained in LitTestCase.py. Usage sites will require a small adaption: ``` [old] import lit.discovery ... test_suite = lit.discovery.load_test_suite(...) [new] import lit.LitTestCase ... test_suite = lit.LitTestCase.load_test_suite(...) ``` This was put back on request by Daniel Dunbar, since I wrongly assumed that the functionality is unused. At least llbuild still uses this [2]. [1] 70ca752ccf6a8f362aea25ccd3ee2bbceca93b20 [2] https://github.com/apple/swift-llbuild/blob/master/utils/Xcode/LitXCTestAdaptor/LitTests.py#L16 Reviewed By: ddunbar Differential Revision: https://reviews.llvm.org/D69002 llvm-svn: 374947
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud