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 ce238a7074)
This commit is contained in:
Thomas Haller 2015-12-05 20:21:55 +01:00
parent 83f4c1c9bf
commit a89feb474b

View file

@ -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