The new TestRunner is much nicer than the old one, and very handy. One (hopefully easy) feature request: It would be nice for TestRunner to take multiple tests on the command line. I usually do: cd test/whatever; find . -name \*.ll -print -exec ../../TestRunner.sh {} \; It would be much nicer to do: cd test/whatever; TestRunner * -Chris
TestRunner.sh has been augmented to process a list of files, each of which it will execute. Note that the example is much more easily done with: make check TESTSUITE=test/whatever Fixed with this patch: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070423/048480.html
Not working: $ cd llvm/test/Assembler $ ../TestRunner.sh *.ll *.llx ... couldn't open "/Users/sabre/cvs/llvm/test/2005-02-09-AsmWriterStoreBug.ll": no such file or directory couldn't open "/Users/sabre/cvs/llvm/test/2005-05-05-OpaqueUndefValues.ll": no such file or directory couldn't open "/Users/sabre/cvs/llvm/test/2005-12-21-ZeroInitVector.ll": no such file or directory couldn't open "/Users/sabre/cvs/llvm/test/2006-05-26-VarargsCallEncode.ll": no such file or directory couldn't open "/Users/sabre/cvs/llvm/test/2006-09-28-CrashOnInvalid.ll": no such file or directory couldn't open "/Users/sabre/cvs/llvm/test/2006-12-09-Cast-To-Bool.ll": no such file or directory couldn't open "/Users/sabre/cvs/llvm/test/2007-01-01-Cast-To-Bool.ll": no such file or directory couldn't open "/Users/sabre/cvs/llvm/test/2007-01-02-Undefined-Arg-Type.ll": no such file or directory couldn't open "/Users/sabre/cvs/llvm/test/2007-01-05-Cmp-ConstExpr.ll": no such file or directory ...
Fixed with this patch: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070514/049671.html
Excellent, thanks Reid!