summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit
Commit message (Collapse)AuthorAgeFilesLines
...
* [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
* Fixup for r182715: provide correct arg to --gtest-filterAlexey Samsonov2013-05-281-1/+1
| | | | llvm-svn: 182758
* Fixed bug when tests in executable partially used absolute paths.Galina Kistanova2013-05-261-5/+7
| | | | llvm-svn: 182715
* lit: Fix infinite recursion when an out-of-tree test root is located inside ↵Daniel Dunbar2013-04-125-9/+47
| | | | | | the source test root. llvm-svn: 179402
* lit: Add a test for discovery w/ test_exec_root (out-of-tree test root).Daniel Dunbar2013-04-123-9/+60
| | | | llvm-svn: 179401
* lit: Don't descend into .git directories during test discovery.Daniel Dunbar2013-04-111-1/+1
| | | | llvm-svn: 179249
* lit: Shorten a metavar to make --help look nicer.Daniel Dunbar2013-04-111-1/+1
| | | | llvm-svn: 179248
* lit: Add a test for discovery when exact test names are given.Daniel Dunbar2013-04-111-0/+15
| | | | llvm-svn: 179247
* lit: Add a trivial test of the basic progress bar.Daniel Dunbar2013-04-116-0/+22
| | | | llvm-svn: 179243
* [lit] Avoid CRLFs in bash scripts on WindowsReid Kleckner2013-03-201-1/+4
| | | | | | | | Native Windows Python will do line ending translation by default, which we don't want in bash scripts. If we're not native Windows Python, then 'b' is ignored. llvm-svn: 177602
* lit.TestFormats.GoogleTest: Honor LitConfig.noExecute, or --no-execute were ↵NAKAMURA Takumi2013-03-131-0/+3
| | | | | | ignored. llvm-svn: 176930
* [lit] Add a display function for lit.Test.TestResult.Daniel Dunbar2013-02-071-0/+4
| | | | llvm-svn: 174667
* [lit] Add a test for internal shell execution behaviors.Daniel Dunbar2013-01-3110-0/+125
| | | | llvm-svn: 174102
* [lit] Change to raise InternalShellError for all command execution issues.Daniel Dunbar2013-01-311-4/+5
| | | | llvm-svn: 174101
* [lit] Fix bug where InternalShellError messages were discarded.Daniel Dunbar2013-01-311-3/+2
| | | | | | - Also, change the exit code to match 'sh'. llvm-svn: 174089
* [lit] Fix a shell parsing bug with ';' not separated by whitespace.Daniel Dunbar2013-01-311-4/+9
| | | | | | - Testing finds bugs, who knew. llvm-svn: 174087
* [lit] Add a test for the various ShTest format features.Daniel Dunbar2013-01-3116-0/+72
| | | | llvm-svn: 174072
* [lit] TestRunner: Eliminate failDueToStderr argument, which is now unused.Daniel Dunbar2013-01-311-9/+3
| | | | llvm-svn: 174071
* [lit] Delete the now-unused SyntaxCheckTest format.Daniel Dunbar2013-01-313-13/+1
| | | | | | - Also, kill the pointless LitFormats module. llvm-svn: 174070
* [lit] Move unittest adaptor code into discovery module.Daniel Dunbar2013-01-316-23/+50
| | | | | | - Also, add a test for it. llvm-svn: 174019
* [lit] Run the ShUtil tests as part of the test suite.Daniel Dunbar2013-01-312-0/+4
| | | | llvm-svn: 174018
* [lit] Set parallel mode for coverage tests.Daniel Dunbar2013-01-311-1/+1
| | | | llvm-svn: 174017
* [lit] Move discovery code into its own module.Daniel Dunbar2013-01-313-233/+227
| | | | llvm-svn: 174014
* [lit] Add a MANIFEST file and a script for sanity checking the source dist.Daniel Dunbar2013-01-312-0/+51
| | | | llvm-svn: 174002
OpenPOWER on IntegriCloud