summaryrefslogtreecommitdiff
path: root/test/TestRunner.sh
AgeCommit message (Collapse)Author
2009-09-20Switch TestRunner.sh to just use 'lit'.Daniel Dunbar
- Does people use this? git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82406 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-10Don't substitute prcontext.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81428 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-06Having tests that depend on previously created files is bad idea. Fix them ↵Argyrios Kyrtzidis
to be self-sufficient. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74810 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-05Make use of the Index library through the index-test tool.Argyrios Kyrtzidis
'index-test' is now able to provide additional info for a Decl, through multiple AST files: -Find declarations -Find definitions -Find references git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74803 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-06If stderr isn't a terminal, don't try to guess the terminal width orDaniel Dunbar
look at COLUMNS. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71120 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-04Set COLUMNS=0 to disable wrapping instead of a random large number.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70818 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-03Make diagnostic printing more deterministic when running tests.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70809 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-02Use clang to find clang-cc, if it isn't in path.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70640 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-09Implementation of pre-compiled headers (PCH) based on lazyDouglas Gregor
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68732 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-24Update TestRunner.sh for renaming.Daniel Dunbar
- 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67610 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-15Test commit.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57540 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-27Remove automagic substitution of %llvmgccDaniel Dunbar
- Is unused and somewhat unreliable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56737 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-06skip test if llvm-gcc is requires but not found on the path.Nuno Lopes
someone with llvm-gcc installed please test if the Codegen/function-attributes.c test isn't skip in your system. thanks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55871 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-04fix running tests with valgrind (there were a lot of bogus failures and ↵Nuno Lopes
warnings) currently clang passes all tests under valgrind with the leak checker disabled :P (and fails most otherwise) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55782 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-04Update TestRunner to not report failure for XFAIL testsDaniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55751 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-27Remove bashism; sh != bash on Ubuntu.Eli Friedman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54118 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-25Allow CLANG env variable to override "clang" command in TestRunner.shDaniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54005 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-23The newest version of valgrind, 3.3.0, no longer appends PIDs to log filenamesSam Bishop
by default. Adding a %p works with this new version and is backwards compatible, though it looks a little funny. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48698 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-20Add ability to run clang tests under valgrind. Patch by Sam Bishop.Gabor Greif
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48621 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-18let the %t magic happen, thanks Chris!Gabor Greif
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48487 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-17Actually expand the %t1 patterns (in RUN: lines) to a uniqueGabor Greif
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48454 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-17Second round of review feedback.Gabor Greif
* 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48453 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-12verify that tests contain RUN lines.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44915 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-28Changed TestRunner.sh to dump the output and generated script files inTed Kremenek
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44410 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-11Stage two of getting CFE top correct.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39734 91177308-0d34-0410-b5e6-96231b3b80d8