1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-26 17:31:38 +00:00

Make sure tests respond to undefined behaviour

This commit is contained in:
Thom Wiggers 2020-03-09 17:51:09 -04:00
parent 9023fef558
commit 9b06aedefe
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

View File

@ -70,7 +70,9 @@ def test_functest_sanitizers(implementation, impl_path, test_dir,
TYPE=implementation.scheme.type,
SCHEME=implementation.scheme.name,
IMPLEMENTATION=implementation.name,
EXTRAFLAGS='-g -fsanitize=address,undefined',
EXTRAFLAGS=(
'-g -fsanitize=address,undefined '
'-fno-sanitize-recover=undefined'),
SCHEME_DIR=impl_path,
DEST_DIR=dest_dir,
working_dir=os.path.join(test_dir, 'test'),