1
1
镜像自地址 https://github.com/henrydcase/pqc.git 已同步 2024-11-22 07:35:38 +00:00

Disable SPHINCS+ test taking too much RAM in ASAN

这个提交包含在:
Thom Wiggers 2020-12-01 12:33:33 +01:00 提交者 Kris Kwiatkowski
父节点 9b39cf950c
当前提交 87c40ab558

查看文件

@ -54,6 +54,11 @@ def test_functest_sanitizers(implementation, impl_path, test_dir,
init, destr):
dest_dir = os.path.join(test_dir, 'bin')
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'):
raise unittest.SkipTest("Clang does not support ASAN on ppc")
elif platform.machine() in ['armv7l', 'aarch64']: