Commit Graph

23 Commits

Author SHA1 Message Date
Dan Gohman
68929091e5 Use exec.
llvm-svn: 112425
2010-08-29 14:49:00 +00:00
Daniel Dunbar
e6c5d8507a 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.

llvm-svn: 110002
2010-08-02 00:52:41 +00:00
Dan Gohman
415d5069f4 Fix a bashism in TestRunner.sh.
llvm-svn: 54134
2008-07-28 18:41:03 +00:00
Reid Spencer
45986321e9 Avoid an infinite loop when TestRunner.sh is run outside of the test dir.
llvm-svn: 37201
2007-05-18 02:06:03 +00:00
Reid Spencer
c619d954e7 Fix PR1355: Only compute the SUBPATH and TESTDIR once.
llvm-svn: 37108
2007-05-16 17:56:56 +00:00
Reid Spencer
e05f0e1e67 For PR1355:
Make the script process multiple files and describe its usage properly.

llvm-svn: 36466
2007-04-26 03:59:24 +00:00
Reid Spencer
4411da32b4 Make it possible to run this from within subdirectories of llvm/test
llvm-svn: 36052
2007-04-15 06:47:49 +00:00
Reid Spencer
22c34ea2d3 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.

llvm-svn: 36051
2007-04-15 06:25:12 +00:00
Chris Lattner
41babccd55 make xfail info more nice
llvm-svn: 35764
2007-04-08 07:58:41 +00:00
Chris Lattner
9a765178c8 testrunner should print out xfail info.
llvm-svn: 35761
2007-04-08 07:49:19 +00:00
Reid Spencer
6e927f953d Add some documentation about the arguments.
llvm-svn: 31372
2006-11-02 03:37:39 +00:00
Chris Lattner
9d6d1e0236 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.

llvm-svn: 28852
2006-06-17 08:06:33 +00:00
Chris Lattner
1e85b36c81 Pass -emit-llvm automatically to %llvmgcc and %llvmg++ to fix regression
tests with the new f.e.

llvm-svn: 26622
2006-03-08 22:28:19 +00:00
Chris Lattner
19959252ea teach TestRunner about prcontext
llvm-svn: 22683
2005-08-05 19:48:29 +00:00
Chris Lattner
cd60c81c9d Fix this script to work with hyphenated llvm-gcc and friend.
llvm-svn: 19277
2005-01-03 22:26:38 +00:00
Chris Lattner
6894401b9d Pass in llvmgxx
llvm-svn: 18283
2004-11-27 20:31:14 +00:00
Chris Lattner
ed37c7cac6 Create the output directory if it's not already there
llvm-svn: 12804
2004-04-10 06:03:22 +00:00
Chris Lattner
6c47632b4d Add support for %llvmgcc
llvm-svn: 10768
2004-01-12 05:01:13 +00:00
Chris Lattner
795282d9b9 Ulimit the test, and print out a more interesting output if failure occurs
llvm-svn: 6216
2003-05-14 19:54:07 +00:00
Chris Lattner
1c6923e0cc Fix path problem
llvm-svn: 6208
2003-05-14 18:44:22 +00:00
Chris Lattner
37c29afaad Generalize the script a bit
llvm-svn: 6206
2003-05-14 18:39:57 +00:00
Chris Lattner
ca445ecc13 Allow multiline RUN:'s
llvm-svn: 1732
2002-02-11 23:32:43 +00:00
Chris Lattner
ab727e1cd4 Initial checkin
llvm-svn: 1622
2002-02-01 04:24:47 +00:00