From a89feb474bbe4635e5e8d4363951fe9ae981d6f0 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Sat, 5 Dec 2015 20:21:55 +0100 Subject: [PATCH] tests/valgrind: rename name of logfile for valgrind run Change the name of the file where to store the results of the valgrind run. Previously the file had a prefix "valgrind-", which is inconvinient. Instead, have the file using the same name as the test executable, with a ".valgrind-log" suffix. (cherry picked from commit ce238a7074e1a4b78e6381ad02dbb1d17c035958) --- tools/run-test-valgrind.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/run-test-valgrind.sh b/tools/run-test-valgrind.sh index 424f633d06..4dc092a093 100755 --- a/tools/run-test-valgrind.sh +++ b/tools/run-test-valgrind.sh @@ -91,7 +91,7 @@ if [ "$NMTST_NO_VALGRIND" != "" ]; then exit $? fi -LOGFILE="valgrind-`echo "$TEST" | tr -cd '[:alpha:]-'`.log" +LOGFILE="${TEST}.valgrind-log" export G_SLICE=always-malloc export G_DEBUG=gc-friendly