[llvm-commits] CVS: llvm/test/TestRunner.sh
Chris Lattner
lattner at cs.uiuc.edu
Wed May 14 13:45:01 PDT 2003
Changes in directory llvm/test:
TestRunner.sh updated: 1.3 -> 1.4
---
Log message:
Fix path problem
---
Diffs of the changes:
Index: llvm/test/TestRunner.sh
diff -u llvm/test/TestRunner.sh:1.3 llvm/test/TestRunner.sh:1.4
--- llvm/test/TestRunner.sh:1.3 Wed May 14 13:39:57 2003
+++ llvm/test/TestRunner.sh Wed May 14 13:44:22 2003
@@ -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 @@
OUTPUT=$3
fi
-SCRIPT=Output/$OUTPUT.script
+SCRIPT=$OUTPUT.script
grep 'RUN:' $FILENAME | sed "s|^.*RUN:\(.*\)$|\1|g;s|%s|$SUBST|g" > $SCRIPT
More information about the llvm-commits
mailing list