aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/lit/lit.py
AgeCommit message (Collapse)AuthorFilesLines
2016-10-10[lit] Remove (or allow specific) unused importsBrian Gesiak1-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
2009-12-26lit: Sink code into a 'lit' package.Daniel Dunbar1-573/+2
llvm-svn: 92168
2009-12-08lit: Prevent crash-on-invalid (when run on directory which has no test suite).Daniel Dunbar1-1/+1
llvm-svn: 90871
2009-11-15lit: Add --repeat=N option, for running each test N times.Daniel Dunbar1-4/+17
- Currently just useful for timing, although it could be extended as one (bad) way to deal with flaky tests. llvm-svn: 88827
2009-11-10lit: Fix bug in --show-suites which accidentally override the list of tests.Daniel Dunbar1-2/+2
llvm-svn: 86653
2009-11-08lit: Warn when a test suite contains no tests.Daniel Dunbar1-7/+12
llvm-svn: 86448
2009-11-05lit: Add --param NAME=VALUE option, for test suite specific use (to communicateDaniel Dunbar1-1/+15
arbitrary command line arguments to the test suite). llvm-svn: 86137
2009-10-25lit: Add --config-prefix option, to override default config file names.Daniel Dunbar1-7/+20
llvm-svn: 85035
2009-09-28Don't traverse into .svn directories.Daniel Dunbar1-1/+1
llvm-svn: 82978
2009-09-15lit: When finding nested test suites, check first in the execpath in case thereDaniel Dunbar1-13/+22
is a site configuration. llvm-svn: 81902
2009-09-14lit: Give test formats control over test discovery.Daniel Dunbar1-5/+7
llvm-svn: 81751
2009-09-09Count test correctly with -q.Daniel Dunbar1-0/+1
llvm-svn: 81313
2009-09-09Fix another refactoro.Daniel Dunbar1-1/+1
llvm-svn: 81312
2009-09-08Add 'lit' testing tool.Daniel Dunbar1-0/+519
- make install && man $(llvm-config --prefix)/share/man/man1/lit.1 for more information. llvm-svn: 81190