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

Chris Lattner lattner at cs.uiuc.edu
Sat Apr 10 01:04:01 PDT 2004


Changes in directory llvm/test:

TestRunner.sh updated: 1.6 -> 1.7

---
Log message:

Create the output directory if it's not already there


---
Diffs of the changes:  (+3 -0)

Index: llvm/test/TestRunner.sh
diff -u llvm/test/TestRunner.sh:1.6 llvm/test/TestRunner.sh:1.7
--- llvm/test/TestRunner.sh:1.6	Sun Jan 11 23:01:13 2004
+++ llvm/test/TestRunner.sh	Sat Apr 10 01:03:22 2004
@@ -15,6 +15,9 @@
 SUBST=$1
 OUTPUT=Output/$FILENAME.out
 
+# create the output directory if it does not already exist
+mkdir Output > /dev/null 2>&1
+
 if test $# != 1; then
   # If more than one parameter is passed in, there must be three parameters:
   # The filename to read from (already processed), the command used to execute,





More information about the llvm-commits mailing list