summaryrefslogtreecommitdiff
path: root/test/TestRunner.sh
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-06 00:03:47 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-06 00:03:47 +0000
commit921bd2615956bda58dd71d610ed2533cc16e30cf (patch)
treeeba50856548aef6b5d80716e6c8f0951282cc405 /test/TestRunner.sh
parenta34267595534a72703290153a6f7e3da1adcec59 (diff)
Having tests that depend on previously created files is bad idea. Fix them to be self-sufficient.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74810 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TestRunner.sh')
-rwxr-xr-xtest/TestRunner.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/TestRunner.sh b/test/TestRunner.sh
index 07451eb485..bb20728578 100755
--- a/test/TestRunner.sh
+++ b/test/TestRunner.sh
@@ -11,7 +11,6 @@
# %S - Replaced with the directory where the input file resides
# %prcontext - prcontext.tcl script
# %t - temporary file name (derived from testcase name)
-# %T - directory of temporary file name
#
FILENAME=$1
@@ -20,7 +19,6 @@ SUBST=$1
FILEDIR=`dirname $TESTNAME`
OUTPUT=Output/$1.out
-OUTPUTDIR=`dirname $OUTPUT`
# create the output directory if it does not already exist
mkdir -p `dirname $OUTPUT` > /dev/null 2>&1
@@ -88,7 +86,6 @@ grep 'RUN:' $FILENAME | \
-e "s|%s|$SUBST|g" \
-e "s|%S|$FILEDIR|g" \
-e "s|%prcontext|prcontext.tcl|g" \
- -e "s|%T|$OUTPUTDIR|g" \
-e "s|%t|$TEMPOUTPUT|g" > $SCRIPT
IS_XFAIL=0