summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit
Commit message (Collapse)AuthorAgeFilesLines
...
* [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
* [lit] Report the traceback when config import fails.Daniel Dunbar2013-08-071-0/+5
| | | | llvm-svn: 187920
* [lit] Avoid comparisons with None.Daniel Dunbar2013-08-071-1/+3
| | | | llvm-svn: 187919
* [lit] Use list comprehensions instead of map().Daniel Dunbar2013-08-073-3/+4
| | | | llvm-svn: 187918
* [lit] Avoid deprecated dict.has_key() method.Daniel Dunbar2013-08-071-2/+2
| | | | llvm-svn: 187917
* lit/LitConfig.py: Fixup for msys bash.NAKAMURA Takumi2013-08-071-1/+1
| | | | llvm-svn: 187896
* Lit: Fixup in r187886.NAKAMURA Takumi2013-08-071-1/+1
| | | | llvm-svn: 187887
* Lit: Resurrect --no-execute dropped in r187852.NAKAMURA Takumi2013-08-075-1/+14
| | | | | | For now, builders in bb.pgr.jp are using it. llvm-svn: 187886
* [lit] Use py2&3 compatible exec() syntax.Daniel Dunbar2013-08-071-1/+7
| | | | llvm-svn: 187862
* [lit] Use newer StringIO class.Daniel Dunbar2013-08-071-17/+19
| | | | llvm-svn: 187861
* [lit] Use modern absolute/relative import style.Daniel Dunbar2013-08-076-76/+84
| | | | llvm-svn: 187860
* [lit] Avoid __cmp__ and cmp().Daniel Dunbar2013-08-071-12/+12
| | | | llvm-svn: 187859
* [lit] Avoid use of iterator .next() method.Daniel Dunbar2013-08-072-12/+10
| | | | llvm-svn: 187858
* [lit] Use .write() methods instead of print statement.Daniel Dunbar2013-08-076-27/+26
| | | | llvm-svn: 187857
* [lit] Use dual-compatible print() syntax where possible.Daniel Dunbar2013-08-072-33/+31
| | | | llvm-svn: 187856
* [lit] Remove use of deprecated parameter tuple unpacking.Daniel Dunbar2013-08-072-3/+3
| | | | llvm-svn: 187855
* [lit] Remove uses of deprecated except syntax.Daniel Dunbar2013-08-073-4/+7
| | | | | | | - Since we only have a few of these, use the cumbersome method of getting the exception object from 'sys' to retain the current pre-2.6 compatibility. llvm-svn: 187854
* [lit] Use more modern syntax for constructing exceptions.Daniel Dunbar2013-08-073-10/+13
| | | | llvm-svn: 187853
* [lit] Drop --no-execute, which isn't generally useful.Daniel Dunbar2013-08-075-14/+1
| | | | llvm-svn: 187852
* [lit] tests: Change discovery test to use --show-tests.Daniel Dunbar2013-08-071-25/+31
| | | | llvm-svn: 187851
* [lit] Add a --show-tests option.Daniel Dunbar2013-08-071-7/+21
| | | | llvm-svn: 187850
* [lit] Remove dead ignoreStdError argument.Daniel Dunbar2013-08-073-5/+1
| | | | llvm-svn: 187849
* Move the default back to pipefail. I accidentally reverted it before.Rafael Espindola2013-07-261-1/+1
| | | | llvm-svn: 187271
* Propagate pipefail when cloning.Rafael Espindola2013-07-261-4/+6
| | | | llvm-svn: 187268
* Use pipefail when available.Rafael Espindola2013-07-263-3/+8
| | | | | | | | | | | | | | This change makes test with RUN lines like RUN: opt ... | FileCheck fail if opt fails, even if it prints what FileCheck wants. Enabling this found some interesting cases of broken tests that were not being noticed because opt (or some other tool) was crashing late. Pipefail is used when the shell supports it or when using the internal python based tester. llvm-svn: 187261
* lit: Support cancellation on WindowsNico Rieck2013-07-191-0/+21
| | | | | | | | | | | | The current machinery using KeyboardInterrupt for canceling doesn't work with multiple threads on Windows as it just cancels the currently run tests but the runners continue. We install a handler for Ctrl-C which stops the provider from providing any more tests to the runners. Together with aborting all currently running tests, this brings lit to a halt. llvm-svn: 186695
* Fixed bug when tests in executable partially used absolute paths.Galina Kistanova2013-05-301-3/+5
| | | | llvm-svn: 182910
* Revert r182715 and r182758Alexey Samsonov2013-05-281-7/+5
| | | | llvm-svn: 182761
OpenPOWER on IntegriCloud