cd81d94322a39503e4a3e87b6ee03d4fcb3465fb |
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for rebase to r212749. Includes a cherry-pick of: r212948 - fixes a small issue with atomic calls Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
it/discovery.py
it/util.py
|
dce4a407a24b04eebc6a376f8e62b41aaa7b071f |
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for 3.5 rebase (r209712). Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
tils/check-coverage
tils/check-sdist
|
36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
ANIFEST.in
EADME.txt
it/Test.py
it/TestingConfig.py
it/__init__.py
it/formats/googletest.py
it/main.py
tils/check-sdist
|
188545867dbcd0a6870b19c6b06d49610e7cda93 |
28-Oct-2013 |
Alp Toker <alp@nuanti.com> |
lit: multiprocessing platform fix attempt The error raised by Python varies by platform(!), so let's just catch any exception and fall back. Thanks to Sylvestre Ledru for noticing this on a Debian / Python 2.7 system running code coverage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193516 91177308-0d34-0410-b5e6-96231b3b80d8
it/run.py
|
bbe8f3b0e19f9bcca6e739fd92cbae6d570cab93 |
27-Oct-2013 |
Alp Toker <alp@nuanti.com> |
Clarify the comment about BSD versions in r193465 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193508 91177308-0d34-0410-b5e6-96231b3b80d8
it/run.py
|
0435c5dbec925f6c33a5920b63b2bcb0873efe75 |
26-Oct-2013 |
Joerg Sonnenberger <joerg@bec.de> |
self.path may be empty or otherwise miss the normal system directories, so try PATH next. Assume it is sane enough to cover the usual system bash locations too, but the old list is not good enough for NetBSD. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193471 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitConfig.py
|
a685c139182519ed29c3cddd848649f533070004 |
26-Oct-2013 |
Alp Toker <alp@nuanti.com> |
lit: Issue a note when multiprocessing fails to load If multiprocessing was requested, detected as available and subsequently failed to initialize it's worth letting the user know about it before falling back to threads. This condition can arise in certain OpenBSD / FreeBSD Python versions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193465 91177308-0d34-0410-b5e6-96231b3b80d8
it/run.py
|
8d93aa0de330e24fe1cec7a915bdf1354da377fa |
26-Oct-2013 |
Alp Toker <alp@nuanti.com> |
Fix a referenced before assignment in r193463 Some versions of Python on the builders seem strict about this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193464 91177308-0d34-0410-b5e6-96231b3b80d8
it/run.py
|
a4e71dea487750cd13a5a5821df3acee32988bf4 |
26-Oct-2013 |
Alp Toker <alp@nuanti.com> |
lit: handle late multiprocessing errors gracefully This should be a better fix for lit multiprocessing failures, replacing the OpenBSD and FreeBSD workarounds in r193413 and r193457. Reference: http://bugs.python.org/issue3770 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193463 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
it/run.py
|
59b8e0419ce873f62df0cc1fd14d193d7b63f8a5 |
26-Oct-2013 |
Alp Toker <alp@nuanti.com> |
Attempt to fix the FreeBSD build, disable multiprocessing Speculative quick fix based on clang-X86_64-freebsd output: File "/usr/local/lib/python2.6/multiprocessing/synchronize.py", line 33, in <module> " function, see issue 3770.") ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193457 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
|
b94be5f21eb43f057a8ea2f8afda3c5fecf9e2d8 |
25-Oct-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Try to fix the openbsd bot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193413 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
|
d80961c91f5318cdbbd5150f54ddad04102b769a |
24-Oct-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Actually switch the default to use multiprocessing git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193282 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
|
279a89ebdbbd7b85a2498066da8df7a871f7f20c |
24-Oct-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Stop hacking the GIL check interval. - This was never a big win, and is irrelevant now that we commonly use multiprocessing based parallelism. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193280 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
|
a0d3bcfd8cf26f2849e0ea48419f31659dacb0bf |
24-Oct-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Use multiprocessing based parallelism by default, on Unix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193279 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.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
it/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
it/TestingConfig.py
|
2849503ab240a2dab6f2e3c5a029e3416165554f |
14-Sep-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Add an --output option, for writing results in a machine readable form. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190738 91177308-0d34-0410-b5e6-96231b3b80d8
it/Test.py
it/main.py
ests/Inputs/test-data/metrics.ini
ests/lit.cfg
ests/test-output.py
|
ff058f0a701b601f1593f2a9c8030acb652fdba6 |
11-Sep-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Add support for attach arbitrary metrics to test results. - This is a work-in-progress and all details are subject to change, but I am trying to build up support for allowing lit to be used as a driver for performance tests (or other tests which might want to record information beyond simple PASS/FAIL). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190535 91177308-0d34-0410-b5e6-96231b3b80d8
it/Test.py
it/main.py
ests/Inputs/test-data/lit.cfg
ests/Inputs/test-data/metrics.ini
ests/test-data.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
it/TestingConfig.py
it/discovery.py
ests/Inputs/discovery/lit.cfg
ests/Inputs/discovery/subdir/lit.local.cfg
|
e0ff96c11240d3f9463234f3278eb86f14be775c |
29-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] [tests] Add missing test input file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189561 91177308-0d34-0410-b5e6-96231b3b80d8
ests/Inputs/shtest-format/argv0.txt
|
cb4bfb340941186a0e326e4b00a88a50a86b7ff0 |
29-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Fix internal shell's argv[0] handling. - At least on OS X, it is important for correct behavior of /bin/[ that argv[0] is passed as written, and not as the full executable path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189559 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestRunner.py
ests/shtest-format.py
|
4ac723b53f2eb69e604891853ca87d1e2b3ee788 |
29-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Add support for multiprocessing, under --use-processes for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189556 91177308-0d34-0410-b5e6-96231b3b80d8
ODO
it/main.py
it/run.py
|
df44de6d918255eb51f3d042681e006f33948f80 |
29-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Implement --max-time support by using provider cancel method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189555 91177308-0d34-0410-b5e6-96231b3b80d8
it/run.py
|
07f0f16bfd58c3e44babae65ccd88b9621d15f48 |
29-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Refactor test execution logic into lit.run.Run. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189554 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
it/run.py
|
b11b690d3f36d552091423293489f845090efb4f |
29-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Put display lock inside the ThreadResultsConsumer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189553 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
|
ec8e0592544de7b99b87535352a26b0420c51820 |
29-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Factor out a results consumer interface for test execution. - Also, change TestProvider interface to operate on test indices. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189552 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
|
8c59003cc382e4b2fb15b267aa2d356e869a89cc |
29-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Move top-level execute code into Run object. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189551 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitTestCase.py
it/discovery.py
it/main.py
it/run.py
|
5b2efc28fd193701d2d05780c7b8d8ee5bf75c31 |
29-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Factor out Run class to capture configuration + discovered tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189550 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
it/run.py
|
8253cc047de523fd2097e4d85417316ff9a37ad5 |
29-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Change lit.Test.ResultCode to be unique across pickling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189549 91177308-0d34-0410-b5e6-96231b3b80d8
it/Test.py
|
6f25e872e46ca9ae8b84c0ad411f98e4868b1c87 |
29-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Add a TODO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189546 91177308-0d34-0410-b5e6-96231b3b80d8
ODO
|
501cba385cf2ae5db1d646ec75e1d4d57e015d80 |
29-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Update shtest format to return lit.Test.Result objects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189545 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestRunner.py
|
8a1d9b207a2bec95dfdc72700f8edafd44c98c17 |
29-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Update LitTestCase to support lit.Test.Result. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189544 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitTestCase.py
|
4db169d31e34df89d10660960070de073f0f28af |
22-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Fix a couple lingering Py3 compat issues in ProgressBar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188951 91177308-0d34-0410-b5e6-96231b3b80d8
it/ProgressBar.py
|
f72bc792264941d1cdffe99775ce5e28bcdc51a4 |
22-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Lift XFAIL handling to core infrastructure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188949 91177308-0d34-0410-b5e6-96231b3b80d8
it/Test.py
it/TestRunner.py
ests/shtest-format.py
|
d3bf8a2c0aefe36cb4bfc6f41983aa09caae2acb |
22-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Allow formats to return lit.Test.Result instances directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188948 91177308-0d34-0410-b5e6-96231b3b80d8
it/Test.py
it/main.py
|
ccd21b26dd16c6dff207b3ded3df2bb90f1b9e6e |
22-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Factor out a separate Test.Result() object. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188947 91177308-0d34-0410-b5e6-96231b3b80d8
it/Test.py
it/main.py
|
0dd41a99e31d098165571911fbb7d9d9a453595f |
22-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Simplify --time-tests code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188946 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
|
7b0cdf7bf44e626977d607279a933e45346aeac8 |
22-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Extract TestFormat base class, for future use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188945 91177308-0d34-0410-b5e6-96231b3b80d8
it/Test.py
it/formats/__init__.py
it/formats/base.py
it/formats/googletest.py
|
70360e67624b5897490de29b51b1b616afcb8f5e |
17-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Rewrite TODO list, and elaborate on some things. - If anyone is interested in lit's feature set, I'd appreciate any comments on the elaborated items. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188590 91177308-0d34-0410-b5e6-96231b3b80d8
ODO
|
23114d0da70559e88d506d88b6863e89ad98a66f |
16-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Remove some done TODOs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188502 91177308-0d34-0410-b5e6-96231b3b80d8
ODO
|
4fa59392684435c2196baf43c35c07fe8b348cae |
15-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Add test coverage of gtest format. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188417 91177308-0d34-0410-b5e6-96231b3b80d8
ests/Inputs/googletest-format/DummySubDir/OneTest
ests/Inputs/googletest-format/lit.cfg
ests/googletest-format.py
|
80a06baec266e901f58797c39ac78c9552036b9d |
15-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Ensure test output is converted to strings where possible. - This cleans up the text output of failing tests when run under PY3. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188416 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestRunner.py
it/util.py
ests/Inputs/shtest-format/external_shell/fail.txt
ests/Inputs/shtest-format/external_shell/fail_with_bad_encoding.txt
ests/Inputs/shtest-format/external_shell/write-bad-encoding.sh
ests/Inputs/shtest-format/fail.txt
ests/shtest-format.py
|
35d5e9044c580c843eb6e825d87816619e6d7f8f |
14-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Support parsing scripts with inconsistent or invalid encodings. - For whatever reason, we have a lot of test files with bogus unicode characters. This patch allows those scripts to still be parsed on Python3 by changing the parsing logic to work on binary files, and only require the actual script commands to be convertible to ascii. - This patch has been tweaked to now ensure that the command strings are not of unicode type on Python 2.6-7. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188398 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestRunner.py
ests/shtest-encoding.py
|
14a5c695a9a4dc773cfc37c0c4a847e0160e5396 |
14-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
Revert r188376, "[lit] Support parsing scripts with inconsistent or invalid encodings.", this doesn't work yet for bots using the internal shell. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188379 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestRunner.py
ests/shtest-encoding.py
|
47e7c040f4e03a5fd162ee7c8ea061cfe873eb23 |
14-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Support parsing scripts with inconsistent or invalid encodings. - For whatever reason, we have a lot of test files with bogus unicode characters. This patch allows those scripts to still be parsed on Python3 by changing the parsing logic to work on binary files, and only require the actual script commands to be convertible to ascii. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188376 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestRunner.py
ests/shtest-encoding.py
|
af5a9e3f1e5f89836c8af6aab274d726170deb8b |
14-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Fix a relative import issue I missed earlier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188360 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitTestCase.py
|
213ab86ee6d51a27ec87ed8320c6b8407dd25595 |
14-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Avoid StringIO. - We barely used it, and it is very hard to use in a 2.5-3 compatible way because of changing expectations for its input types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188359 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestRunner.py
|
6b78ef3762d0b48ac4493e81599be7af1491f8a6 |
14-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Fix tests to execute lit with same python as invoked with. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188358 91177308-0d34-0410-b5e6-96231b3b80d8
ests/lit.cfg
ests/shell-parsing.py
ests/unittest-adaptor.py
|
5403214852da123d09b91377ad0fa4543afc816c |
14-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Factor ShTest format script command parsing from other processing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188357 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestRunner.py
|
493e8d4bf503c8f573e0dce95ea146d181c623c6 |
14-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Move executeCommand() into lit.util. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188356 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestRunner.py
it/formats/base.py
it/formats/googletest.py
it/util.py
|
f76c664f6bfe8a2184f500afbb9ae851e2e34987 |
14-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Move formats into their own subpackage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188355 91177308-0d34-0410-b5e6-96231b3b80d8
it/formats.py
it/formats/__init__.py
it/formats/base.py
it/formats/googletest.py
it/formats/shtest.py
|
e908486f5badf116c8711da76729ea2b3aa933b4 |
14-Aug-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
Lit: Introduce "%/[STpst] into parseIntegratedTestScript(), to normalize substitutions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188348 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestRunner.py
|
13e26da155d245e0d1e55fb8dc9f586426112fc2 |
13-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Support use of setup.py from other directories. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188309 91177308-0d34-0410-b5e6-96231b3b80d8
etup.py
|
ea549f0e12f367f5d0996a4bca441e64801b1e6e |
09-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Remove old ExamplesTests directory. - The actual tests have better coverage than those, and they weren't useful anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188110 91177308-0d34-0410-b5e6-96231b3b80d8
it/ExampleTests/Clang/fsyntax-only.c
it/ExampleTests/Clang/lit.cfg
it/ExampleTests/LLVM.InTree/test/Bar/data.txt
it/ExampleTests/LLVM.InTree/test/Bar/pct-S.ll
it/ExampleTests/LLVM.InTree/test/lit.cfg
it/ExampleTests/LLVM.InTree/test/lit.site.cfg
it/ExampleTests/LLVM.OutOfTree/lit.local.cfg
it/ExampleTests/LLVM.OutOfTree/obj/test/Foo/lit.local.cfg
it/ExampleTests/LLVM.OutOfTree/obj/test/lit.site.cfg
it/ExampleTests/LLVM.OutOfTree/src/test/Foo/data.txt
it/ExampleTests/LLVM.OutOfTree/src/test/Foo/pct-S.ll
it/ExampleTests/LLVM.OutOfTree/src/test/lit.cfg
it/ExampleTests/ShExternal/lit.local.cfg
it/ExampleTests/ShInternal/lit.local.cfg
it/ExampleTests/fail.c
it/ExampleTests/lit.cfg
it/ExampleTests/pass.c
it/ExampleTests/required-and-missing.c
it/ExampleTests/required-and-present.c
it/ExampleTests/vg-fail.c
it/ExampleTests/xfail-feature.c
it/ExampleTests/xfail.c
it/ExampleTests/xpass.c
|
de404a2809c8cd5a017ddd7084aa28e2f36fac2d |
09-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Move ManyTests examples to lit/examples/many-tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188109 91177308-0d34-0410-b5e6-96231b3b80d8
xamples/README.txt
xamples/many-tests/README.txt
xamples/many-tests/lit.cfg
it/ExampleTests/ManyTests/lit.local.cfg
|
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
it/LitConfig.py
it/TestingConfig.py
it/__init__.py
|
4981a6ca97aac2b5a491895cdfd87c44f98bd7a0 |
09-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Update lit's own tests to use lit_config and lit package, as appropriate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188107 91177308-0d34-0410-b5e6-96231b3b80d8
ests/Inputs/discovery/lit.cfg
ests/Inputs/discovery/subsuite/lit.cfg
ests/Inputs/exec-discovery-in-tree/lit.cfg
ests/Inputs/exec-discovery-in-tree/obj/lit.site.cfg
ests/Inputs/exec-discovery/lit.site.cfg
ests/Inputs/progress-bar/lit.cfg
ests/Inputs/shtest-format/external_shell/lit.local.cfg
ests/Inputs/shtest-format/lit.cfg
ests/Inputs/shtest-shell/lit.cfg
ests/Inputs/unittest-adaptor/lit.cfg
ests/lit.cfg
|
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
it/TestingConfig.py
|
128ce319ec47c46dc7da16aa3a75185899878745 |
09-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Rename lit.{TestFormats,Util} to their aliased names {formats,util}. - With compatibility hack in lit.__init__, so this hopefully shouldn't break anything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188040 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitConfig.py
it/ShUtil.py
it/TestFormats.py
it/TestRunner.py
it/Util.py
it/__init__.py
it/formats.py
it/main.py
it/util.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
it/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
it/LitConfig.py
it/TestingConfig.py
it/discovery.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
it/LitConfig.py
it/TestingConfig.py
it/discovery.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
it/TestingConfig.py
it/discovery.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
it/LitConfig.py
it/TestingConfig.py
it/discovery.py
|
abb9de5257375dbf10c87bdbf40ecafa777a0881 |
08-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Change --show-{tests,suites} to exit after printing. - This is a more sensible behavior than printing and also running tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188009 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
ests/discovery.py
|
59c6b1073c48befe021de024a693bed94147120c |
08-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Remove --repeat option, which wasn't that useful. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188008 91177308-0d34-0410-b5e6-96231b3b80d8
it/Test.py
it/TestRunner.py
it/main.py
|
0e5f7c5d2f81cadfd48a8e4c06578e774fab6006 |
08-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Eliminate some nested imports. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188007 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitConfig.py
it/ProgressBar.py
it/Util.py
it/main.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
it/TestingConfig.py
|
6104a4e4cc614f5ddbde0e79c156801e21b8d0df |
08-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Remove unnecessary list copy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187934 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitConfig.py
|
91a62c34d8e40f3f5b51b07b2edb156f7bcbbffc |
08-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Always list individual UNRESOLVED tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187933 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
|
32b7d4dfc1eefd1081c5bf9533c25616aee129bd |
08-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Explicitly convert dict items() result to a list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187932 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
|
05fb743a99ac6a1fc147682a2262a6190f193ab4 |
08-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Make string encoding issues explicit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187931 91177308-0d34-0410-b5e6-96231b3b80d8
it/ProgressBar.py
it/TestFormats.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
it/TestingConfig.py
|
bd9bb2c515173a2d9fa8f8472e06a753618c0c7a |
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Avoid comparisons with None. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187919 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestRunner.py
|
a1ba7527ded837e4c98149f7b1fe848a93177e07 |
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Use list comprehensions instead of map(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187918 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitConfig.py
it/TestRunner.py
it/__init__.py
|
f86151617920a4e3a348e24b999f9ab593fa2e3a |
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Avoid deprecated dict.has_key() method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187917 91177308-0d34-0410-b5e6-96231b3b80d8
it/Util.py
|
28a07c868e3542ddc1d3c7c00888be773e858a1c |
07-Aug-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit/LitConfig.py: Fixup for msys bash. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187896 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitConfig.py
|
67578407995766682d237bf184916a30e763e8d4 |
07-Aug-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
Lit: Fixup in r187886. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187887 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.py
|
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
it/LitConfig.py
it/TestFormats.py
it/TestRunner.py
it/discovery.py
it/main.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
it/TestingConfig.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
it/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
it/LitConfig.py
it/ShUtil.py
it/TestFormats.py
it/TestRunner.py
it/__init__.py
it/main.py
|
304a0b03980996669ce2afc09b2bfe21381c5fdf |
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Avoid __cmp__ and cmp(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187859 91177308-0d34-0410-b5e6-96231b3b80d8
it/ShCommands.py
|
2e10ff28f24a26829ae9a43fc49b91eb974489ef |
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Avoid use of iterator .next() method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187858 91177308-0d34-0410-b5e6-96231b3b80d8
it/ShUtil.py
it/main.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
it/LitConfig.py
it/ProgressBar.py
it/ShCommands.py
it/TestRunner.py
it/discovery.py
it/main.py
|
4f2469c40c9020af2cf39ec0af518b6caba0a588 |
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Use dual-compatible print() syntax where possible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187856 91177308-0d34-0410-b5e6-96231b3b80d8
it/Util.py
it/main.py
|
0b714f768605c9f5d3c8caf2b5708e617b82f86f |
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Remove use of deprecated parameter tuple unpacking. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187855 91177308-0d34-0410-b5e6-96231b3b80d8
it/Util.py
it/main.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
it/TestRunner.py
it/TestingConfig.py
it/Util.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
it/ShCommands.py
it/ShUtil.py
it/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
it/LitConfig.py
it/TestFormats.py
it/TestRunner.py
it/discovery.py
it/main.py
|
6bcb407d9039f04d83917b9ff848d99e66c5e278 |
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] tests: Change discovery test to use --show-tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187851 91177308-0d34-0410-b5e6-96231b3b80d8
ests/discovery.py
|
3915c080ccdd872893412c0a8eaa29f2cec05761 |
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Add a --show-tests option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187850 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
|
cd594283f7b5ab7031a0da25c26f4dd81e491433 |
07-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Remove dead ignoreStdError argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187849 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitConfig.py
it/discovery.py
it/main.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
it/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
it/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
it/ShUtil.py
it/TestRunner.py
it/TestingConfig.py
|
ba460864440b4dd192bd2809f913babe0cf07031 |
19-Jul-2013 |
Nico Rieck <nico.rieck@gmail.com> |
lit: Support cancellation on Windows 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186695 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
|
d5ae2c3a75ccc70290fb19e9424418e9f3b5c17b |
30-May-2013 |
Galina Kistanova <gkistanova@gmail.com> |
Fixed bug when tests in executable partially used absolute paths. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182910 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.py
|
c1a0806ff53bef0abc805a4062cd42b05ef8088b |
28-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Revert r182715 and r182758 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182761 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.py
|
1f41986a959e5258c6f875b6eb454f9fccb48565 |
28-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Fixup for r182715: provide correct arg to --gtest-filter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182758 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.py
|
f0c74bda2e0487265fcaba542727259b82b7a941 |
26-May-2013 |
Galina Kistanova <gkistanova@gmail.com> |
Fixed bug when tests in executable partially used absolute paths. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182715 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.py
|
406ef447074421f91c01c41f0e26fdef937e627c |
12-Apr-2013 |
Daniel Dunbar <daniel@zuster.org> |
lit: Fix infinite recursion when an out-of-tree test root is located inside the source test root. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179402 91177308-0d34-0410-b5e6-96231b3b80d8
it/discovery.py
ests/Inputs/exec-discovery-in-tree/lit.cfg
ests/Inputs/exec-discovery-in-tree/obj/lit.site.cfg
ests/Inputs/exec-discovery-in-tree/test-one.txt
ests/discovery.py
|
f2c2b2009016b44b49f41a35c750f1555f68935b |
12-Apr-2013 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add a test for discovery w/ test_exec_root (out-of-tree test root). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179401 91177308-0d34-0410-b5e6-96231b3b80d8
ests/Inputs/discovery/lit.cfg
ests/Inputs/exec-discovery/lit.site.cfg
ests/discovery.py
|
aa3a85e2fadcf33d18b00c1654108e85ef704361 |
11-Apr-2013 |
Daniel Dunbar <daniel@zuster.org> |
lit: Don't descend into .git directories during test discovery. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179249 91177308-0d34-0410-b5e6-96231b3b80d8
it/discovery.py
|
e94bd36dc715bc05aff35e04528dbc409a87d97c |
11-Apr-2013 |
Daniel Dunbar <daniel@zuster.org> |
lit: Shorten a metavar to make --help look nicer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179248 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.py
|
6be0ae59ec79864f627d8dc8d6c4976116386cba |
11-Apr-2013 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add a test for discovery when exact test names are given. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179247 91177308-0d34-0410-b5e6-96231b3b80d8
ests/discovery.py
|
2b570ce5aa507595772701e0e8fad6be5331509c |
11-Apr-2013 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add a trivial test of the basic progress bar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179243 91177308-0d34-0410-b5e6-96231b3b80d8
ests/Inputs/progress-bar/lit.cfg
ests/Inputs/progress-bar/test-1.txt
ests/Inputs/progress-bar/test-2.txt
ests/Inputs/progress-bar/test-3.txt
ests/Inputs/progress-bar/test-4.txt
ests/progress-bar.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
it/TestRunner.py
|
816281fccfbf0eda079a065ddadc4670b2c5d912 |
13-Mar-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit.TestFormats.GoogleTest: Honor LitConfig.noExecute, or --no-execute were ignored. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176930 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.py
|
83a4cb51ce6803782ccc9c6ecd86b63971b5c00b |
07-Feb-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Add a display function for lit.Test.TestResult. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174667 91177308-0d34-0410-b5e6-96231b3b80d8
it/Test.py
|
ac1b2e5550d395f8a150830d9513ee62d678597b |
31-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Add a test for internal shell execution behaviors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174102 91177308-0d34-0410-b5e6-96231b3b80d8
ests/Inputs/shtest-shell/error-0.txt
ests/Inputs/shtest-shell/error-1.txt
ests/Inputs/shtest-shell/error-2.txt
ests/Inputs/shtest-shell/lit.cfg
ests/Inputs/shtest-shell/redirects.txt
ests/Inputs/shtest-shell/sequencing-0.txt
ests/Inputs/shtest-shell/sequencing-1.txt
ests/Inputs/shtest-shell/write-to-stderr.sh
ests/Inputs/shtest-shell/write-to-stdout-and-stderr.sh
ests/shtest-shell.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
it/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
it/TestRunner.py
|
63a08e09ae301241d0bdd0618bb0533a1d303cf5 |
31-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Fix a shell parsing bug with ';' not separated by whitespace. - Testing finds bugs, who knew. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174087 91177308-0d34-0410-b5e6-96231b3b80d8
it/ShUtil.py
|
86aa95fc2898e288dc356c433006dfe0c6d7bbec |
31-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Add a test for the various ShTest format features. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174072 91177308-0d34-0410-b5e6-96231b3b80d8
ests/Inputs/shtest-format/external_shell/fail.txt
ests/Inputs/shtest-format/external_shell/lit.local.cfg
ests/Inputs/shtest-format/external_shell/pass.txt
ests/Inputs/shtest-format/fail.txt
ests/Inputs/shtest-format/lit.cfg
ests/Inputs/shtest-format/no-test-line.txt
ests/Inputs/shtest-format/pass.txt
ests/Inputs/shtest-format/requires-missing.txt
ests/Inputs/shtest-format/requires-present.txt
ests/Inputs/shtest-format/unsupported_dir/lit.local.cfg
ests/Inputs/shtest-format/unsupported_dir/some-test.txt
ests/Inputs/shtest-format/xfail-feature.txt
ests/Inputs/shtest-format/xfail-target.txt
ests/Inputs/shtest-format/xfail.txt
ests/Inputs/shtest-format/xpass.txt
ests/shtest-format.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
it/TestRunner.py
|
d5f7dbba2e1a34b4a33434b91caf1fb7c1fab452 |
31-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Delete the now-unused SyntaxCheckTest format. - Also, kill the pointless LitFormats module. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174070 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitConfig.py
it/LitFormats.py
it/TestFormats.py
|
47896090f30fe9f37a776b46e285b1d6d8b1ad9b |
31-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Move unittest adaptor code into discovery module. - Also, add a test for it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174019 91177308-0d34-0410-b5e6-96231b3b80d8
it/discovery.py
it/main.py
ests/Inputs/unittest-adaptor/lit.cfg
ests/Inputs/unittest-adaptor/test-one.txt
ests/Inputs/unittest-adaptor/test-two.txt
ests/unittest-adaptor.py
|
c9fd0a57f7ab21e8d48474f862faf896cd196941 |
31-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Run the ShUtil tests as part of the test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174018 91177308-0d34-0410-b5e6-96231b3b80d8
ests/lit.cfg
ests/shell-parsing.py
|
84d3c61c0394b6663cbbe5683b489dc9d698e63f |
31-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Set parallel mode for coverage tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174017 91177308-0d34-0410-b5e6-96231b3b80d8
ests/.coveragerc
|
3d4a973ee4a2a134dd3df34a64a0a16256a5306c |
31-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Move discovery code into its own module. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174014 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitConfig.py
it/discovery.py
it/main.py
|
3f8195ea4fda87a8b50f93197a79a0655aba2b92 |
31-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Add a MANIFEST file and a script for sanity checking the source dist. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174002 91177308-0d34-0410-b5e6-96231b3b80d8
ANIFEST.in
tils/check-sdist
|
ada2de95ac8268fb142b669d3fd1be7563dffd0f |
31-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Add a basic discovery test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174001 91177308-0d34-0410-b5e6-96231b3b80d8
ests/Inputs/discovery/lit.cfg
ests/Inputs/discovery/subdir/lit.local.cfg
ests/Inputs/discovery/subdir/test-three.py
ests/Inputs/discovery/subsuite/lit.cfg
ests/Inputs/discovery/subsuite/test-one.txt
ests/Inputs/discovery/subsuite/test-two.txt
ests/Inputs/discovery/test-one.txt
ests/Inputs/discovery/test-two.txt
ests/discovery.py
|
412d805841da9ac25decbdf2aeda8e6d36109e89 |
31-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Add a script for checking test coverage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174000 91177308-0d34-0410-b5e6-96231b3b80d8
ests/.coveragerc
tils/README.txt
tils/check-coverage
|
356dcac20e18f5125eb4f85e5dc1d1408f930099 |
31-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Add a test suite for lit itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173999 91177308-0d34-0410-b5e6-96231b3b80d8
ests/lit.cfg
ests/usage.py
|
f68cd7543de05dc39e7de6f62ea9380973f38dbe |
30-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[lit] Make GoogleTest test runner correctly discover tests in the source root git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173907 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.py
|
1d13b1b029c741ee348564cee74e78575b210d5c |
30-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Add some TODO notes to myself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173857 91177308-0d34-0410-b5e6-96231b3b80d8
ODO
|
52d4de971fe523fe43d6f868331a14ed1743f35a |
25-Jan-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit/ShUtil.py: Deprecate '!' in shell expression. It is not sh-compatible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173421 91177308-0d34-0410-b5e6-96231b3b80d8
it/ShUtil.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
it/ExampleTests/Clang/lit.cfg
it/ExampleTests/LLVM.InTree/test/Bar/data.txt
it/ExampleTests/LLVM.InTree/test/Bar/dg.exp
it/ExampleTests/LLVM.InTree/test/Bar/pct-S.ll
it/ExampleTests/LLVM.InTree/test/lit.cfg
it/ExampleTests/LLVM.InTree/test/lit.site.cfg
it/ExampleTests/LLVM.InTree/test/site.exp
it/ExampleTests/LLVM.OutOfTree/obj/test/lit.site.cfg
it/ExampleTests/LLVM.OutOfTree/obj/test/site.exp
it/ExampleTests/LLVM.OutOfTree/src/test/Foo/dg.exp
it/ExampleTests/LLVM.OutOfTree/src/test/lit.cfg
it/ExampleTests/TclTest/lit.local.cfg
it/ExampleTests/TclTest/stderr-pipe.ll
it/ExampleTests/TclTest/tcl-redir-1.ll
it/ExampleTests/lit.cfg
it/LitConfig.py
it/LitFormats.py
it/TclUtil.py
it/TestFormats.py
it/TestRunner.py
it/main.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
it/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
it/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
it/TestRunner.py
|
d7956f1feb27db8f908cab7e029e9f2e3359458e |
30-Nov-2012 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add a simple test suite for checking test runner parallelism. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169038 91177308-0d34-0410-b5e6-96231b3b80d8
it/ExampleTests/ManyTests/lit.local.cfg
|
0d5dbcb5dcffc57e60b55418ef29c7b1929529ff |
28-Nov-2012 |
Daniel Dunbar <daniel@zuster.org> |
lit: Bump the version to .3. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168750 91177308-0d34-0410-b5e6-96231b3b80d8
it/__init__.py
|
06b423452c85f5a78a1b0555b767cf27b36c0752 |
14-Nov-2012 |
Eric Christopher <echristo@gmail.com> |
Remove the CellSPU port. Approved by Chris Lattner. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167984 91177308-0d34-0410-b5e6-96231b3b80d8
it/ExampleTests/LLVM.InTree/test/site.exp
it/ExampleTests/LLVM.OutOfTree/obj/test/site.exp
|
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
it/TestRunner.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
it/TestingConfig.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
it/ExampleTests/LLVM.InTree/test/Bar/bar-test.ll
it/ExampleTests/LLVM.InTree/test/lit.cfg
it/ExampleTests/LLVM.OutOfTree/src/test/lit.cfg
it/TestRunner.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
it/ExampleTests/lit.cfg
it/ExampleTests/vg-fail.c
it/LitConfig.py
it/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
it/TestingConfig.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
it/ExampleTests/xfail-feature.c
it/TestRunner.py
|
46b4b112d23cdec5d27e2ebf70fc492be3786316 |
08-Sep-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit: Util.which(): Use os.path.isfile() instead of os.path.exists(), or it hits to the directory. For example, which('loop-convert') returns 'loop-convert' when the directory 'loop-convert' exists. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163469 91177308-0d34-0410-b5e6-96231b3b80d8
it/Util.py
|
c797f2e9c7121c7a8c859ad2a8ede8f8639e4ff5 |
17-Aug-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit: Show actually created count of threads. The incorrect threads count is printed if the number of tests are less than the number of default threads. Thanks to Vinson Lee, reported in PR13620. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162078 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.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
it/TestRunner.py
|
1f7ebddd5f6f6787023a0b7b2cd3dd4e80e10447 |
02-Jul-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Revert r159528 which taught lit's builtin shell test runner about the '|&' bash syntax. We have lots of users with a bash on their system which doesn't support this syntax, and as bash is still significantly faster, we should support them. The test suite has already been updated to cope with this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159580 91177308-0d34-0410-b5e6-96231b3b80d8
it/ShUtil.py
|
cab8e1ed55772df9faece067795f2e1e78e565b0 |
02-Jul-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Teach the built-in shell test runner in lit to handle '|&'-style pipes. This is directly cloned from the logic in the TCL test bits of lit. Hopefully will fix most of the windows build bot fallout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159528 91177308-0d34-0410-b5e6-96231b3b80d8
it/ShUtil.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
it/TestRunner.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
it/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
it/TestingConfig.py
|
a443e5b1f1013612950fc3c9ebfafca60a1c20df |
23-Mar-2012 |
Eric Christopher <echristo@apple.com> |
Remove the C backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153307 91177308-0d34-0410-b5e6-96231b3b80d8
it/ExampleTests/LLVM.InTree/test/site.exp
it/ExampleTests/LLVM.OutOfTree/obj/test/site.exp
|
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
it/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
it/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
it/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
it/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
it/TestRunner.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
it/TestingConfig.py
|
61318736ee089055a6a029da2eaf6dfcb54cf7a4 |
03-Mar-2012 |
Duncan Sands <baldrick@free.fr> |
Honour --config-prefix also for lit.local.cfg. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151977 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.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
it/LitConfig.py
it/TestingConfig.py
|
7434c9a053789c04d73bb58df41ad6fdf6a84e6a |
18-Jan-2012 |
Daniel Dunbar <daniel@zuster.org> |
[lit] Add a --filter option which is useful when dealing with virtual test paths. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148362 91177308-0d34-0410-b5e6-96231b3b80d8
it/main.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
it/TestingConfig.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
it/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
it/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
it/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
it/TestRunner.py
|
33ba8b0e96acde0d8ab1ffc565a5ef4c8b6b6ac2 |
28-Oct-2011 |
Dan Gohman <gohman@apple.com> |
Remove the Alpha backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143164 91177308-0d34-0410-b5e6-96231b3b80d8
it/ExampleTests/LLVM.InTree/test/site.exp
it/ExampleTests/LLVM.OutOfTree/obj/test/site.exp
|
241f997d3ab9c7b58c74f2558cf971735eb77cf1 |
27-Oct-2011 |
Daniel Dunbar <daniel@zuster.org> |
lit: Drop some unneeded code from example tests. - Also, cleanup site.exp files in example tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143141 91177308-0d34-0410-b5e6-96231b3b80d8
it/ExampleTests/LLVM.InTree/test/lit.cfg
it/ExampleTests/LLVM.InTree/test/site.exp
it/ExampleTests/LLVM.OutOfTree/obj/test/site.exp
it/ExampleTests/LLVM.OutOfTree/src/test/lit.cfg
|
3e6157de576e349d33a9b08d103405b3a8fb9159 |
25-Oct-2011 |
Dan Gohman <gohman@apple.com> |
Remove the Blackfin backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142880 91177308-0d34-0410-b5e6-96231b3b80d8
it/ExampleTests/LLVM.InTree/test/site.exp
it/ExampleTests/LLVM.OutOfTree/obj/test/site.exp
|
29074ccf6cb00a3cbe32a3b7809d970ecaf8c9bf |
25-Oct-2011 |
Dan Gohman <gohman@apple.com> |
Remove the SystemZ backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142878 91177308-0d34-0410-b5e6-96231b3b80d8
it/ExampleTests/LLVM.InTree/test/site.exp
it/ExampleTests/LLVM.OutOfTree/obj/test/site.exp
|
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
it/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
it/LitConfig.py
it/TestFormats.py
it/TestRunner.py
it/main.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
it/TestRunner.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
it/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
it/TestingConfig.py
|
6bb5fe3a0d7cf92cd5e77382f1c737a919ab7669 |
09-Jul-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit/LitConfig.py: Demote Win32 message "Unable to find 'bash.exe'" from Warning to Note. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134809 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitConfig.py
|
2f494b6afc921369c4878ec54646b077e4a3e81e |
02-Jul-2011 |
Jordy Rose <jediknil@belkadan.com> |
Use subprocess.Popen instead of popen2 to stop a deprecation warning when running lit on OS X git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134324 91177308-0d34-0410-b5e6-96231b3b80d8
it/Util.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
it/TestRunner.py
it/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
it/TestRunner.py
it/TestingConfig.py
|
7a2bdde0a0eebcd2125055e0eacaca040f0b766c |
15-Apr-2011 |
Chris Lattner <sabre@nondot.org> |
Fix a ton of comment typos found by codespell. Patch by Luis Felipe Strano Moraes! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129558 91177308-0d34-0410-b5e6-96231b3b80d8
etup.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
it/TestingConfig.py
|
8ea2649fda07b945520f686c6ac0e35a15706ad1 |
15-Mar-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit/ProgressBar.py: [PR7919] Improve line wrap for XN-incapable terminals. On Win32 console, emitting char to col#79 causes linefeed, and the cursor will not return to col#79 upper line with backspace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127696 91177308-0d34-0410-b5e6-96231b3b80d8
it/ProgressBar.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
it/TestRunner.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
it/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
it/TestingConfig.py
|
7805cdcab55fe796919c870c1b64c66aa2faa04c |
10-Feb-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit/TestFormats.py: Unittests may be found with suffix .exe also on Cygwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125273 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.py
|
f5201bcd3b57e6b96ae3293b3a9c31ab49dd967c |
10-Feb-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit/Util.py: On Cygwin, 'PATHEXT' may exist but it should not be used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125272 91177308-0d34-0410-b5e6-96231b3b80d8
it/Util.py
|
302b16932332fc3eb46a3a65f33597ab1519988a |
09-Feb-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit/LitConfig.py: Add the new method getToolsPath(dir,paths,tools). It seeks tools(eg. [cmp, grep, sed]) in same directory, to be sane. It seeks "bash" only in the directory found at last time. Or bash would be insane (against other tools). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125175 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitConfig.py
|
df944f1f83420b44e3a41d379c361b797c827b42 |
09-Feb-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit/Util.py: Add two functions, checkToolsPath(dir,tools) and whichTools(tools,paths). checkToolsPath(dir,tools): return True if "dir" contains all "tools". whichTools(tools,paths): return a directory that contains all "tools" in "paths". Or return None when all "tools" were not met. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125174 91177308-0d34-0410-b5e6-96231b3b80d8
it/Util.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
it/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
it/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
it/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
it/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
it/TestRunner.py
|
280423558dc9004ed686f474b0508ac7a298108a |
07-Dec-2010 |
NAKAMURA Takumi <geek4civic@gmail.com> |
utils/lit/lit/TestFormats.py: [PR8438] unittests: Seek *Tests (not BUILD_MODE/*Tests) under whole unittests/ if BUILD_MODE == '.' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121118 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.py
|
fb4d9816e79af3562e277631878b1a632bbcd8e1 |
19-Nov-2010 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lit.GoogleTest: On case-insensitive filesystem, matching should be case-insensitive when directory name is checked with test_sub_dir. On MSVS8, ${CMAKE_CFG_INTDIR}, aka $(OutDir), has capitalized name(eg. Debug), although $(OutDir) is made with lower case(eg. debug). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119781 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.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
it/TestRunner.py
|
18fac3c0d22dbdc9b7939042e2e20f443f700761 |
24-Sep-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Test unittests built with CMake. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114726 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.py
|
c8417d7165e156739cd768713db0113383ede07e |
24-Sep-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Fix whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114724 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.py
|
3f42dba88f007b40fd0d23dc0878c0d3b044af25 |
18-Sep-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Bump version to 0.2.0dev, for no apparent reason. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114262 91177308-0d34-0410-b5e6-96231b3b80d8
it/__init__.py
|
bd26ba0b538028e56aa10b3b037aaa8789c951f8 |
18-Sep-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Tweak setup.py. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114261 91177308-0d34-0410-b5e6-96231b3b80d8
etup.py
|
3f32b444ed2aefd3f44550e821d30eeda24a3683 |
18-Sep-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: These TODOs are done(ish). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114260 91177308-0d34-0410-b5e6-96231b3b80d8
ODO
|
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
it/TestingConfig.py
|
c2be84fd490d2e0a8de1731adf9c996ba15bba5c |
15-Sep-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Expose FileBasedTest object and Test module via 'lit' object that gets exposed to config files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113923 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitConfig.py
it/LitFormats.py
|
ff2dcd3ce94d2a982950e6c61a0eb1ae39c885e0 |
15-Sep-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Rename main lit module to main.py, lit/lit/lit.py was a bit too, err, alliterate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113922 91177308-0d34-0410-b5e6-96231b3b80d8
it/__init__.py
it/lit.py
it/main.py
|
1ca8559de5cdcb2b68673d8bf815b7ef2fd93643 |
19-Aug-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit/GoogleTest: Add .exe to the suffix when looking for tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111487 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.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
it/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
it/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
it/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
it/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
it/TestRunner.py
|
6647033565456120ba24d83450bada5bb3096187 |
02-Aug-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Allow clients to define predefined parameters. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109999 91177308-0d34-0410-b5e6-96231b3b80d8
it/lit.py
|
2d4590d6fbb21911e7bff8a4f1bdddd76edbebe0 |
22-Jul-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add some example tests for previous commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109071 91177308-0d34-0410-b5e6-96231b3b80d8
it/ExampleTests/required-and-missing.c
it/ExampleTests/required-and-present.c
|
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
it/ExampleTests/lit.cfg
it/TestRunner.py
it/TestingConfig.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
it/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
it/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
it/TestRunner.py
|
b0ac8677fdcfacea2ff62251ea6515fe6665e37e |
20-May-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add another place to look for bash. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104189 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitConfig.py
|
bd4fa2efd373c46dc14b87744b908f16f539c836 |
12-May-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Fix a sh lexing bug which caused annotate-token.m to fail when run with the internal shell parser; we weren't lexing the quotes in a command like:: clang -DFOO='hello' correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103652 91177308-0d34-0410-b5e6-96231b3b80d8
it/ShUtil.py
|
473a09d80a8d3ecb37ac0d01289c79f7cc4fc645 |
12-May-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Fix OneCommandPerFileTest format when tests are specified directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103626 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.py
|
b14c699fe0e4eb09bd0f6646c1dcb21afc7a7851 |
12-May-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add support for 'lit ... @foo', which reads a list of tests to run from foo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103625 91177308-0d34-0410-b5e6-96231b3b80d8
it/lit.py
|
e4eae84f76940e429711ca8908b8d22ac83440cc |
05-May-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Allow test_format to be None. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103091 91177308-0d34-0410-b5e6-96231b3b80d8
it/lit.py
|
2381379d1d2a3a4ac447e82906bc989369865ad4 |
09-Apr-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add support to OneCommandPerFileTest format to take input directory from input path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100846 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.py
|
e3a601b648e4cbb916e33f969a1b9d3d40b36734 |
08-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
add newlines at end of files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100706 91177308-0d34-0410-b5e6-96231b3b80d8
it/ExampleTests/LLVM.OutOfTree/src/test/Foo/pct-S.ll
|
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
it/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
it/TestRunner.py
|
f104f5b17acdc613f76f733cd1c7ea1e4370ab07 |
25-Mar-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add LitTestCase and lit.load_test_suite, for adapting lit based suites for use with Python's unittest. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99498 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitTestCase.py
it/TestFormats.py
it/lit.py
|
982873cdfb3faa9fc06a5b9ce6296bfddc0b05c3 |
21-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
When we don't pass --vg-leak to lit, pass --leak-check=no to valgrind. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99112 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitConfig.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
it/LitConfig.py
it/TestFormats.py
it/TestRunner.py
it/lit.py
|
bcb4d817551d584965f252b7cb0df34bd19cc972 |
19-Mar-2010 |
Ben Holt <bjh@apple.com> |
Test commit (removed extra blank line) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98988 91177308-0d34-0410-b5e6-96231b3b80d8
it/LitFormats.py
|
2f36fe438062801ca69785ffc8e476aa1bfa49e6 |
19-Mar-2010 |
Torok Edwin <edwintorok@gmail.com> |
Set numThreads to 1 by default when Python is older than 2.5.2. Python 2.4 always hits this bug: http://bugs.python.org/issue1731717 when running check-lit on multi-core systems. Setting numThreads to 1 makes it slower, but at least the results reported are correct. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98969 91177308-0d34-0410-b5e6-96231b3b80d8
it/lit.py
|
1814cf0f10af526f68620c71f8f1916bf20a80ba |
18-Mar-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Tweak example tests config. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98859 91177308-0d34-0410-b5e6-96231b3b80d8
it/ExampleTests/Clang/lit.cfg
|
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
it/TestFormats.py
it/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
it/TestRunner.py
|
355471741b00fbdb0085c6a24b1fdce0c78e84f3 |
13-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Make lit pay attention to --vg for unittests too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98449 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.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
it/TestRunner.py
it/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
it/TestingConfig.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
it/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
it/TestRunner.py
it/TestingConfig.py
|
3d4d01bd39653ca869c4fca211fa861bfcf33dcc |
23-Feb-2010 |
Daniel Dunbar <daniel@zuster.org> |
Eliminate llvmgcc_version testing variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96908 91177308-0d34-0410-b5e6-96231b3b80d8
it/ExampleTests/LLVM.InTree/test/site.exp
it/ExampleTests/LLVM.OutOfTree/obj/test/site.exp
|
a2b40a95b264a8a00d849928cc510556bbf778a3 |
23-Feb-2010 |
Daniel Dunbar <daniel@zuster.org> |
Kill unused llvmgccmajvers testing variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96906 91177308-0d34-0410-b5e6-96231b3b80d8
it/ExampleTests/LLVM.InTree/test/site.exp
it/ExampleTests/LLVM.OutOfTree/obj/test/site.exp
|
cacaa5bff2d1d57d9e547aa084f67a7bcee44003 |
10-Feb-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Ignore dot files when scanning for tests (e.g., editor temprary files, etc.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95803 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.py
|
3f451cafb5ba3a022c8e05cf2d054835f807dd11 |
10-Feb-2010 |
Daniel Dunbar <daniel@zuster.org> |
Remove stray DOS newline. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95765 91177308-0d34-0410-b5e6-96231b3b80d8
it/ShUtil.py
|
8d280fb50a1c35a4b598bf722038b7f0d71e90d0 |
05-Feb-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Make lit's gtest support honor config.environment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95398 91177308-0d34-0410-b5e6-96231b3b80d8
it/TestFormats.py
it/Util.py
|
eab04fc0be276db84e322dd07d371fae0161f241 |
22-Jan-2010 |
Daniel Dunbar <daniel@zuster.org> |
lit: Separate test suite from test name with spaces, to make it easier to cut and paste. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94134 91177308-0d34-0410-b5e6-96231b3b80d8
it/Test.py
|
9ac75ca0bf90922b256bc9d5d2dc84c0e0d9a572 |
26-Dec-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add setuptools support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92169 91177308-0d34-0410-b5e6-96231b3b80d8
etup.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
xampleTests.ObjDir/lit.site.cfg
xampleTests/Clang/fsyntax-only.c
xampleTests/Clang/lit.cfg
xampleTests/LLVM.InTree/test/Bar/bar-test.ll
xampleTests/LLVM.InTree/test/Bar/dg.exp
xampleTests/LLVM.InTree/test/lit.cfg
xampleTests/LLVM.InTree/test/lit.site.cfg
xampleTests/LLVM.InTree/test/site.exp
xampleTests/LLVM.OutOfTree/lit.local.cfg
xampleTests/LLVM.OutOfTree/obj/test/Foo/lit.local.cfg
xampleTests/LLVM.OutOfTree/obj/test/lit.site.cfg
xampleTests/LLVM.OutOfTree/obj/test/site.exp
xampleTests/LLVM.OutOfTree/src/test/Foo/data.txt
xampleTests/LLVM.OutOfTree/src/test/Foo/dg.exp
xampleTests/LLVM.OutOfTree/src/test/Foo/pct-S.ll
xampleTests/LLVM.OutOfTree/src/test/lit.cfg
xampleTests/ShExternal/lit.local.cfg
xampleTests/ShInternal/lit.local.cfg
xampleTests/TclTest/lit.local.cfg
xampleTests/TclTest/stderr-pipe.ll
xampleTests/TclTest/tcl-redir-1.ll
xampleTests/fail.c
xampleTests/lit.cfg
xampleTests/pass.c
xampleTests/xfail.c
xampleTests/xpass.c
itConfig.py
itFormats.py
rogressBar.py
hCommands.py
hUtil.py
clUtil.py
est.py
estFormats.py
estRunner.py
estingConfig.py
til.py
it.py
it/ExampleTests.ObjDir/lit.site.cfg
it/ExampleTests/Clang/fsyntax-only.c
it/ExampleTests/Clang/lit.cfg
it/ExampleTests/LLVM.InTree/test/Bar/bar-test.ll
it/ExampleTests/LLVM.InTree/test/Bar/dg.exp
it/ExampleTests/LLVM.InTree/test/lit.cfg
it/ExampleTests/LLVM.InTree/test/lit.site.cfg
it/ExampleTests/LLVM.InTree/test/site.exp
it/ExampleTests/LLVM.OutOfTree/lit.local.cfg
it/ExampleTests/LLVM.OutOfTree/obj/test/Foo/lit.local.cfg
it/ExampleTests/LLVM.OutOfTree/obj/test/lit.site.cfg
it/ExampleTests/LLVM.OutOfTree/obj/test/site.exp
it/ExampleTests/LLVM.OutOfTree/src/test/Foo/data.txt
it/ExampleTests/LLVM.OutOfTree/src/test/Foo/dg.exp
it/ExampleTests/LLVM.OutOfTree/src/test/Foo/pct-S.ll
it/ExampleTests/LLVM.OutOfTree/src/test/lit.cfg
it/ExampleTests/ShExternal/lit.local.cfg
it/ExampleTests/ShInternal/lit.local.cfg
it/ExampleTests/TclTest/lit.local.cfg
it/ExampleTests/TclTest/stderr-pipe.ll
it/ExampleTests/TclTest/tcl-redir-1.ll
it/ExampleTests/fail.c
it/ExampleTests/lit.cfg
it/ExampleTests/pass.c
it/ExampleTests/xfail.c
it/ExampleTests/xpass.c
it/LitConfig.py
it/LitFormats.py
it/ProgressBar.py
it/ShCommands.py
it/ShUtil.py
it/TclUtil.py
it/Test.py
it/TestFormats.py
it/TestRunner.py
it/TestingConfig.py
it/Util.py
it/__init__.py
it/lit.py
|
99ea6898e18ec1496907a90efedf5b21a2040ea0 |
15-Dec-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Improve error when gtest discovery fails. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91458 91177308-0d34-0410-b5e6-96231b3b80d8
estFormats.py
|
32c9800a161952b95e3cb7257760d9c24e9d5cbe |
08-Dec-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Prevent crash-on-invalid (when run on directory which has no test suite). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90871 91177308-0d34-0410-b5e6-96231b3b80d8
it.py
|
a7193e40e2fa00a1fbb296416d711cc4e3f2a3c0 |
18-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Fix exclude dirs functionality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89210 91177308-0d34-0410-b5e6-96231b3b80d8
estFormats.py
|
d1ba06bf131a9d217426529d2e28af1f2eeed47a |
16-Nov-2009 |
Jeffrey Yasskin <jyasskin@google.com> |
Make X86-64 in the Large model always emit 64-bit calls. The large code model is documented at http://www.x86-64.org/documentation/abi.pdf and says that calls should assume their target doesn't live within the 32-bit pc-relative offset that fits in the call instruction. To do this, we turn off the global-address->target-global-address conversion in X86TargetLowering::LowerCall(). The first attempt at this broke the lazy JIT because it can separate the movabs(imm->reg) from the actual call instruction. The lazy JIT receives the address of the movabs as a relocation and needs to record the return address from the call; and then when that call happens, it needs to patch the movabs with the newly-compiled target. We could thread the call instruction into the relocation and record the movabs<->call mapping explicitly, but that seems to require at least as much new complication in the code generator as this change. To fix this, we make lazy functions _always_ go through a call stub. You'd think we'd only have to force lazy calls through a stub on difficult platforms, but that turns out to break indirect calls through a function pointer. The right fix for that is to distinguish between calls and address-of operations on uncompiled functions, but that's complex enough to leave for someone else to do. Another attempt at this defined a new CALL64i pseudo-instruction, which expanded to a 2-instruction sequence in the assembly output and was special-cased in the X86CodeEmitter's emitInstruction() function. That broke indirect calls in the same way as above. This patch also removes a hack forcing Darwin to the small code model. Without far-call-stubs, the small code model requires things of the JITMemoryManager that the DefaultJITMemoryManager can't provide. Thanks to echristo for lots of testing! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88984 91177308-0d34-0410-b5e6-96231b3b80d8
estFormats.py
|
2cb097d5cddfc9ac7d9f4973f9f8a3d2c9feea72 |
15-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Factor a new OneCommandPerFileTest out of SyntaxCheckTest. - Used for running a single fixed command on a directory of files, with the option of deriving a temporary input file from the test source. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88844 91177308-0d34-0410-b5e6-96231b3b80d8
itFormats.py
estFormats.py
|
048bac35df3896d0258312e861e7e876e0cdaff9 |
15-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Remove duplicate implementation of excludes functionality, and support excluding dirnames. Also, add support for the 'unsupported' config property. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88838 91177308-0d34-0410-b5e6-96231b3b80d8
estFormats.py
|
40c67b5832877935a555fc63bfaa735332c79700 |
15-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add --repeat=N option, for running each test N times. - Currently just useful for timing, although it could be extended as one (bad) way to deal with flaky tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88827 91177308-0d34-0410-b5e6-96231b3b80d8
est.py
estRunner.py
it.py
|
6c1c9cfc656cb2bb9e5902a0c184ae9b6141f977 |
10-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add ExampleTests, for testing lit and demonstrating test suite features. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86654 91177308-0d34-0410-b5e6-96231b3b80d8
xampleTests.ObjDir/lit.site.cfg
xampleTests/Clang/fsyntax-only.c
xampleTests/Clang/lit.cfg
xampleTests/LLVM.InTree/test/Bar/bar-test.ll
xampleTests/LLVM.InTree/test/Bar/dg.exp
xampleTests/LLVM.InTree/test/lit.cfg
xampleTests/LLVM.InTree/test/lit.site.cfg
xampleTests/LLVM.InTree/test/site.exp
xampleTests/LLVM.OutOfTree/lit.local.cfg
xampleTests/LLVM.OutOfTree/obj/test/Foo/lit.local.cfg
xampleTests/LLVM.OutOfTree/obj/test/lit.site.cfg
xampleTests/LLVM.OutOfTree/obj/test/site.exp
xampleTests/LLVM.OutOfTree/src/test/Foo/data.txt
xampleTests/LLVM.OutOfTree/src/test/Foo/dg.exp
xampleTests/LLVM.OutOfTree/src/test/Foo/pct-S.ll
xampleTests/LLVM.OutOfTree/src/test/lit.cfg
xampleTests/ShExternal/lit.local.cfg
xampleTests/ShInternal/lit.local.cfg
xampleTests/TclTest/lit.local.cfg
xampleTests/TclTest/stderr-pipe.ll
xampleTests/TclTest/tcl-redir-1.ll
xampleTests/fail.c
xampleTests/lit.cfg
xampleTests/pass.c
xampleTests/xfail.c
xampleTests/xpass.c
|
972cc05c2351ad221725607df3dc285c71858529 |
10-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Fix bug in --show-suites which accidentally override the list of tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86653 91177308-0d34-0410-b5e6-96231b3b80d8
it.py
|
bf477df346b12ae5f6e7af165862575c15905e20 |
08-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Hardcode whence seek value, os.SEEK_END isn't always available. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86449 91177308-0d34-0410-b5e6-96231b3b80d8
estRunner.py
|
1bf013904ff4281985b7d51d8f628c90127f7d8f |
08-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Warn when a test suite contains no tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86448 91177308-0d34-0410-b5e6-96231b3b80d8
it.py
|
ee504b8cd78f5d54e4ae6ed2cfff88a9e8226771 |
08-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Drop require_and_and support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86447 91177308-0d34-0410-b5e6-96231b3b80d8
estFormats.py
estRunner.py
|
474f0df3ac86691fc2aaa201cacc7b5d0005d236 |
08-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Workaround a Win32/subprocess bug when appending. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86437 91177308-0d34-0410-b5e6-96231b3b80d8
estRunner.py
|
2d01b26ce74f494726ef622c853e754913dbdd31 |
08-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Preserve the PATHEXT variable when running subcommands, this is important on Win32 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86436 91177308-0d34-0410-b5e6-96231b3b80d8
estingConfig.py
|
489b83302cb2476277a841aee546da1aa4054b28 |
05-Nov-2009 |
Douglas Gregor <dgregor@apple.com> |
Teach lit's SyntaxCheckTest two new tricks: - skip .svn directories - add a set of excluded filenames so we can easily skip tests git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86185 91177308-0d34-0410-b5e6-96231b3b80d8
estFormats.py
|
f626167e69d08f500805d209ff80720240adde3f |
05-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add --param NAME=VALUE option, for test suite specific use (to communicate arbitrary command line arguments to the test suite). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86137 91177308-0d34-0410-b5e6-96231b3b80d8
itConfig.py
it.py
|
42543b7b736c9304b4877148943ff8a5fee3c22b |
03-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Update Clang's test style to use XFAIL: and XTARGET: lines that match LLVM's tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85882 91177308-0d34-0410-b5e6-96231b3b80d8
estRunner.py
|
edb8997821d6d7ae3cb8fc03e9b50190e990154a |
25-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add --config-prefix option, to override default config file names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85035 91177308-0d34-0410-b5e6-96231b3b80d8
it.py
|
6efba21342b15d7dc3185462868a606234e064f1 |
25-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Allow use of /dev/null in redirects on Windows (replace by a temporary file). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85028 91177308-0d34-0410-b5e6-96231b3b80d8
estRunner.py
|
a7f1d72d09f174da56217c0776dcab74998e50b9 |
25-Oct-2009 |
Dan Gohman <gohman@apple.com> |
Delete a spurious semicolon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85018 91177308-0d34-0410-b5e6-96231b3b80d8
til.py
|
a3f85d206a4b9f717d4dd9b53cdc280e9105c70f |
24-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Support '>>' redirections when executing scripts internally. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85014 91177308-0d34-0410-b5e6-96231b3b80d8
estRunner.py
|
7723d45153c5610349486121e2b50b5ba60b2f5c |
19-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: When running Tcl scripts via shell, try harder to find 'bash', but fall back to running them internally if that fails. PR5240. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84462 91177308-0d34-0410-b5e6-96231b3b80d8
itConfig.py
estRunner.py
|
6bccb4c2373532b972ecf84e8428f800e5e9995f |
18-Oct-2009 |
Jeffrey Yasskin <jyasskin@google.com> |
Support GoogleTest's "typed tests" (http://code.google.com/p/googletest/wiki/GoogleTestAdvancedGuide#Typed_Tests) in lit.py. These tests have names like "ValueMapTest/0.Iteration", which broke when lit.py os.path.join()ed them onto the path and then assumed it could os.path.split() them back off. This patch shifts path components from the testPath to the testName until the testPath exists. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84387 91177308-0d34-0410-b5e6-96231b3b80d8
estFormats.py
|
705428ae4a7fa6d97a95f7811fa2e36630a43c9c |
28-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Don't traverse into .svn directories. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82978 91177308-0d34-0410-b5e6-96231b3b80d8
it.py
|
5a461dd513dddaec6fd30196cb8f8680659a6e0d |
22-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: When executing shell scripts internally, don't allow piped stderr on any commands except the last one, instead redirect the stderr to a temporary file. This sidesteps a potential deadlocking issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82538 91177308-0d34-0410-b5e6-96231b3b80d8
estRunner.py
|
df3388492bc2bfc73b3e0195693e2f67f10dcf52 |
22-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add a magic LLVM_DISABLE_CRT_DEBUG environment variable which we check in RegisterHandler and use to disable the Win32 crash dialogs. These are a major blocker to any kind of automated testing. Also, tweak the 'lit' test runner to set this variable unconditionally. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82537 91177308-0d34-0410-b5e6-96231b3b80d8
estingConfig.py
|
4b78aa3f56e6dae484f1282cef4ff5237f10f9d8 |
22-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Actually use the arguments with the resolved executable path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82527 91177308-0d34-0410-b5e6-96231b3b80d8
estRunner.py
|
58c661ced16cd07c796bc867b1db0997c15db69f |
22-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Don't use close_fds=True on Windows. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82521 91177308-0d34-0410-b5e6-96231b3b80d8
estRunner.py
|
6bd2b2e9a27df118951d2fdc88df249d56a4d8fe |
22-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: When executing commands internally, perform PATH resolution ourselves. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82520 91177308-0d34-0410-b5e6-96231b3b80d8
estRunner.py
|
7c748661ce1e8898479106bc808cce9b55110f5c |
16-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Add a custom test format for use in clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81987 91177308-0d34-0410-b5e6-96231b3b80d8
itFormats.py
estFormats.py
|
b2485c9e41c60dcdf5112a2605a696c4287f0914 |
15-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: When finding nested test suites, check first in the execpath in case there is a site configuration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81902 91177308-0d34-0410-b5e6-96231b3b80d8
it.py
|
00a42449ecd9aa243d844ffd1e473fd88fe1a2b1 |
14-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit: Give test formats control over test discovery. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81751 91177308-0d34-0410-b5e6-96231b3b80d8
itFormats.py
hTest.py
clTest.py
estFormats.py
it.py
|
5110609ceb901f20e1d8b38530e09f9e9017386c |
13-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
tests: Add a %abs_tmp substitution which is guaranteed to be a full path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81662 91177308-0d34-0410-b5e6-96231b3b80d8
estRunner.py
|
c60535ab81d77d3f8232e29cf2680bda10858423 |
09-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Count test correctly with -q. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81313 91177308-0d34-0410-b5e6-96231b3b80d8
it.py
|
07d0bd4da7a53e2c3772b89f8e03e25907b60921 |
09-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Fix another refactoro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81312 91177308-0d34-0410-b5e6-96231b3b80d8
it.py
|
f072432e2613d06da2d839eee062f5f116fb8191 |
08-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
lit needs bash for tcl-as-sh execution, we use set -o pipefail. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81197 91177308-0d34-0410-b5e6-96231b3b80d8
estRunner.py
|
ba3931b667ea2c8f30dff4cd176a106d6d4cb51c |
08-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Fix typo that worked on python 2.6. Also, fix unit tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81194 91177308-0d34-0410-b5e6-96231b3b80d8
hCommands.py
clUtil.py
|
2c0a49c8cba8b7a6624d9c0b96f7d94231e10d22 |
08-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Fix a refactoro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81192 91177308-0d34-0410-b5e6-96231b3b80d8
estRunner.py
|
be7ada718139b8c840a38ba34c4af492b6a05f9f |
08-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add 'lit' testing tool. - make install && man $(llvm-config --prefix)/share/man/man1/lit.1 for more information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81190 91177308-0d34-0410-b5e6-96231b3b80d8
itConfig.py
itFormats.py
rogressBar.py
hCommands.py
hTest.py
hUtil.py
ODO
clTest.py
clUtil.py
est.py
estRunner.py
estingConfig.py
til.py
it.py
|