Skip to content

Commit

Permalink
Enhance CI to error on leaks
Browse files Browse the repository at this point in the history
Add flags to valgrind in our Continuous Integration scripts,
to error on memory leaks.

closes #3525

No functional change.
  • Loading branch information
vondele authored and snicolet committed Jun 5, 2021
1 parent 5830756 commit 98cbaa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/instrumented.sh
Expand Up @@ -13,7 +13,7 @@ case $1 in
--valgrind)
echo "valgrind testing started"
prefix=''
exeprefix='valgrind --error-exitcode=42'
exeprefix='valgrind --error-exitcode=42 --errors-for-leak-kinds=all --leak-check=full'
postfix='1>/dev/null'
threads="1"
;;
Expand Down

0 comments on commit 98cbaa6

Please sign in to comment.