| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 138191
|
|
|
|
|
|
| |
Warning to Note.
llvm-svn: 134809
|
|
|
|
|
|
| |
running lit on OS X
llvm-svn: 134324
|
|
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 133664
|
|
|
|
|
|
|
|
|
|
| |
REQUIRES: Asserts
REQUIRES: Debug
This required chaining test configuration properties. It seems like a
generally good thing to do.
llvm-svn: 133131
|
|
|
|
|
|
| |
Luis Felipe Strano Moraes!
llvm-svn: 129558
|
|
|
|
|
|
|
| |
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!
llvm-svn: 127872
|
|
|
|
|
|
| |
On Win32 console, emitting char to col#79 causes linefeed, and the cursor will not return to col#79 upper line with backspace.
llvm-svn: 127696
|
|
|
|
|
|
| |
we can execute "bash tests".
llvm-svn: 127074
|
|
|
|
|
|
| |
from stdin. The environment variable "PYTHONUNBUFFERED" makes stdin as binary. Thanks to Danil Malyshev!
llvm-svn: 127072
|
|
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 125725
|
|
|
|
| |
llvm-svn: 125273
|
|
|
|
| |
llvm-svn: 125272
|
|
|
|
|
|
|
|
| |
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).
llvm-svn: 125175
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 125174
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
llvm-svn: 123070
|
|
|
|
| |
llvm-svn: 122808
|
|
|
|
| |
llvm-svn: 122754
|
|
|
|
| |
llvm-svn: 122346
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 122341
|
|
|
|
|
|
| |
BUILD_MODE/*Tests) under whole unittests/ if BUILD_MODE == '.'
llvm-svn: 121118
|
|
|
|
|
|
|
|
| |
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).
llvm-svn: 119781
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 115040
|
|
|
|
| |
llvm-svn: 114726
|
|
|
|
| |
llvm-svn: 114724
|
|
|
|
| |
llvm-svn: 114262
|
|
|
|
| |
llvm-svn: 114261
|
|
|
|
| |
llvm-svn: 114260
|
|
|
|
|
|
|
| |
needs to find some libraries, which may require searching the directories given
by LIBRARY_PATH on curiously configured systems. So pass on LIBRARY_PATH.
llvm-svn: 114186
|
|
|
|
|
|
| |
exposed to config files.
llvm-svn: 113923
|
|
|
|
|
|
| |
alliterate.
llvm-svn: 113922
|
|
|
|
| |
llvm-svn: 111487
|
|
|
|
|
|
| |
if-else statements, to hopefully support older pythons (PR7850).
llvm-svn: 110638
|
|
|
|
|
|
| |
alone, rather than just an exit code.
llvm-svn: 110208
|
|
|
|
|
|
|
| |
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!".
llvm-svn: 110171
|
|
|
|
|
|
| |
and same for stderr, to avoid clutter in the output.
llvm-svn: 110169
|
|
|
|
| |
llvm-svn: 110168
|
|
|
|
| |
llvm-svn: 109999
|
|
|
|
| |
llvm-svn: 109071
|
|
|
|
|
|
|
| |
integrated-test formats (sh and tcl style). The particular features which get
recognized are up to the test suite itself to define.
llvm-svn: 109062
|
|
|
|
| |
llvm-svn: 105888
|
|
|
|
| |
llvm-svn: 105858
|
|
|
|
|
|
|
| |
quoting problems. Not particularly ideal, but should work ok. Based on a patch by
Michael Spencer!
llvm-svn: 105855
|
|
|
|
| |
llvm-svn: 104189
|
|
|
|
|
|
|
|
|
|
| |
internal shell parser; we weren't lexing the quotes in a command like::
clang -DFOO='hello'
correctly.
llvm-svn: 103652
|
|
|
|
| |
llvm-svn: 103626
|
|
|
|
|
|
| |
foo.
llvm-svn: 103625
|
|
|
|
| |
llvm-svn: 103091
|
|
|
|
|
|
| |
from input path.
llvm-svn: 100846
|
|
|
|
| |
llvm-svn: 100706
|