Create the output directory if it's not already there

llvm-svn: 12804
This commit is contained in:
Chris Lattner 2004-04-10 06:03:22 +00:00
parent d777677665
commit 5393e11318
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ TESTNAME=$1
SUBST=$1 SUBST=$1
OUTPUT=Output/$FILENAME.out 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 test $# != 1; then
# If more than one parameter is passed in, there must be three parameters: # 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, # The filename to read from (already processed), the command used to execute,