36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/utils/lit/lit/TestingConfig.py
|
651ffc703e4ae78c4416e6c360b1182bbd30849a |
|
17-Oct-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
Lit: LIT_PRESERVES_TMP should be aware of TMPDIR, too. TMPDIR is preferred in Unix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192891 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
9f64a56ababffecbe5a818ecbe5b6fbfc1d7b974 |
|
17-Oct-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
Lit: Introduce an environment variable, $LIT_PRESERVES_TMP, to preserve TMP (and TEMP). This is intended to check how many temporary files would be generated in automated builders. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192887 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
4b3e5f24ecedc075a3d9f1a5bdb77190a3a01f22 |
|
04-Sep-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Allow config files to pass arbitrary values to child configs. - This aligns with how existing test suites end up wanting to use the local config files, conceptually it makes sense to consider them to be inherited. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189885 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
a5e463ea5fa7f671cf029b420bc2f375b8e71fba |
|
09-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Drop deprecated aliases for lit and old module names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188108 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
efdcf800fe45e9e9eefaf05fc075c68e1ee50fd3 |
|
09-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Fix typo. - Noticed by edward-san (IRC). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188096 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
38649827c38a4fcb93219eb29e104c91b0228e56 |
|
09-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Inject the lit specific config object as 'lit_config' when loading 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188039 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
6c749c5fbc94a9f133ed05e389aab4309f187684 |
|
09-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Split TestingConfig.frompath() into separate ctor and load methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188038 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
49e51429c1e1cf37b2cc23fdf208d9f470acf430 |
|
09-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Eliminate mustExist parameter from TestingConfig.frompath(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188034 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
3279653eb85d2f09175f6a2deb0a12b93fed9ecf |
|
09-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Only create config copies when a local config file is present. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188033 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
b3c0c58ca4ecd21566899b369eb70742e44cc8ea |
|
09-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Eliminate parent argument from TestingConfig.frompath(), which is effectively unused. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188032 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
9d11edb416d2a61ddaee15664acb52432094079f |
|
08-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Remove on_clone member, which is no longer used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188006 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
9c2c660e1228fe513b5940a7fb5d3a763728dcbc |
|
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Report the traceback when config import fails. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187920 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
9286ee62920806fc695fc3be23b51b73cb707cb5 |
|
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Use py2&3 compatible exec() syntax. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187862 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.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/TestingConfig.py
|
018696db4587dc6a0d8081d0627543f5c08b6c97 |
|
27-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Move the default back to pipefail. I accidentally reverted it before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187271 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
c16ab3ed2105b9794ca11680178b646b2762d286 |
|
27-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Propagate pipefail when cloning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187268 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.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/TestingConfig.py
|
6b283ea9457bf69f26c097ca66fe6c41d10a29d2 |
|
19-Oct-2012 |
Daniel Dunbar <daniel@zuster.org> |
lit: Rename the valgrind leaks feature to match what is currently used (vg_leak). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166306 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
f854597fc1a183a9d13827a6eeb9f53a69819497 |
|
19-Oct-2012 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add 'valgrind' and 'valgrind-leaks' features when valgrind is used. - These can be used with the XFAIL options. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166303 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
7badf4573952697d9706c0fddeff7413100ec190 |
|
19-Oct-2012 |
Daniel Dunbar <daniel@zuster.org> |
lit: Propagate TERM variable in environment, some tools can do really obscure odd things if this is missing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166289 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
0417d7dca09b0beb7f27045b0ab9e93096905c74 |
|
25-Mar-2012 |
Eli Bendersky <eli.bendersky@intel.com> |
Fix lit failure on cmake-clang-x64_64-linux bot, apparently due to its having a very (*very*) old version of Python (2.4?) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153409 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
cc85160672e3b2d5ec363cc4e151e5b944a60454 |
|
25-Mar-2012 |
Eli Bendersky <eli.bendersky@intel.com> |
Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu * Removed test/lib/llvm.exp - it is no longer needed * Deleted the dg.exp reading code from test/lit.cfg. There are no dg.exp files left in the test suite so this code is no longer required. test/lit.cfg is now much shorter and clearer * Removed a lot of duplicate code in lit.local.cfg files that need access to the root configuration, by adding a "root" attribute to the TestingConfig object. This attribute is dynamically computed to provide the same information as was previously provided by the custom getRoot functions. * Documented the config.root attribute in docs/CommandGuide/lit.pod git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153408 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
f5677777ca9761399572b2cd800886b8aa35e921 |
|
13-Mar-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit: Pass %INCLUDE% to tests on Win32. clang may expect existence of %INCLUDE% in vcvarsall.bat. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152588 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
d0b3da1ea266774f97c63b5ec163de964c5711bf |
|
07-Feb-2012 |
Andrew Trick <atrick@apple.com> |
This is a small patch with a couple of improvements for running lit with --debug: 1. Added a status note when a config file is loaded directly with load_config. This helps notice loads of lit.cfg from lit.site.cfg 2. Added a status note on the result of a config load. Previously, it was just notifying that it tries to load a config file. Now it will also say whether the load succeeded or the file wasn't found The two changes give better visibility into which config files were actually loaded by lit. The effect is only on --debug runs. Patch by Eli Bendersky! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149932 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
08713b37c367b9db29058092c46b41981a74ceff |
|
11-Jan-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Disable the crash reporter when running lit tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147965 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
4749cc5a3d198ea31b14c552a35a80d09ec53fa4 |
|
20-Aug-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
utils/lit/lit/TestingConfig.py: Pass TEMP and TMP to tests on Win32 hosts. Win32 GetTempPath() tends to pick up %WINDIR% when neither TEMP nor TMP was found. %WINDIR% should not be treated writable on recent Windows OS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138192 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
7a13cc625bbc0d23bfb2450e87a4be7d7f98be15 |
|
20-Aug-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
utils/lit/lit/TestingConfig.py: Split out environment vars for Win32. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138191 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.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/TestingConfig.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/TestingConfig.py
|
d4f4e6ee2c1eb80b8a1d3199e7747405fee956a3 |
|
18-Mar-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
raw_ostream: [PR6745] Tweak formatting (double)%e for Windows hosts. On MSVCRT and compatible, output of %e is incompatible to Posix by default. Number of exponent digits should be at least 2. "%+03d" FIXME: Implement our formatter in future! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127872 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
2f017cb7f3fbbde93f69a47172eeb7244ca269ec |
|
05-Mar-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
On Windows hosts, Python scripts in test/Scripts did not accept binary files from stdin. The environment variable "PYTHONUNBUFFERED" makes stdin as binary. Thanks to Danil Malyshev! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127072 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
214c920818eb4624651f9cd6f7b0e48e5b61e50d |
|
17-Feb-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit/TestingConfig.py: Add the environment variable PRINTF_EXPONENT_DIGITS as workaround [PR6745] for mingw's tests. Danil Malyshev suggested this. FIXME: It does not improve MSVC's issue. [Danil Malyshev] Defining PRINTF_EXPONENT_DIGITS env is the suggested way to make MinGW ANSI/POSIX compatible. This is not only about the case we are discussing, but in general, I'd like to have explicitly defined compatibility mode for all the tests running on MinGW. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125725 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.py
|
7201c9f1f12a91bad33311be0e812ce3cd924799 |
|
17-Sep-2010 |
Duncan Sands <baldrick@free.fr> |
Some of the tests build an executable with llvm-gcc. For this to work, llvm-gcc needs to find some libraries, which may require searching the directories given by LIBRARY_PATH on curiously configured systems. So pass on LIBRARY_PATH. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114186 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.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/TestingConfig.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/TestingConfig.py
|
2d4e4af45e074b6d712ac6fc6ab3e63456e1e24e |
|
05-Mar-2010 |
Duncan Sands <baldrick@free.fr> |
If LD_LIBRARY_PATH is set in the system environment, use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97796 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/utils/lit/lit/TestingConfig.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/TestingConfig.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/TestingConfig.py
|