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 d0e4ad7..c5b8b2f 100755
--- a/test/TestRunner.sh
+++ b/test/TestRunner.sh
@@ -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,