From: Joost VandeVondele Date: Thu, 3 Jun 2021 17:18:24 +0000 (+0200) Subject: Enhance CI to error on leaks X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=98cbaa6c6b07ea594501ed7a53ea83feb7c8ea9c;ds=sidebyside 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. --- diff --git a/tests/instrumented.sh b/tests/instrumented.sh index bfb50e94..d30c8e35 100755 --- a/tests/instrumented.sh +++ b/tests/instrumented.sh @@ -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" ;;