[cfe-commits] r54005 - /cfe/trunk/test/TestRunner.sh
Daniel Dunbar
daniel at zuster.org
Thu Jul 24 18:05:44 PDT 2008
Author: ddunbar
Date: Thu Jul 24 20:05:44 2008
New Revision: 54005
URL: http://llvm.org/viewvc/llvm-project?rev=54005&view=rev
Log:
Allow CLANG env variable to override "clang" command in TestRunner.sh
Modified:
cfe/trunk/test/TestRunner.sh
Modified: cfe/trunk/test/TestRunner.sh
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/TestRunner.sh?rev=54005&r1=54004&r2=54005&view=diff
==============================================================================
--- cfe/trunk/test/TestRunner.sh (original)
+++ cfe/trunk/test/TestRunner.sh Thu Jul 24 20:05:44 2008
@@ -41,7 +41,10 @@
)
# Run under valgrind if the VG environment variable has been set.
-CLANG="clang"
+CLANG=$CLANG
+if [ "$CLANG" == "" ]; then
+ CLANG="clang"
+fi
if [ -n "$VG" ]; then
rm -f $OUTPUT.vg.*
CLANG="valgrind --leak-check=full --quiet --log-file=$OUTPUT.vg.%p $CLANG"
More information about the cfe-commits
mailing list