Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [lit] Report the traceback when config import fails. | Daniel Dunbar | 2013-08-07 | 1 | -0/+5 | |
| | | | | llvm-svn: 187920 | |||||
* | [lit] Avoid comparisons with None. | Daniel Dunbar | 2013-08-07 | 1 | -1/+3 | |
| | | | | llvm-svn: 187919 | |||||
* | [lit] Use list comprehensions instead of map(). | Daniel Dunbar | 2013-08-07 | 3 | -3/+4 | |
| | | | | llvm-svn: 187918 | |||||
* | [lit] Avoid deprecated dict.has_key() method. | Daniel Dunbar | 2013-08-07 | 1 | -2/+2 | |
| | | | | llvm-svn: 187917 | |||||
* | lit/LitConfig.py: Fixup for msys bash. | NAKAMURA Takumi | 2013-08-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 187896 | |||||
* | Lit: Fixup in r187886. | NAKAMURA Takumi | 2013-08-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 187887 | |||||
* | Lit: Resurrect --no-execute dropped in r187852. | NAKAMURA Takumi | 2013-08-07 | 5 | -1/+14 | |
| | | | | | | For now, builders in bb.pgr.jp are using it. llvm-svn: 187886 | |||||
* | [lit] Use py2&3 compatible exec() syntax. | Daniel Dunbar | 2013-08-07 | 1 | -1/+7 | |
| | | | | llvm-svn: 187862 | |||||
* | [lit] Use newer StringIO class. | Daniel Dunbar | 2013-08-07 | 1 | -17/+19 | |
| | | | | llvm-svn: 187861 | |||||
* | [lit] Use modern absolute/relative import style. | Daniel Dunbar | 2013-08-07 | 6 | -76/+84 | |
| | | | | llvm-svn: 187860 | |||||
* | [lit] Avoid __cmp__ and cmp(). | Daniel Dunbar | 2013-08-07 | 1 | -12/+12 | |
| | | | | llvm-svn: 187859 | |||||
* | [lit] Avoid use of iterator .next() method. | Daniel Dunbar | 2013-08-07 | 2 | -12/+10 | |
| | | | | llvm-svn: 187858 | |||||
* | [lit] Use .write() methods instead of print statement. | Daniel Dunbar | 2013-08-07 | 6 | -27/+26 | |
| | | | | llvm-svn: 187857 | |||||
* | [lit] Use dual-compatible print() syntax where possible. | Daniel Dunbar | 2013-08-07 | 2 | -33/+31 | |
| | | | | llvm-svn: 187856 | |||||
* | [lit] Remove use of deprecated parameter tuple unpacking. | Daniel Dunbar | 2013-08-07 | 2 | -3/+3 | |
| | | | | llvm-svn: 187855 | |||||
* | [lit] Remove uses of deprecated except syntax. | Daniel Dunbar | 2013-08-07 | 3 | -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 Dunbar | 2013-08-07 | 3 | -10/+13 | |
| | | | | llvm-svn: 187853 | |||||
* | [lit] Drop --no-execute, which isn't generally useful. | Daniel Dunbar | 2013-08-07 | 5 | -14/+1 | |
| | | | | llvm-svn: 187852 | |||||
* | [lit] tests: Change discovery test to use --show-tests. | Daniel Dunbar | 2013-08-07 | 1 | -25/+31 | |
| | | | | llvm-svn: 187851 | |||||
* | [lit] Add a --show-tests option. | Daniel Dunbar | 2013-08-07 | 1 | -7/+21 | |
| | | | | llvm-svn: 187850 | |||||
* | [lit] Remove dead ignoreStdError argument. | Daniel Dunbar | 2013-08-07 | 3 | -5/+1 | |
| | | | | llvm-svn: 187849 | |||||
* | Move the default back to pipefail. I accidentally reverted it before. | Rafael Espindola | 2013-07-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 187271 | |||||
* | Propagate pipefail when cloning. | Rafael Espindola | 2013-07-26 | 1 | -4/+6 | |
| | | | | llvm-svn: 187268 | |||||
* | Use pipefail when available. | Rafael Espindola | 2013-07-26 | 3 | -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 Windows | Nico Rieck | 2013-07-19 | 1 | -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 Kistanova | 2013-05-30 | 1 | -3/+5 | |
| | | | | llvm-svn: 182910 | |||||
* | Revert r182715 and r182758 | Alexey Samsonov | 2013-05-28 | 1 | -7/+5 | |
| | | | | llvm-svn: 182761 | |||||
* | Fixup for r182715: provide correct arg to --gtest-filter | Alexey Samsonov | 2013-05-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 182758 | |||||
* | Fixed bug when tests in executable partially used absolute paths. | Galina Kistanova | 2013-05-26 | 1 | -5/+7 | |
| | | | | llvm-svn: 182715 | |||||
* | lit: Fix infinite recursion when an out-of-tree test root is located inside ↵ | Daniel Dunbar | 2013-04-12 | 5 | -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 Dunbar | 2013-04-12 | 3 | -9/+60 | |
| | | | | llvm-svn: 179401 | |||||
* | lit: Don't descend into .git directories during test discovery. | Daniel Dunbar | 2013-04-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 179249 | |||||
* | lit: Shorten a metavar to make --help look nicer. | Daniel Dunbar | 2013-04-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 179248 | |||||
* | lit: Add a test for discovery when exact test names are given. | Daniel Dunbar | 2013-04-11 | 1 | -0/+15 | |
| | | | | llvm-svn: 179247 | |||||
* | lit: Add a trivial test of the basic progress bar. | Daniel Dunbar | 2013-04-11 | 6 | -0/+22 | |
| | | | | llvm-svn: 179243 | |||||
* | [lit] Avoid CRLFs in bash scripts on Windows | Reid Kleckner | 2013-03-20 | 1 | -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 Takumi | 2013-03-13 | 1 | -0/+3 | |
| | | | | | | ignored. llvm-svn: 176930 | |||||
* | [lit] Add a display function for lit.Test.TestResult. | Daniel Dunbar | 2013-02-07 | 1 | -0/+4 | |
| | | | | llvm-svn: 174667 | |||||
* | [lit] Add a test for internal shell execution behaviors. | Daniel Dunbar | 2013-01-31 | 10 | -0/+125 | |
| | | | | llvm-svn: 174102 | |||||
* | [lit] Change to raise InternalShellError for all command execution issues. | Daniel Dunbar | 2013-01-31 | 1 | -4/+5 | |
| | | | | llvm-svn: 174101 | |||||
* | [lit] Fix bug where InternalShellError messages were discarded. | Daniel Dunbar | 2013-01-31 | 1 | -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 Dunbar | 2013-01-31 | 1 | -4/+9 | |
| | | | | | | - Testing finds bugs, who knew. llvm-svn: 174087 | |||||
* | [lit] Add a test for the various ShTest format features. | Daniel Dunbar | 2013-01-31 | 16 | -0/+72 | |
| | | | | llvm-svn: 174072 | |||||
* | [lit] TestRunner: Eliminate failDueToStderr argument, which is now unused. | Daniel Dunbar | 2013-01-31 | 1 | -9/+3 | |
| | | | | llvm-svn: 174071 | |||||
* | [lit] Delete the now-unused SyntaxCheckTest format. | Daniel Dunbar | 2013-01-31 | 3 | -13/+1 | |
| | | | | | | - Also, kill the pointless LitFormats module. llvm-svn: 174070 | |||||
* | [lit] Move unittest adaptor code into discovery module. | Daniel Dunbar | 2013-01-31 | 6 | -23/+50 | |
| | | | | | | - Also, add a test for it. llvm-svn: 174019 | |||||
* | [lit] Run the ShUtil tests as part of the test suite. | Daniel Dunbar | 2013-01-31 | 2 | -0/+4 | |
| | | | | llvm-svn: 174018 | |||||
* | [lit] Set parallel mode for coverage tests. | Daniel Dunbar | 2013-01-31 | 1 | -1/+1 | |
| | | | | llvm-svn: 174017 | |||||
* | [lit] Move discovery code into its own module. | Daniel Dunbar | 2013-01-31 | 3 | -233/+227 | |
| | | | | llvm-svn: 174014 | |||||
* | [lit] Add a MANIFEST file and a script for sanity checking the source dist. | Daniel Dunbar | 2013-01-31 | 2 | -0/+51 | |
| | | | | llvm-svn: 174002 |