]> granicus.if.org Git - clang/commitdiff
The newest version of valgrind, 3.3.0, no longer appends PIDs to log filenames
authorSam Bishop <sam@bishop.dhs.org>
Sun, 23 Mar 2008 03:42:18 +0000 (03:42 +0000)
committerSam Bishop <sam@bishop.dhs.org>
Sun, 23 Mar 2008 03:42:18 +0000 (03:42 +0000)
by default.  Adding a %p works with this new version and is backwards
compatible, though it looks a little funny.

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

test/TestRunner.sh

index 8a0d87d3d5100703e8374d8ea8fbedccda62e371..49a15a46f5bbd0fd9e482ec84227f6dd2ec2c0bf 100755 (executable)
@@ -44,7 +44,7 @@ grep -q 'RUN:' $FILENAME || (
 CLANG="clang"
 if [ -n "$VG" ]; then
   rm -f $OUTPUT.vg.*
-  CLANG="valgrind --leak-check=full --quiet --log-file=$OUTPUT.vg $CLANG"
+  CLANG="valgrind --leak-check=full --quiet --log-file=$OUTPUT.vg.%p $CLANG"
 fi
 
 SCRIPT=$OUTPUT.script