summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit
Commit message (Collapse)AuthorAgeFilesLines
...
* [lit] Implement --max-time support by using provider cancel method.Daniel Dunbar2013-08-291-10/+16
| | | | llvm-svn: 189555
* [lit] Refactor test execution logic into lit.run.Run.Daniel Dunbar2013-08-292-123/+158
| | | | llvm-svn: 189554
* [lit] Put display lock inside the ThreadResultsConsumer.Daniel Dunbar2013-08-291-17/+9
| | | | llvm-svn: 189553
* [lit] Factor out a results consumer interface for test execution.Daniel Dunbar2013-08-291-20/+44
| | | | | | - Also, change TestProvider interface to operate on test indices. llvm-svn: 189552
* [lit] Move top-level execute code into Run object.Daniel Dunbar2013-08-294-41/+49
| | | | llvm-svn: 189551
* [lit] Factor out Run class to capture configuration + discovered tests.Daniel Dunbar2013-08-292-18/+29
| | | | llvm-svn: 189550
* [lit] Change lit.Test.ResultCode to be unique across pickling.Daniel Dunbar2013-08-291-0/+11
| | | | llvm-svn: 189549
* [lit] Add a TODO.Daniel Dunbar2013-08-291-0/+29
| | | | llvm-svn: 189546
* [lit] Update shtest format to return lit.Test.Result objects.Daniel Dunbar2013-08-291-40/+21
| | | | llvm-svn: 189545
* [lit] Update LitTestCase to support lit.Test.Result.Daniel Dunbar2013-08-291-5/+13
| | | | llvm-svn: 189544
* [lit] Fix a couple lingering Py3 compat issues in ProgressBar.Daniel Dunbar2013-08-211-4/+12
| | | | llvm-svn: 188951
* [lit] Lift XFAIL handling to core infrastructure.Daniel Dunbar2013-08-213-36/+48
| | | | llvm-svn: 188949
* [lit] Allow formats to return lit.Test.Result instances directly.Daniel Dunbar2013-08-212-10/+21
| | | | llvm-svn: 188948
* [lit] Factor out a separate Test.Result() object.Daniel Dunbar2013-08-212-33/+40
| | | | llvm-svn: 188947
* [lit] Simplify --time-tests code.Daniel Dunbar2013-08-211-11/+5
| | | | llvm-svn: 188946
* [lit] Extract TestFormat base class, for future use.Daniel Dunbar2013-08-214-10/+10
| | | | llvm-svn: 188945
* [lit] Rewrite TODO list, and elaborate on some things.Daniel Dunbar2013-08-161-12/+129
| | | | | | | - If anyone is interested in lit's feature set, I'd appreciate any comments on the elaborated items. llvm-svn: 188590
* [lit] Remove some done TODOs.Daniel Dunbar2013-08-151-4/+0
| | | | llvm-svn: 188502
* [lit] Add test coverage of gtest format.Daniel Dunbar2013-08-143-0/+57
| | | | llvm-svn: 188417
* [lit] Ensure test output is converted to strings where possible.Daniel Dunbar2013-08-147-4/+63
| | | | | | - This cleans up the text output of failing tests when run under PY3. llvm-svn: 188416
* [lit] Support parsing scripts with inconsistent or invalid encodings.Daniel Dunbar2013-08-142-12/+48
| | | | | | | | | | | | - For whatever reason, we have a lot of test files with bogus unicode characters. This patch allows those scripts to still be parsed on Python3 by changing the parsing logic to work on binary files, and only require the actual script commands to be convertible to ascii. - This patch has been tweaked to now ensure that the command strings are not of unicode type on Python 2.6-7. llvm-svn: 188398
* Revert r188376, "[lit] Support parsing scripts with inconsistent or invalid ↵Daniel Dunbar2013-08-142-45/+12
| | | | | | encodings.", this doesn't work yet for bots using the internal shell. llvm-svn: 188379
* [lit] Support parsing scripts with inconsistent or invalid encodings.Daniel Dunbar2013-08-142-12/+45
| | | | | | | | | - For whatever reason, we have a lot of test files with bogus unicode characters. This patch allows those scripts to still be parsed on Python3 by changing the parsing logic to work on binary files, and only require the actual script commands to be convertible to ascii. llvm-svn: 188376
* [lit] Fix a relative import issue I missed earlier.Daniel Dunbar2013-08-141-2/+4
| | | | llvm-svn: 188360
* [lit] Avoid StringIO.Daniel Dunbar2013-08-141-19/+25
| | | | | | | - We barely used it, and it is very hard to use in a 2.5-3 compatible way because of changing expectations for its input types. llvm-svn: 188359
* [lit] Fix tests to execute lit with same python as invoked with.Daniel Dunbar2013-08-143-3/+6
| | | | llvm-svn: 188358
* [lit] Factor ShTest format script command parsing from other processing.Daniel Dunbar2013-08-141-17/+32
| | | | llvm-svn: 188357
* [lit] Move executeCommand() into lit.util.Daniel Dunbar2013-08-144-23/+23
| | | | llvm-svn: 188356
* [lit] Move formats into their own subpackage.Daniel Dunbar2013-08-144-117/+130
| | | | llvm-svn: 188355
* Lit: Introduce "%/[STpst] into parseIntegratedTestScript(), to normalize ↵NAKAMURA Takumi2013-08-141-0/+9
| | | | | | substitutions. llvm-svn: 188348
* [lit] Support use of setup.py from other directories.Daniel Dunbar2013-08-131-1/+8
| | | | llvm-svn: 188309
* [lit] Remove old ExamplesTests directory.Daniel Dunbar2013-08-0923-262/+0
| | | | | | | - The actual tests have better coverage than those, and they weren't useful anymore. llvm-svn: 188110
* [lit] Move ManyTests examples to lit/examples/many-tests.Daniel Dunbar2013-08-093-1/+18
| | | | llvm-svn: 188109
* [lit] Drop deprecated aliases for lit and old module names.Daniel Dunbar2013-08-093-14/+0
| | | | llvm-svn: 188108
* [lit] Update lit's own tests to use lit_config and lit package, as appropriate.Daniel Dunbar2013-08-0911-4/+15
| | | | llvm-svn: 188107
* [lit] Fix typo.Daniel Dunbar2013-08-091-1/+1
| | | | | | - Noticed by edward-san (IRC). llvm-svn: 188096
* [lit] Rename lit.{TestFormats,Util} to their aliased names {formats,util}.Daniel Dunbar2013-08-097-20/+24
| | | | | | | - With compatibility hack in lit.__init__, so this hopefully shouldn't break anything. llvm-svn: 188040
* [lit] Inject the lit specific config object as 'lit_config' when loading ↵Daniel Dunbar2013-08-091-0/+1
| | | | | | | | | | config files. - Injecting it as 'lit' is gross, since that name should be used to refer to the actual package. For now both are available so it is possibly to cleanup test config files incrementally. llvm-svn: 188039
* [lit] Split TestingConfig.frompath() into separate ctor and load methods.Daniel Dunbar2013-08-093-51/+58
| | | | llvm-svn: 188038
* [lit] Eliminate mustExist parameter from TestingConfig.frompath().Daniel Dunbar2013-08-093-37/+34
| | | | llvm-svn: 188034
* [lit] Only create config copies when a local config file is present.Daniel Dunbar2013-08-092-5/+12
| | | | llvm-svn: 188033
* [lit] Eliminate parent argument from TestingConfig.frompath(), which is ↵Daniel Dunbar2013-08-093-6/+12
| | | | | | effectively unused. llvm-svn: 188032
* [lit] Change --show-{tests,suites} to exit after printing.Daniel Dunbar2013-08-082-11/+9
| | | | | | - This is a more sensible behavior than printing and also running tests. llvm-svn: 188009
* [lit] Remove --repeat option, which wasn't that useful.Daniel Dunbar2013-08-083-18/+0
| | | | llvm-svn: 188008
* [lit] Eliminate some nested imports.Daniel Dunbar2013-08-084-13/+8
| | | | llvm-svn: 188007
* [lit] Remove on_clone member, which is no longer used.Daniel Dunbar2013-08-081-12/+7
| | | | llvm-svn: 188006
* [lit] Remove unnecessary list copy.Daniel Dunbar2013-08-071-1/+1
| | | | llvm-svn: 187934
* [lit] Always list individual UNRESOLVED tests.Daniel Dunbar2013-08-071-2/+3
| | | | llvm-svn: 187933
* [lit] Explicitly convert dict items() result to a list.Daniel Dunbar2013-08-071-1/+1
| | | | llvm-svn: 187932
* [lit] Make string encoding issues explicit.Daniel Dunbar2013-08-072-1/+6
| | | | llvm-svn: 187931
OpenPOWER on IntegriCloud