projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5830756
)
Enhance CI to error on leaks
author
Joost VandeVondele
<Joost.VandeVondele@gmail.com>
Thu, 3 Jun 2021 17:18:24 +0000 (19:18 +0200)
committer
Stéphane Nicolet
<cassio@free.fr>
Sat, 5 Jun 2021 08:55:57 +0000 (10:55 +0200)
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.
tests/instrumented.sh
patch
|
blob
|
history
diff --git
a/tests/instrumented.sh
b/tests/instrumented.sh
index
bfb50e9
..
d30c8e3
100755
(executable)
--- 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"
;;