summaryrefslogtreecommitdiff
path: root/test/TestRunner.sh
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-14 18:44:22 +0000
committerChris Lattner <sabre@nondot.org>2003-05-14 18:44:22 +0000
commitec26d4d314a15166a34920de824969c0ec43960f (patch)
tree65242be91b1ef0439804ab41047f94a8df69697b /test/TestRunner.sh
parentdec2d799e696fad79e253ae5c2f115a6a4551bfb (diff)
downloadllvm-ec26d4d314a15166a34920de824969c0ec43960f.tar.gz
llvm-ec26d4d314a15166a34920de824969c0ec43960f.tar.bz2
llvm-ec26d4d314a15166a34920de824969c0ec43960f.tar.xz
Fix path problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6208 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TestRunner.sh')
-rwxr-xr-xtest/TestRunner.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TestRunner.sh b/test/TestRunner.sh
index f7d4bbf56c..fbf174c2ee 100755
--- a/test/TestRunner.sh
+++ b/test/TestRunner.sh
@@ -12,7 +12,7 @@
FILENAME=$1
SUBST=$1
-OUTPUT=$FILENAME.out
+OUTPUT=Output/$FILENAME.out
if test $# != 1; then
# If more than one parameter is passed in, there must be three parameters:
@@ -22,7 +22,7 @@ if test $# != 1; then
OUTPUT=$3
fi
-SCRIPT=Output/$OUTPUT.script
+SCRIPT=$OUTPUT.script
grep 'RUN:' $FILENAME | sed "s|^.*RUN:\(.*\)$|\1|g;s|%s|$SUBST|g" > $SCRIPT