summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/lit.py
Commit message (Collapse)AuthorAgeFilesLines
* [lit] Small cleanups. NFCIJulian Lettner2019-12-131-2/+2
| | | | | Remove unnecessary (argument same as default), cleanup imports, use "pythonic" names for variables, and general formatting.
* [lit] Make main.py a pure Python moduleJulian Lettner2019-10-281-4/+3
| | | | Running it directly as a tool, that is what lit.py is for.
* [lit] Undo the patch to stop writing pyc files.Zachary Turner2017-09-201-2/+0
| | | | | | | The problems on the bots appear to be resolved and this was determined to not be the culprit. Removing this. llvm-svn: 313807
* Make lit stop writing pyc files.Zachary Turner2017-09-191-0/+3
| | | | | | | | | | | | Many svn-based buildbots seem to be getting stuck continually in tree conflicts due to the output of pyc files. I'm disabling these as a temporary measure in an attempt to get everything stable again. I'll try to remove this code once I understand the problem better. llvm-svn: 313698
* [lit] Remove (or allow specific) unused importsBrian Gesiak2016-10-101-2/+3
| | | | | | | | | | | | | | | | | | | | | Summary: Using Python linter flake8 on the utils/lit reveals several linter warnings designated "F401: Unused import". Fix or silence these warnings. Some of these unused imports are legitimate, while some are part of lit's API. For example, users of lit expect to be able to access `lit.formats.ShTest` in their `lit.cfg`, despite the module hierarchy for that symbol actually being `lit.formats.shtest.ShTest`. To silence linter errors for these lines, include a "noqa" directive. Reviewers: echristo, delcypher, beanz, ddunbar Subscribers: mehdi_amini, llvm-commits Differential Revision: https://reviews.llvm.org/D25407 llvm-svn: 283710
* lit: Sink code into a 'lit' package.Daniel Dunbar2009-12-261-573/+2
| | | | llvm-svn: 92168
* lit: Prevent crash-on-invalid (when run on directory which has no test suite).Daniel Dunbar2009-12-081-1/+1
| | | | llvm-svn: 90871
* lit: Add --repeat=N option, for running each test N times.Daniel Dunbar2009-11-151-4/+17
| | | | | | - Currently just useful for timing, although it could be extended as one (bad) way to deal with flaky tests. llvm-svn: 88827
* lit: Fix bug in --show-suites which accidentally override the list of tests.Daniel Dunbar2009-11-101-2/+2
| | | | llvm-svn: 86653
* lit: Warn when a test suite contains no tests.Daniel Dunbar2009-11-081-7/+12
| | | | llvm-svn: 86448
* lit: Add --param NAME=VALUE option, for test suite specific use (to communicateDaniel Dunbar2009-11-051-1/+15
| | | | | | arbitrary command line arguments to the test suite). llvm-svn: 86137
* lit: Add --config-prefix option, to override default config file names.Daniel Dunbar2009-10-251-7/+20
| | | | llvm-svn: 85035
* Don't traverse into .svn directories.Daniel Dunbar2009-09-281-1/+1
| | | | llvm-svn: 82978
* lit: When finding nested test suites, check first in the execpath in case thereDaniel Dunbar2009-09-151-13/+22
| | | | | | is a site configuration. llvm-svn: 81902
* lit: Give test formats control over test discovery.Daniel Dunbar2009-09-141-5/+7
| | | | llvm-svn: 81751
* Count test correctly with -q.Daniel Dunbar2009-09-091-0/+1
| | | | llvm-svn: 81313
* Fix another refactoro.Daniel Dunbar2009-09-091-1/+1
| | | | llvm-svn: 81312
* Add 'lit' testing tool.Daniel Dunbar2009-09-081-0/+519
- make install && man $(llvm-config --prefix)/share/man/man1/lit.1 for more information. llvm-svn: 81190
OpenPOWER on IntegriCloud