mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-06 10:53:50 +08:00
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.
This commit is contained in:
committed by
Stéphane Nicolet
parent
58307562b6
commit
98cbaa6c6b
@@ -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"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user