summaryrefslogtreecommitdiffstats
path: root/clang/test/TestRunner.sh
Commit message (Collapse)AuthorAgeFilesLines
* Switch TestRunner.sh to just use 'lit'.Daniel Dunbar2009-09-201-127/+8
| | | | | | - Does people use this? llvm-svn: 82406
* Don't substitute prcontext.Daniel Dunbar2009-09-101-2/+0
| | | | llvm-svn: 81428
* Having tests that depend on previously created files is bad idea. Fix them ↵Argyrios Kyrtzidis2009-07-061-3/+0
| | | | | | to be self-sufficient. llvm-svn: 74810
* Make use of the Index library through the index-test tool.Argyrios Kyrtzidis2009-07-051-0/+3
| | | | | | | | | 'index-test' is now able to provide additional info for a Decl, through multiple AST files: -Find declarations -Find definitions -Find references llvm-svn: 74803
* If stderr isn't a terminal, don't try to guess the terminal width orDaniel Dunbar2009-05-061-3/+0
| | | | | | look at COLUMNS. llvm-svn: 71120
* Set COLUMNS=0 to disable wrapping instead of a random large number.Daniel Dunbar2009-05-041-1/+1
| | | | llvm-svn: 70818
* Make diagnostic printing more deterministic when running tests.Daniel Dunbar2009-05-031-0/+3
| | | | llvm-svn: 70809
* Use clang to find clang-cc, if it isn't in path.Daniel Dunbar2009-05-021-0/+4
| | | | llvm-svn: 70640
* Implementation of pre-compiled headers (PCH) based on lazyDouglas Gregor2009-04-091-0/+3
| | | | | | | | | | | | | | | | | | | de-serialization of abstract syntax trees. PCH support serializes the contents of the abstract syntax tree (AST) to a bitstream. When the PCH file is read, declarations are serialized as-needed. For example, a declaration of a variable "x" will be deserialized only when its VarDecl can be found by a client, e.g., based on name lookup for "x" or traversing the entire contents of the owner of "x". This commit provides the framework for serialization and (lazy) deserialization, along with support for variable and typedef declarations (along with several kinds of types). More declarations/types, along with important auxiliary structures (source manager, preprocessor, etc.), will follow. llvm-svn: 68732
* Update TestRunner.sh for renaming.Daniel Dunbar2009-03-241-1/+25
| | | | | | | | | | | | - Substitutes both clang and clang-cc. - Incorporates patch from Jon Simons to diagnose if clang or clang-cc isn't found. - Uses full path when running scripts, for more precision in the output. llvm-svn: 67610
* Test commit.Daniel Dunbar2008-10-151-1/+0
| | | | llvm-svn: 57540
* Remove automagic substitution of %llvmgccDaniel Dunbar2008-09-271-18/+0
| | | | | | - Is unused and somewhat unreliable. llvm-svn: 56737
* skip test if llvm-gcc is requires but not found on the path.Nuno Lopes2008-09-061-0/+14
| | | | | | someone with llvm-gcc installed please test if the Codegen/function-attributes.c test isn't skip in your system. thanks. llvm-svn: 55871
* fix running tests with valgrind (there were a lot of bogus failures and ↵Nuno Lopes2008-09-041-6/+7
| | | | | | | | warnings) currently clang passes all tests under valgrind with the leak checker disabled :P (and fails most otherwise) llvm-svn: 55782
* Update TestRunner to not report failure for XFAIL testsDaniel Dunbar2008-09-041-1/+16
| | | | llvm-svn: 55751
* Remove bashism; sh != bash on Ubuntu.Eli Friedman2008-07-271-1/+1
| | | | llvm-svn: 54118
* Allow CLANG env variable to override "clang" command in TestRunner.shDaniel Dunbar2008-07-251-1/+4
| | | | llvm-svn: 54005
* The newest version of valgrind, 3.3.0, no longer appends PIDs to log filenamesSam Bishop2008-03-231-1/+1
| | | | | | | by default. Adding a %p works with this new version and is backwards compatible, though it looks a little funny. llvm-svn: 48698
* Add ability to run clang tests under valgrind. Patch by Sam Bishop.Gabor Greif2008-03-201-6/+36
| | | | llvm-svn: 48621
* let the %t magic happen, thanks Chris!Gabor Greif2008-03-181-1/+1
| | | | llvm-svn: 48487
* Actually expand the %t1 patterns (in RUN: lines) to a uniqueGabor Greif2008-03-171-1/+3
| | | | | | | | | | | | filename. This fixes (e.g.) CodeGen/struct-x86-darwin.c which raced at writing to "%t1" with other tests when parallel testing was specified with a high "-j XX" value. Also gets rid of the file tools/clang/test/%t1 when doing an "svn st" after testing. llvm-svn: 48454
* Second round of review feedback.Gabor Greif2008-03-171-0/+1
| | | | | | | | | | | * print out message when tests start * testrunner sets status now * on failed test run print out test name I tested these changes with the non-parallel makefile and it did not break. llvm-svn: 48453
* verify that tests contain RUN lines.Chris Lattner2007-12-121-1/+7
| | | | llvm-svn: 44915
* Changed TestRunner.sh to dump the output and generated script files inTed Kremenek2007-11-281-3/+3
| | | | | | | | | | | | | subdirectories mirroring where the test case file is located For example, for the test case "Sema/stmt_exprs.c", instead of the files "Output/stmt_exprs.c.out" and "Output/stmt_exprs.c.out.script" being created, the files "Output/Sema/stmt_exprs.c.out" and "Output/Sema/stmt_exprs.c.out.script" are created. This prevents any collisions from different test directories that have the same file name for a test case, and also makes it clear where the test case was drawn from. llvm-svn: 44410
* Make make check work again.Chris Lattner2007-06-081-0/+50
llvm-svn: 39608
OpenPOWER on IntegriCloud