mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00: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:
parent
58307562b6
commit
98cbaa6c6b
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ case $1 in
|
||||||
--valgrind)
|
--valgrind)
|
||||||
echo "valgrind testing started"
|
echo "valgrind testing started"
|
||||||
prefix=''
|
prefix=''
|
||||||
exeprefix='valgrind --error-exitcode=42'
|
exeprefix='valgrind --error-exitcode=42 --errors-for-leak-kinds=all --leak-check=full'
|
||||||
postfix='1>/dev/null'
|
postfix='1>/dev/null'
|
||||||
threads="1"
|
threads="1"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue