]> granicus.if.org Git - clang/commitdiff
Remove automagic substitution of %llvmgcc
authorDaniel Dunbar <daniel@zuster.org>
Sat, 27 Sep 2008 00:47:03 +0000 (00:47 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 27 Sep 2008 00:47:03 +0000 (00:47 +0000)
 - Is unused and somewhat unreliable.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56737 91177308-0d34-0410-b5e6-96231b3b80d8

test/TestRunner.sh

index eed956e9920ee7fd0aa65210f2f82d2007a90088..a2e0fe5c9a321537be3cbbfabd7f1fb23a05ecd5 100755 (executable)
@@ -8,8 +8,6 @@
 #
 #     %s - Replaced with the input name of the program, or the program to
 #          execute, as appropriate.
-#     %llvmgcc - llvm-gcc command
-#     %llvmgxx - llvm-g++ command
 #     %prcontext - prcontext.tcl script
 #     %t - temporary file name (derived from testcase name)
 #
@@ -56,8 +54,6 @@ grep 'RUN:' $FILENAME | \
   sed -e "s|^.*RUN:\(.*\)$|\1|g" \
       -e "s|clang|$CLANG|g" \
       -e "s|%s|$SUBST|g" \
-      -e "s|%llvmgcc|llvm-gcc -emit-llvm|g" \
-      -e "s|%llvmgxx|llvm-g++ -emit-llvm|g" \
       -e "s|%prcontext|prcontext.tcl|g" \
       -e "s|%t|$TEMPOUTPUT|g" > $SCRIPT
 
@@ -68,20 +64,6 @@ if (grep -q XFAIL $FILENAME); then
     grep XFAIL $FILENAME
 fi
 
-if (grep -q "%llvmgcc" $FILENAME); then
-  if [ -z "$(llvm-gcc --version 2> /dev/null)" ]; then
-    IS_XFAIL=1
-    echo "llvm-gcc not found"
-  fi
-fi
-
-if (grep -q "%llvmgxx" $FILENAME); then
-  if [ -z "$(llvm-g++ --version 2> /dev/null)" ]; then
-    IS_XFAIL=1
-    echo "llvm-g++ not found"
-  fi
-fi
-
 /bin/sh $SCRIPT > $OUTPUT 2>&1
 SCRIPT_STATUS=$?