Remove automagic substitution of %llvmgcc
- Is unused and somewhat unreliable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56737 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/TestRunner.sh b/test/TestRunner.sh
index eed956e..a2e0fe5 100755
--- a/test/TestRunner.sh
+++ b/test/TestRunner.sh
@@ -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 @@
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 @@
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=$?