Daniel Dunbar
ed56fc363f
tests: Deprecate TestRunner.sh, and have it just invoke 'llvm-lit' (which will
...
need to be in your path). Please move to using 'llvm-lit' if you are still using
TestRunner.sh.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110002 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-02 00:52:41 +00:00
Dan Gohman
171f3dcff1
Fix a bashism in TestRunner.sh.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54134 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-28 18:41:03 +00:00
Reid Spencer
e01236a9bb
Avoid an infinite loop when TestRunner.sh is run outside of the test dir.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37201 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-18 02:06:03 +00:00
Reid Spencer
562744c4ed
Fix PR1355: Only compute the SUBPATH and TESTDIR once.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37108 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-16 17:56:56 +00:00
Reid Spencer
0e72512a6c
For PR1355:
...
Make the script process multiple files and describe its usage properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36466 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-26 03:59:24 +00:00
Reid Spencer
4142579814
Make it possible to run this from within subdirectories of llvm/test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36052 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 06:47:49 +00:00
Reid Spencer
c92e6a690c
Reimplement in terms of the support for this feature in the makefiles with
...
the "check-one" target. This was necessitated by the change in the test
harness to fully use Tcl's "exec" function and avoid shell scripts
altogether. Consequently, to be accurate, TestRunner.sh needs to invoke the
same environment as dejagnu would, but for just a single test. That's what
the make target "check-one" does so we just invoke it here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36051 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 06:25:12 +00:00
Chris Lattner
6d8cdf1e39
make xfail info more nice
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35764 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-08 07:58:41 +00:00
Chris Lattner
35921fa54d
testrunner should print out xfail info.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35761 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-08 07:49:19 +00:00
Reid Spencer
97be133ba2
Add some documentation about the arguments.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31372 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-02 03:37:39 +00:00
Chris Lattner
dfc0375ec3
Just a minor tweak so you can run things like:
...
TestRunner.sh Foo/Bar/test.ll
instead of just
TestRunner.sh test.ll
which is convenient in conjunction with find.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28852 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-17 08:06:33 +00:00
Chris Lattner
e25f5bb196
Pass -emit-llvm automatically to %llvmgcc and %llvmg++ to fix regression
...
tests with the new f.e.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26622 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-08 22:28:19 +00:00
Chris Lattner
7f9b4e9044
teach TestRunner about prcontext
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22683 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-05 19:48:29 +00:00
Chris Lattner
6c119813d9
Fix this script to work with hyphenated llvm-gcc and friend.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19277 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-03 22:26:38 +00:00
Chris Lattner
cca50c6b84
Pass in llvmgxx
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18283 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 20:31:14 +00:00
Chris Lattner
5364360294
Create the output directory if it's not already there
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12804 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-10 06:03:22 +00:00
Chris Lattner
e845b1aa79
Add support for %llvmgcc
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10768 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-12 05:01:13 +00:00
Chris Lattner
1b2bde9651
Ulimit the test, and print out a more interesting output if failure occurs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6216 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 19:54:07 +00:00
Chris Lattner
ec26d4d314
Fix path problem
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6208 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 18:44:22 +00:00
Chris Lattner
dec2d799e6
Generalize the script a bit
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6206 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 18:39:57 +00:00
Chris Lattner
d24d4afb99
Allow multiline RUN:'s
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1732 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-11 23:32:43 +00:00
Chris Lattner
9a3c2b58bc
Initial checkin
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1622 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-01 04:24:47 +00:00