diff options
| author | Felipe Contreras <felipe.contreras@gmail.com> | 2021-06-26 15:13:03 -0500 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-08-05 09:04:53 -0300 |
| commit | 6fec5d771ede7998ff395abd636d391c21163409 (patch) | |
| tree | 6ec44b8a4118c2e39102074a0edf598b137e0e07 /performance-test | |
| parent | c37c99126d4bf6909399d84455063e0ff0ee9b59 (diff) | |
perf-test: fix for verbose
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'performance-test')
| -rw-r--r-- | performance-test/perf-test-lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/performance-test/perf-test-lib.sh b/performance-test/perf-test-lib.sh index e7c502b6..41b1ddfd 100644 --- a/performance-test/perf-test-lib.sh +++ b/performance-test/perf-test-lib.sh @@ -212,7 +212,7 @@ time_run () { printf " %-22s" "$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 command_str="perf record --call-graph=${perf_callgraph} -o ${log_dir}/${test_count}.perf $2" else |
