mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 11:58:10 +01:00
perf-test: fix for verbose
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
parent
c37c99126d
commit
6fec5d771e
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ time_run ()
|
||||||
{
|
{
|
||||||
printf " %-22s" "$1"
|
printf " %-22s" "$1"
|
||||||
test_count=$(($test_count+1))
|
test_count=$(($test_count+1))
|
||||||
if test "$verbose" != "t"; then exec 4>test.output 3>&4; fi
|
if test "$verbose" != "t"; then exec 4>test.output 3>&4; else exec 3>&1; fi
|
||||||
if [[ "$use_perf" = 1 ]]; then
|
if [[ "$use_perf" = 1 ]]; then
|
||||||
command_str="perf record --call-graph=${perf_callgraph} -o ${log_dir}/${test_count}.perf $2"
|
command_str="perf record --call-graph=${perf_callgraph} -o ${log_dir}/${test_count}.perf $2"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue