| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
paths.
llvm-svn: 148362
|
| |
|
|
| |
llvm-svn: 147965
|
| |
|
|
|
|
| |
useful for test suites which want to piggyback onto the "shtest" format style.
llvm-svn: 147684
|
| |
|
|
|
|
| |
Thanks to Francois, to let me know.
llvm-svn: 145381
|
| |
|
|
| |
llvm-svn: 145223
|
| |
|
|
|
|
|
|
|
| |
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.
llvm-svn: 145222
|
| |
|
|
| |
llvm-svn: 143164
|
| |
|
|
|
|
| |
- Also, cleanup site.exp files in example tests.
llvm-svn: 143141
|
| |
|
|
| |
llvm-svn: 142880
|
| |
|
|
| |
llvm-svn: 142878
|
| |
|
|
|
|
| |
On Python-w32 with mingw msys bash, %T was replaced to "x:\foo\bar...". msys bash cannot handle DOSish paths.
llvm-svn: 138852
|
| |
|
|
|
|
|
|
| |
This is useful for testing a build a temporarily hand instrumented
build.
Patch by arrowdodger!
llvm-svn: 138804
|
| |
|
|
| |
llvm-svn: 138640
|
| |
|
|
|
|
| |
Win32 GetTempPath() tends to pick up %WINDIR% when neither TEMP nor TMP was found. %WINDIR% should not be treated writable on recent Windows OS.
llvm-svn: 138192
|
| |
|
|
| |
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
|