From: Chris Lattner Date: Sat, 10 Apr 2004 06:03:22 +0000 (+0000) Subject: Create the output directory if it's not already there X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5364360294071bb323746a3aa7baba96c52f7c8c;p=oota-llvm.git Create the output directory if it's not already there git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12804 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/TestRunner.sh b/test/TestRunner.sh index d0e4ad71b8f..c5b8b2fa078 100755 --- a/test/TestRunner.sh +++ b/test/TestRunner.sh @@ -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,