Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [lldb][NFC] Remove all `setUp` overrides that only call the parent ↵ | Raphael Isemann | 2019-12-13 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | implementation Summary: A lot of our tests copied the setUp code from our TestSampleTest.py: ``` def setUp(self): # Call super's setUp(). TestBase.setUp(self) ``` This code does nothing unless we actually do any setUp work in there, so let's remove all these method definitions. Reviewers: labath, JDevlieghere Reviewed By: labath Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D71454 | ||||
* | [dotest] Avoid the need for LEVEL= makefile boilerplate | Pavel Labath | 2019-09-04 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | Summary: Instead of each test case knowing its depth relative to the test root, we can just have dotest add the folder containing Makefile.rules to the include path. This was motivated by r370616, though I have been wanting to do this ever since we moved to building tests out-of-tree. The only manually modified files in this patch are lldbinline.py and plugins/builder_base.py. The rest of the patch has been produced by this shell command: find . \( -name Makefile -o -name '*.mk' \) -exec sed --in-place -e '/LEVEL *:\?=/d' -e '1,2{/^$/d}' -e 's,\$(LEVEL)/,,' {} + Reviewers: teemperor, aprantl, espindola, jfb Subscribers: emaste, javed.absar, arichardson, christof, arphaman, lldb-commits Differential Revision: https://reviews.llvm.org/D67083 llvm-svn: 370845 | ||||
* | [SBAPI/Target] Expose SetStatistics(bool enable)/GetStatistics(). | Davide Italiano | 2018-09-28 | 1 | -0/+9 |
| | | | | | | <rdar://problem/44875808> llvm-svn: 343368 | ||||
* | [Statistics] Relax the test output a little bit. | Davide Italiano | 2018-04-16 | 1 | -4/+4 |
| | | | | | | | | | | We don't really care about the order as this is a dictionary. It should be more resilient to changes (adding/shuffling stats around). Pointed out by Jason Molenda in a post-commit review (thanks Jason). llvm-svn: 330170 | ||||
* | [Commands] Expose statistics through the SBAPI. | Davide Italiano | 2018-04-16 | 3 | -0/+34 |
The API is `SBStructuredData GetStatistics()`. This allows the command to be used in scripts. <rdar://problem/36555975> llvm-svn: 330165 |