LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 1355 - TestRunner enhancement request
Summary: TestRunner enhancement request
Status: RESOLVED FIXED
Alias: None
Product: Test Suite
Classification: Unclassified
Component: DejaGNU (show other bugs)
Version: trunk
Hardware: Macintosh MacOS X
: P enhancement
Assignee: Reid Spencer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-25 00:04 PDT by Chris Lattner
Modified: 2018-11-07 00:17 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Lattner 2007-04-25 00:04:22 PDT
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
Comment 1 Reid Spencer 2007-04-25 23:00:21 PDT
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
Comment 2 Chris Lattner 2007-04-26 00:26:02 PDT
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
...
Comment 3 Reid Spencer 2007-05-16 12:57:51 PDT
Fixed with this patch:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070514/049671.html
Comment 4 Chris Lattner 2007-05-16 13:45:40 PDT
Excellent, thanks Reid!