1
0
Fork 0

Enhance CI to error on leaks

Add flags to valgrind in our Continuous Integration scripts,
to error on memory leaks.

closes https://github.com/official-stockfish/Stockfish/pull/3525

No functional change.
pull/3531/head
Joost VandeVondele 2021-06-03 19:18:24 +02:00 committed by Stéphane Nicolet
parent 58307562b6
commit 98cbaa6c6b
1 changed files with 1 additions and 1 deletions

View File

@ -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"
;;