Skip to content

Commit

Permalink
Trying option --errors-for-leak-kinds=all in leaks check
Browse files Browse the repository at this point in the history
  • Loading branch information
joewpeterson committed Oct 14, 2024
1 parent bd68dbf commit 04acc19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/prep_valgrind_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ check_return_code() {
find . -iname "*.test" -type f | while IFS= read -r line; do
dirname=$(dirname "$line")
realname=$(basename "$line")
echo "cd ${dirname}; valgrind --leak-check=full --show-leak-kinds=all --error-exitcode=1 ./${realname}; check_return_code; cd -" >> test_valgrind.sh
echo "cd ${dirname}; valgrind --leak-check=full --show-leak-kinds=all --errors-for-leak-kinds=all --error-exitcode=1 ./${realname}; check_return_code; cd -" >> test_valgrind.sh
done

0 comments on commit 04acc19

Please sign in to comment.