mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
perf-test: use 'eval' in memory_run
This allows the use of redirection in the tests
This commit is contained in:
parent
9c3a27dee9
commit
0c8ce66ef4
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ memory_run ()
|
|||
|
||||
printf "[ %d ]\t%s\n" $test_count "$1"
|
||||
|
||||
NOTMUCH_TALLOC_REPORT="$talloc_log" valgrind --leak-check=full --log-file="$log_file" $2
|
||||
NOTMUCH_TALLOC_REPORT="$talloc_log" eval "valgrind --leak-check=full --log-file='$log_file' $2"
|
||||
|
||||
awk '/LEAK SUMMARY/,/suppressed/ { sub(/^==[0-9]*==/," "); print }' "$log_file"
|
||||
echo
|
||||
|
|
Loading…
Reference in a new issue