From 4cc34cbe1c4983b6484701509699be22d5256138 Mon Sep 17 00:00:00 2001 From: Sam Bishop Date: Sun, 23 Mar 2008 03:42:18 +0000 Subject: [PATCH] The newest version of valgrind, 3.3.0, no longer appends PIDs to log filenames 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/TestRunner.sh b/test/TestRunner.sh index 8a0d87d3d5..49a15a46f5 100755 --- a/test/TestRunner.sh +++ b/test/TestRunner.sh @@ -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 -- 2.40.0