1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-27 01:41:40 +00:00

Enable leak check in Valgrind

This commit is contained in:
Thom Wiggers 2020-02-19 15:44:02 -05:00
parent fe4e12308b
commit 2b267defdb
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

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 []),