8f4aab8c2fe095ce1286fc1bd0bdd9157ed00398 |
|
07-Aug-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
Lit: Resurrect --no-execute dropped in r187852. For now, builders in bb.pgr.jp are using it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187886 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
09a28f6973599b3c2e12f19e1d3f91e12de77ff7 |
|
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Use newer StringIO class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187861 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
b35a1733607b07f36c3617932b67debb375a15c5 |
|
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Use modern absolute/relative import style. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187860 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
0d038e3e8852bf4fde949136ca9c2815f64febd0 |
|
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Use .write() methods instead of print statement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187857 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
2e60c882bf989207ad3b33685b2353f62ff3ecd4 |
|
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Remove uses of deprecated except syntax. - 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187854 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
26e0af54c2eb3efe468715edada97442e469bb19 |
|
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Use more modern syntax for constructing exceptions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187853 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
91142b1125aabd86d2307f340abc53351c4a7d94 |
|
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Drop --no-execute, which isn't generally useful. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
c1bb2d432501dabdfcb1e78eccfb7377664c4d14 |
|
27-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use pipefail when available. 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187261 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
8755ae8c69ca522a9931aab4b4951443b2f64d26 |
|
21-Mar-2013 |
Reid Kleckner <reid@kleckner.net> |
[lit] Avoid CRLFs in bash scripts on Windows 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
a80ae9c71c361e0569af66b9885a15c3877c6c2d |
|
31-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Change to raise InternalShellError for all command execution issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174101 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
b62fb4ba5cf61070486287da393ada566b4ad4ed |
|
31-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Fix bug where InternalShellError messages were discarded. - Also, change the exit code to match 'sh'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174089 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
213a789a711724c864defdc2c3e1208d6c5b7fd4 |
|
31-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] TestRunner: Eliminate failDueToStderr argument, which is now unused. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174071 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
41169f2a0e341f48d71acc0997ec954ee70289fd |
|
18-Jan-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Remove support for Tcl test format since nobody uses it git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172794 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
f1a26cf9df900101b9cbea42b67f7466edc7deed |
|
26-Dec-2012 |
Eli Bendersky <eliben@google.com> |
Fix comment typo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171113 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
c15e5b0a0dbdaf8612bdcbba1deedcb77bed1045 |
|
06-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
PR10867: Analogue of r169441 for when using external 'sh'. And actually run the test! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
00fb9c429e4400f3daeb87e6fad9498d4c73862a |
|
05-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
PR10867. lit would interpret RUN: a RUN: b || true as "a && (b || true)" in Tcl mode, and as "(a && b) || true" in sh mode. Everyone seems to (quite reasonably) write tests assuming the Tcl behavior, so use that in sh mode too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169441 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
08639983ded4250c18614c62450e70ba653aac4c |
|
14-Nov-2012 |
Alexander Kornienko <alexfh@google.com> |
Added %(line), %(line+<number>), %(line-<number>) substitutions to lit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167971 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
f793fbc5698263e045661cab3fb06144c66cc1db |
|
19-Oct-2012 |
Daniel Dunbar <daniel@zuster.org> |
lit: Remove support for XTARGET. - The XTARGET feature (inherited from old DG tests) was just confusing (and barely ever used). The same effect can now be achieved with a combination of the more useful REQUIRES and XFAIL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166305 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
44a83f092029fa76bce05ff0c0598afc55215767 |
|
18-Oct-2012 |
Daniel Dunbar <daniel@zuster.org> |
lit: Allow XFAIL: lines to also refer to "features". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166224 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
b1a464279623768a3d04ff6726c99dce35d2f360 |
|
20-Jul-2012 |
Daniel Dunbar <daniel@zuster.org> |
lit: Use close_fds=True on UNIX, to avoid file descriptor pollution of subprocesses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160556 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
9fae6ee6af42b7aca361deb478a212f573a0cd60 |
|
08-May-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
Lit: rewind WinWaitReleased() stuff in TestRunner. r145222 "lit/TestRunner.py: [Win32] Introduce WinWaitReleased(f), to wait for file handles to be released by children." r145223 "lit/TestRunner.py: Use RemoveForce()." r145381 "lit/TestRunner.py: Try to catch ERROR_FILE_NOT_FOUND, too." r152916 "lit/TestRunner.py: [Win32] Check all opened_files[] released, rather than (obsoleted) written_files[]." r153172 "lit/TestRunner.py: [Win32] Rework WinWaitReleased() again! "win32file" from Python Win32 Extensions." git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156381 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
0191bfcf7a5ae1ccfad7afe8ced59a14ffaca2a6 |
|
21-Mar-2012 |
Nico Weber <nicolasweber@gmx.de> |
Add a ${pathsep} variable to lit that expands to : (or ; on win32). This is in braces so that it doesn't conflict with the existing %p. It uses braces instead of parens because parens would have to be regex-escaped. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153213 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
9146e66cc179771c06e1c1aeea891cec7ad46db3 |
|
21-Mar-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit/TestRunner.py: [Win32] Rework WinWaitReleased() again! "win32file" from Python Win32 Extensions. We can simply confirm the handle released to open it with EXCLUSIVE. Attempting renaming was bad. Disable win32file at ImportError. Thanks to Francois to let me know. FIXME: Could we report warning or notification if win32file were not found? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153172 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
391c14530bc7573756c2b3d9b483853aeecaf34e |
|
16-Mar-2012 |
Francois Pichet <pichet2000@gmail.com> |
Revert r152915. Chapuni's WinWaitReleased refactoring: It doesn't work for me git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152958 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
bb0b6eddaf546a5f135ce9d0292b61e12ce7c16b |
|
16-Mar-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit/TestRunner.py: [Win32] Check all opened_files[] released, rather than (obsoleted) written_files[]. In previous case, RUN: foo -o %t RUN: FileCheck < %t RUN: bar -o %t 2nd read handle might prevent manipulation of 3rd %t in bar, to remove and rename. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152916 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
7c6ac2ebabd800595c3da2acd2e21b8340e0904e |
|
16-Mar-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit/TestRunner.py: [Win32] Rework WinWaitReleased(). We can simply confirm the handle released to open it with EXCLUSIVE. Attempting renaming was bad. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152915 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
2d4a5bf817ba0d85ddeb34a3c7fc2bc07fda32bd |
|
06-Jan-2012 |
Daniel Dunbar <daniel@zuster.org> |
lit/lit.TestRunner: Add an extra_substitutions argument for executeShTest -- useful for test suites which want to piggyback onto the "shtest" format style. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147684 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
ebb57cc44ad02e8c096ad863df6dd6b7e5b0b789 |
|
29-Nov-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit/TestRunner.py: Try to catch ERROR_FILE_NOT_FOUND, too. Thanks to Francois, to let me know. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145381 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
b0c95fbaf9ef8877ac2ace5e706ae7487b6dc6e1 |
|
28-Nov-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit/TestRunner.py: Use RemoveForce(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145223 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
fc1a1870b5b4e1ef5a555426acd762f19387a57b |
|
28-Nov-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit/TestRunner.py: [Win32] Introduce WinWaitReleased(f), to wait for file handles to be released by children. When wait() has finished, opened handles (especially writing stdout to file) might not be released immediately. To wait for released, poll to attempt renaming. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145222 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
bbbc283d86a911ccf3bdecdc78a7a8f71f31683f |
|
31-Aug-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit: Normalize pathsep slashes also on %T. On Python-w32 with mingw msys bash, %T was replaced to "x:\foo\bar...". msys bash cannot handle DOSish paths. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
7c12837916e647a9225fe2433f826588f2f28726 |
|
30-Aug-2011 |
Andrew Trick <atrick@apple.com> |
Lit option for ignoring stderr output. This is useful for testing a build a temporarily hand instrumented build. Patch by arrowdodger! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138804 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
0f9d34c71d4f4ea83912c45f99ed286557ea189c |
|
26-Aug-2011 |
Douglas Gregor <dgregor@apple.com> |
lit: Add %T as a replacement for the output directory git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
f2a58425cd2a288b1d9fc3d2484ac774d361a0d7 |
|
23-Jun-2011 |
Andrew Trick <atrick@apple.com> |
lit support for REQUIRES: asserts. Take #2. Don't piggyback on the existing config.build_mode. Instead, define a new lit feature for each build feature we need (currently just "asserts"). Teach both autoconf'd and cmake'd Makefiles to define this feature within test/lit.site.cfg. This doesn't require any lit harness changes and should be more robust across build systems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133664 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
05c087d8934168f6dda429de5b0925a7be0cc9a3 |
|
16-Jun-2011 |
Andrew Trick <atrick@apple.com> |
Add support to lit for build mode requirements. e.g. REQUIRES: Asserts REQUIRES: Debug This required chaining test configuration properties. It seems like a generally good thing to do. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133131 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
9869c2f71744821d77fca2d0596cd9f27f84c5d2 |
|
05-Mar-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
utils/lit/lit/TestRunner.py: bash is available with MSYS on Python/W32. Then we can execute "bash tests". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127074 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
7a0be17c087ad7723e0ec65e63f4eb80ce9b5cef |
|
08-Jan-2011 |
Francois Pichet <pichet2000@gmail.com> |
On Windows, replace each occurrence of '\' by '\\' on the replacement string. This is necessary to prevent re.sub from replacing escape sequences occurring in path. For example: llvm\tools\clang\test was replaced by llvm <tab> ools\clang <tab> est git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123070 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
ba69d3f6d448ca0a3a56b71fa65e85712bf76512 |
|
04-Jan-2011 |
Francois Pichet <pichet2000@gmail.com> |
Disable r122754 on Windows: was causing all lit tests to fail. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122808 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
18d49877530c04dd63578e6d9d0a1d3b6955502b |
|
03-Jan-2011 |
David Greene <greened@obbligato.org> |
Reapply 122341 to fix PR8199 now that clang changes are in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
234da6832fa0fb9b242d112e6b816f35c56b026e |
|
21-Dec-2010 |
David Greene <greened@obbligato.org> |
Revert 122341. It breaks some darwin tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
4d75d80d62f52ce440e6af7821d785ab49f30ea7 |
|
21-Dec-2010 |
David Greene <greened@obbligato.org> |
Fix PR 8199. This patch prepends the build tool dir to LLVM programs being tested. This ensures that we test the tools just built and not some random tools that might happen to be in the user's PATH. This makes LLVM testing much more stable and predictable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122341 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
69c4cbe9e878e49aa87d322c63afd809588f4cd7 |
|
29-Sep-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Fix a subtle resource usage bug when executing tests using the internal shell runner. We would inadvertently end up holding on to handles to the temporary files longer than we should have been. On Win32, where open handles lock some file operations, this caused problems in tests which would try to move temporary files around (as Clang does by default now). Many thanks to Francois Pichet for the excellent detective work on this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115040 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
bd2499a0b128ca15e97d8d67e72f8c9024d3310b |
|
10-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Expand uses of python 2.6's "A if B else C" syntax into regular if-else statements, to hopefully support older pythons (PR7850). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110638 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
34f68fc040a920b32ee11c5a8f63ba8a75240f26 |
|
04-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Print a message when a test failure is due to stderr output alone, rather than just an exit code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110208 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
e1e5746476745cfea4051324c89836bc4b581530 |
|
04-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Change the logic which interprets output on stderr as an error so that it doesn't modify the exit code or the stdout contents, and so that it doesn't clutter the output with "Command has output on stderr!". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110171 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
8a7ffe651f706a6819e94e6a99bbb2c1bb1d4391 |
|
04-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Don't print "Command output (stdout):" when the command has no output, and same for stderr, to avoid clutter in the output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110169 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
e1390c40a6135b5caa4b0f6db1c3375dcffd4d05 |
|
04-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Use the regular conditional operator syntax instead of a clever hack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110168 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
b937549e517fcb03032bab3441d6ced37fc4db8d |
|
22-Jul-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add support for 'REQUIRES: feature-one, feature-two, ...' in the integrated-test formats (sh and tcl style). The particular features which get recognized are up to the test suite itself to define. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109062 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
1befb9b2df7b287872021518cedce4a0aeca3b95 |
|
12-Jun-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Replace /dev/null in scripts with temporary files on Windows. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105888 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
771d90ff4316d3557bfb1d6d500529d290b808d0 |
|
12-Jun-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add a forgotten default argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105858 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
f32a41a7e6df8ff5f78c673e3a73303bdba759ff |
|
12-Jun-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: When running Tcl style tests on Windows, substitute slashes to avoid Tcl quoting problems. Not particularly ideal, but should work ok. Based on a patch by Michael Spencer! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105855 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
e09ccab0ce2986d1ba6950f2eccc46fd1935ae68 |
|
31-Mar-2010 |
Daniel Dunbar <daniel@zuster.org> |
Add a FIXME. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100034 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
c3681d334af978e066c4fdbfcadda492585ef338 |
|
31-Mar-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Make sure to close any files we open as part of redirection. PR6753. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100032 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
32989deb9641cf3878686b5634311a7a125f8f02 |
|
21-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Add support for XFAILing valgrind runs with memory leak checking independently of runs without leak checking. We add -vg to the triple for non-checked runs, or -vg_leak for checked runs. Also use this to XFAIL the TableGen tests, since tablegen leaks like a sieve. This includes some valgrindArgs refactoring. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99103 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
fd4943087e695be494732c745bbe4794ba022567 |
|
18-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Avoid a problem in libc_freeres() seen on a linux-i686 buildbot when running under valgrind: ==19577== Invalid free() / delete / delete[] ==19577== at 0x4C9C866: free (vg_replace_malloc.c:325) ==19577== by 0x5121104: ??? (in /lib/libc-2.10.2.so) ==19577== by 0x4C97412: _vgnU_freeres (vg_preloaded.c:62) ==19577== by 0x5041486: __run_exit_handlers (exit.c:93) ==19577== by 0x50414FE: exit (exit.c:100) ==19577== by 0x5028B5C: (below main) (libc-start.c:254) ==19577== Address 0xffffffff is not stack'd, malloc'd or (recently) free'd ==19577== Apparently this happens under certain versions of glibc, so valgrind provides the --run-libc-freeres=no option to avoid calling freeres(). This may increase the number of "still reachable" blocks valgrind reports, but we don't care about those, while this error breaks the buildbots. There are upstream bugs about this at http://sourceware.org/bugzilla/show_bug.cgi?id=10610 and http://bugs.kde.org/show_bug.cgi?id=167483, but they don't look likely to be fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98813 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
b5e9770aef7176668cb1a1d97c085c061798cfd3 |
|
17-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Make lit pay attention to --vg for tcl tests too, which makes it work on LLVM's non-unit tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98741 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
197d009e6bdb96f0e27f07be1a6775ced09fcf9f |
|
08-Mar-2010 |
John McCall <rjmccall@apple.com> |
Revert r97726 and r97728 at ddunbar's request; we want to solve this some other way when it comes to be necessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97972 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
b8f2e4bde682ae4697fcc8d46d125388fbe12447 |
|
04-Mar-2010 |
John McCall <rjmccall@apple.com> |
Simplify the condition-checking logic and hopefully clear up a build failure that somehow got through my testing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97728 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
7b7b90769ac1b1ed4ac3d506b57866d44130a36e |
|
04-Mar-2010 |
John McCall <rjmccall@apple.com> |
Teach lit to honor conditional directives. The syntax is: IF(condition(value)): If the value satisfies the condition, the line is processed by lit; otherwise it is skipped. A test with no unignored directives is resolved as Unsupported. The test suite is responsible for defining conditions; conditions are unary functions over strings. I've defined two conditions in the LLVM test suite, TARGET (with values like those in TARGETS_TO_BUILD) and BINDING (with values like those in llvm_bindings). So for example you can write: IF(BINDING(ocaml)): RUN: %blah %s -o - and the RUN line will only execute if LLVM was configured with the ocaml bindings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97726 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|
d24f1f342a4637756297117ead63e2e966999126 |
|
26-Dec-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Sink code into a 'lit' package. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92168 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestRunner.py
|