Create the output directory if it's not already there
authorChris Lattner <sabre@nondot.org>
Sat, 10 Apr 2004 06:03:22 +0000 (06:03 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 10 Apr 2004 06:03:22 +0000 (06:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12804 91177308-0d34-0410-b5e6-96231b3b80d8

test/TestRunner.sh

index d0e4ad71b8fce1c8419aab309fa42dbef4e7f5d2..c5b8b2fa078ceff2ea5e7fadbb0ac47b6179fa42 100755 (executable)
@@ -15,6 +15,9 @@ TESTNAME=$1
 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,