From 0d88ed65d91a9064f6bfa047818bcddd6ca445ba Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Tue, 1 Dec 2020 12:33:33 +0100 Subject: [PATCH] Disable SPHINCS+ test taking too much RAM in ASAN --- test/test_functest.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_functest.py b/test/test_functest.py index c23f9b97..c9a9db4b 100644 --- a/test/test_functest.py +++ b/test/test_functest.py @@ -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']: