| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 206119
|
|
|
|
| |
llvm-svn: 203573
|
|
|
|
| |
llvm-svn: 203498
|
|
|
|
|
|
| |
- Also, update MANIFEST.in and utils/check-sdist.
llvm-svn: 203497
|
|
|
|
| |
llvm-svn: 203496
|
|
|
|
|
|
|
|
|
| |
This commit prospectively brings the benefits of r198766 to older supported
Python versions (2.5+).
Tested with Python 2.6, 2.7, 3.1 and 3.3 (!)
llvm-svn: 199009
|
|
|
|
|
|
|
|
|
|
|
|
| |
On the other hand, exec(compile()) doesn't work in older Python versions in the
2.x series.
This commit introduces exec(compile()) with a fallback to plain exec(). That'll
hopefully hit the sweet spot in terms of version support.
Followup to r198766 which added enhanced source locations for lit cfg parsing.
llvm-svn: 199006
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Python doesn't do a good job at diagnosing string exec() so use execfile()
where available.
This should be a timesaver when trying to get to the bottom of build bot
failures.
Before:
File "llvm/utils/lit/lit/TestingConfig.py", line 93, in load_from_path
exec("exec data in cfg_globals")
File "<string>", line 1, in <module>
File "<string>", line 194, in <module>
NameError: name 'typo' is not defined
After:
File "llvm/utils/lit/lit/TestingConfig.py", line 95, in load_from_path
execfile(path, cfg_globals)
File "clang/test/lit.cfg", line 194, in <module>
typo
^~~~
NameError: name 'typo' is not defined
llvm-svn: 198766
|
|
|
|
|
|
|
|
| |
Remove the stat call error reporting for now.
It wasn't essential so silent fallback should be fine here.
llvm-svn: 198155
|
|
|
|
| |
llvm-svn: 198152
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add option -i to prioritize test runs by source file modification time and
previous failure state.
This optimal scheduling reduces typical test-and-fix iteration times to a
matter of seconds by rapidly answering the questions:
1) Did my recent change fix tests that were previously failing?
2) Do the tests I just wrote / modified still work?
The current implementation requires write permissions to the source tree
because it uses mtimes to track failures.
llvm-svn: 198150
|
|
|
|
| |
llvm-svn: 197462
|
|
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 193516
|
|
|
|
| |
llvm-svn: 193508
|
|
|
|
|
|
|
| |
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.
llvm-svn: 193471
|
|
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 193465
|
|
|
|
|
|
| |
Some versions of Python on the builders seem strict about this.
llvm-svn: 193464
|
|
|
|
|
|
|
|
| |
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
llvm-svn: 193463
|
|
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 193457
|
|
|
|
| |
llvm-svn: 193413
|
|
|
|
| |
llvm-svn: 193282
|
|
|
|
|
|
|
| |
- This was never a big win, and is irrelevant now that we commonly use
multiprocessing based parallelism.
llvm-svn: 193280
|
|
|
|
| |
llvm-svn: 193279
|
|
|
|
|
|
| |
TMPDIR is preferred in Unix.
llvm-svn: 192891
|
|
|
|
|
|
|
|
| |
(and TEMP).
This is intended to check how many temporary files would be generated in automated builders.
llvm-svn: 192887
|
|
|
|
| |
llvm-svn: 190738
|
|
|
|
|
|
|
|
|
| |
- 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).
llvm-svn: 190535
|
|
|
|
|
|
|
| |
- 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.
llvm-svn: 189885
|
|
|
|
| |
llvm-svn: 189561
|
|
|
|
|
|
|
| |
- 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.
llvm-svn: 189559
|
|
|
|
| |
llvm-svn: 189556
|
|
|
|
| |
llvm-svn: 189555
|
|
|
|
| |
llvm-svn: 189554
|
|
|
|
| |
llvm-svn: 189553
|
|
|
|
|
|
| |
- Also, change TestProvider interface to operate on test indices.
llvm-svn: 189552
|
|
|
|
| |
llvm-svn: 189551
|
|
|
|
| |
llvm-svn: 189550
|
|
|
|
| |
llvm-svn: 189549
|
|
|
|
| |
llvm-svn: 189546
|
|
|
|
| |
llvm-svn: 189545
|
|
|
|
| |
llvm-svn: 189544
|
|
|
|
| |
llvm-svn: 188951
|
|
|
|
| |
llvm-svn: 188949
|
|
|
|
| |
llvm-svn: 188948
|
|
|
|
| |
llvm-svn: 188947
|
|
|
|
| |
llvm-svn: 188946
|
|
|
|
| |
llvm-svn: 188945
|
|
|
|
|
|
|
| |
- If anyone is interested in lit's feature set, I'd appreciate any comments on
the elaborated items.
llvm-svn: 188590
|
|
|
|
| |
llvm-svn: 188502
|
|
|
|
| |
llvm-svn: 188417
|