[llvm-commits] CVS: llvm/test/TestRunner.sh

Chris Lattner lattner at cs.uiuc.edu
Sat Jun 17 01:07:02 PDT 2006



Changes in directory llvm/test:

TestRunner.sh updated: 1.11 -> 1.12
---
Log message:

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.



---
Diffs of the changes:  (+2 -1)

 TestRunner.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/test/TestRunner.sh
diff -u llvm/test/TestRunner.sh:1.11 llvm/test/TestRunner.sh:1.12
--- llvm/test/TestRunner.sh:1.11	Wed Mar  8 16:28:19 2006
+++ llvm/test/TestRunner.sh	Sat Jun 17 03:06:33 2006
@@ -13,7 +13,8 @@
 FILENAME=$1
 TESTNAME=$1
 SUBST=$1
-OUTPUT=Output/$FILENAME.out
+FILENAME_ONLY=`basename $1`
+OUTPUT=Output/$FILENAME_ONLY.out
 
 # create the output directory if it does not already exist
 mkdir Output > /dev/null 2>&1






More information about the llvm-commits mailing list