Commit Graph

21 Commits

Author SHA1 Message Date
Dan Gohman c9fe8b64ed Fix a bashism in TestRunner.sh.
llvm-svn: 54134
2008-07-28 18:41:03 +00:00
Reid Spencer d266c18c0e 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 99e813eee9 Fix PR1355: Only compute the SUBPATH and TESTDIR once.
llvm-svn: 37108
2007-05-16 17:56:56 +00:00
Reid Spencer 30d5e9449f 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 b9dbd5b5b5 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 d1d6798ee4 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 92e2de78dd make xfail info more nice
llvm-svn: 35764
2007-04-08 07:58:41 +00:00
Chris Lattner ef09cea4fb testrunner should print out xfail info.
llvm-svn: 35761
2007-04-08 07:49:19 +00:00
Reid Spencer 68e1b240b4 Add some documentation about the arguments.
llvm-svn: 31372
2006-11-02 03:37:39 +00:00
Chris Lattner 0b2652027b 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 78b4fc15bb 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 d01cf9cfd0 teach TestRunner about prcontext
llvm-svn: 22683
2005-08-05 19:48:29 +00:00
Chris Lattner 5dfdadde04 Fix this script to work with hyphenated llvm-gcc and friend.
llvm-svn: 19277
2005-01-03 22:26:38 +00:00
Chris Lattner d2c3a1a8d4 Pass in llvmgxx
llvm-svn: 18283
2004-11-27 20:31:14 +00:00
Chris Lattner 5393e11318 Create the output directory if it's not already there
llvm-svn: 12804
2004-04-10 06:03:22 +00:00
Chris Lattner 950b713d22 Add support for %llvmgcc
llvm-svn: 10768
2004-01-12 05:01:13 +00:00
Chris Lattner 52b807bbee 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 3be61a5cda Fix path problem
llvm-svn: 6208
2003-05-14 18:44:22 +00:00
Chris Lattner 9600e8d637 Generalize the script a bit
llvm-svn: 6206
2003-05-14 18:39:57 +00:00
Chris Lattner 004b053452 Allow multiline RUN:'s
llvm-svn: 1732
2002-02-11 23:32:43 +00:00
Chris Lattner 0f342dac09 Initial checkin
llvm-svn: 1622
2002-02-01 04:24:47 +00:00