1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-29 19:01:22 +00:00

Skip too-slow valgrind tests on i386 CircleCI builds

This commit is contained in:
Douglas Stebila 2019-04-10 14:14:49 -04:00
parent 0ee03d4c3f
commit 8b4f656376

View File

@ -20,6 +20,8 @@ def check_valgrind(implementation: pqclean.Implementation):
if (platform.machine() not in ('i386', 'x86_64') or if (platform.machine() not in ('i386', 'x86_64') or
platform.system() != 'Linux'): platform.system() != 'Linux'):
raise unittest.SkipTest() raise unittest.SkipTest()
if os.environ.get('CIRCLECI') == 'true' and os.environ.get('ARCH') == 'i386' and (implementation.scheme.name == 'frodokem1344aes' or implementation.scheme.name == 'frodokem1344shake'):
raise unittest.SkipTest('Skipping too-slow valgrind test')
helpers.make(TYPE=implementation.scheme.type, helpers.make(TYPE=implementation.scheme.type,
SCHEME=implementation.scheme.name, SCHEME=implementation.scheme.name,