aboutsummaryrefslogtreecommitdiff
path: root/test/TestRunner.sh
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-10 06:03:22 +0000
committerChris Lattner <sabre@nondot.org>2004-04-10 06:03:22 +0000
commit5364360294071bb323746a3aa7baba96c52f7c8c (patch)
treec570ba60cd48306eeb85df59b7998a381cd56017 /test/TestRunner.sh
parent4f21c174aa1ee3b12012079709ab4b48d08587bf (diff)
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
Diffstat (limited to 'test/TestRunner.sh')
-rwxr-xr-xtest/TestRunner.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/TestRunner.sh b/test/TestRunner.sh
index d0e4ad71b8..c5b8b2fa07 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,