Make sure tests respond to undefined behaviour

This commit is contained in:
Thom Wiggers 2020-03-09 17:51:09 -04:00
förälder 9023fef558
incheckning 9b06aedefe
Ingen känd nyckel hittad för denna signaturen i databasen
GPG-nyckel ID: 001BB0A7CE26E363

Visa fil

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