Disable SPHINCS+ test taking too much RAM in ASAN

This commit is contained in:
Thom Wiggers 2020-12-01 12:33:33 +01:00 committed by Kris Kwiatkowski
부모 9b39cf950c
커밋 87c40ab558

파일 보기

@ -54,6 +54,11 @@ def test_functest_sanitizers(implementation, impl_path, test_dir,
init, destr): init, destr):
dest_dir = os.path.join(test_dir, 'bin') dest_dir = os.path.join(test_dir, 'bin')
env = None env = None
if (implementation.scheme.name == "sphincs-sha256-192s-robust"
and 'CI' in os.environ
and implementation.name == "clean"
and 'clang' in os.environ.get('CC', '')):
raise unittest.SkipTest("Clang makes this test use too much RAM")
if platform.machine() == 'ppc' and 'clang' in os.environ.get('CC', 'gcc'): if platform.machine() == 'ppc' and 'clang' in os.environ.get('CC', 'gcc'):
raise unittest.SkipTest("Clang does not support ASAN on ppc") raise unittest.SkipTest("Clang does not support ASAN on ppc")
elif platform.machine() in ['armv7l', 'aarch64']: elif platform.machine() in ['armv7l', 'aarch64']: