1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

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

tests with the new f.e.

llvm-svn: 26622
This commit is contained in:
Chris Lattner 2006-03-08 22:28:19 +00:00
parent 84a3db4538
commit 1e85b36c81

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 || (