1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-26 09:21:28 +00:00

Enable leak check in Valgrind

This commit is contained in:
Thom Wiggers 2020-02-19 15:44:02 -05:00 committed by Kris Kwiatkowski
parent d8c9c431cf
commit 698738c263

View File

@ -54,6 +54,7 @@ def test_valgrind(implementation: pqclean.Implementation, impl_path, test_dir,
helpers.run_subprocess( helpers.run_subprocess(
['valgrind', ['valgrind',
'--error-exitcode=1', '--error-exitcode=1',
'--leak-check=yes',
*(['--exit-on-first-error=yes'] *(['--exit-on-first-error=yes']
if valgrind_supports_exit_early() if valgrind_supports_exit_early()
else []), else []),