Skip to content

Commit

Permalink
Increased leak depth in check_valgrind_log (#2479)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwin Ramesh authored Feb 3, 2021
1 parent ec3dab4 commit 41c2836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/common/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ function check_test_results () {
function check_valgrind_log () {
local valgrind_log=$1

leak_records=$(grep "are definitely lost" -A 8 $valgrind_log | awk \
leak_records=$(grep "are definitely lost" -A 12 $valgrind_log | awk \
'BEGIN{RS="--";acc=0} !(/cnmem/||/tensorflow::NewSession/||/dl-init/|| \
/dl-open/||/dlerror/||/libtorch/) \
{print;acc+=1} END{print acc}')
Expand Down

0 comments on commit 41c2836

Please sign in to comment.