Граф коммитов

15 Коммитов

Автор SHA1 Сообщение Дата
Daniel Dunbar 00231ee34c Test commit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57540 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-15 00:26:06 +00:00
Daniel Dunbar 0cb45f6ea7 Remove automagic substitution of %llvmgcc
- Is unused and somewhat unreliable.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56737 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-27 00:47:03 +00:00
Nuno Lopes 8bdd880d6c skip test if llvm-gcc is requires but not found on the path.
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-06 16:42:14 +00:00
Nuno Lopes f557fb749e fix running tests with valgrind (there were a lot of bogus failures and 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-04 18:33:57 +00:00
Daniel Dunbar 607b17b736 Update TestRunner to not report failure for XFAIL tests
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55751 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-04 00:30:11 +00:00
Eli Friedman fde9fe7c31 Remove bashism; sh != bash on Ubuntu.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54118 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-27 05:05:07 +00:00
Daniel Dunbar 5e38073779 Allow CLANG env variable to override "clang" command in TestRunner.sh
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54005 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-25 01:05:44 +00:00
Sam Bishop 4cc34cbe1c The newest version of valgrind, 3.3.0, no longer appends PIDs to log filenames
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-23 03:42:18 +00:00
Gabor Greif 1e2db03f3f Add ability to run clang tests under valgrind. Patch by Sam Bishop.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48621 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-20 22:50:54 +00:00
Gabor Greif cf20b48b81 let the %t magic happen, thanks Chris!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48487 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-18 06:42:43 +00:00
Gabor Greif 0f23303f48 Actually expand the %t1 patterns (in RUN: lines) to a unique
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-17 13:45:47 +00:00
Gabor Greif 5ca1b5a8e5 Second round of review feedback.
* 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
2008-03-17 12:35:00 +00:00
Chris Lattner 32a3999c62 verify that tests contain RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44915 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-12 06:19:22 +00:00
Ted Kremenek 6a18c7689b Changed TestRunner.sh to dump the output and generated script files in
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-11-28 19:16:54 +00:00
Reid Spencer 5f016e2cb5 Stage two of getting CFE top correct.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39734 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-11 17:01:13 +00:00