Pass -emit-llvm automatically to %llvmgcc and %llvmg++ to fix regression

tests with the new f.e.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26622 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-03-08 22:28:19 +00:00
parent 7075d6f2f2
commit e25f5bb196

View File

@ -30,7 +30,7 @@ fi
ulimit -t 40
SCRIPT=$OUTPUT.script
grep 'RUN:' $FILENAME | sed "s|^.*RUN:\(.*\)$|\1|g;s|%s|$SUBST|g;s|%llvmgcc|llvm-gcc|g;s|%llvmgxx|llvm-g++|g;s|%prcontext|prcontext.tcl|g" > $SCRIPT
grep 'RUN:' $FILENAME | sed "s|^.*RUN:\(.*\)$|\1|g;s|%s|$SUBST|g;s|%llvmgcc|llvm-gcc -emit-llvm|g;s|%llvmgxx|llvm-g++ -emit-llvm|g;s|%prcontext|prcontext.tcl|g" > $SCRIPT
/bin/sh $SCRIPT > $OUTPUT 2>&1 || (