From 8b4f656376d38d0c30bb4f6aeee5742454aa144b Mon Sep 17 00:00:00 2001 From: Douglas Stebila Date: Wed, 10 Apr 2019 14:14:49 -0400 Subject: [PATCH] Skip too-slow valgrind tests on i386 CircleCI builds --- test/test_valgrind.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_valgrind.py b/test/test_valgrind.py index 219791cd..1fa8b601 100644 --- a/test/test_valgrind.py +++ b/test/test_valgrind.py @@ -20,6 +20,8 @@ def check_valgrind(implementation: pqclean.Implementation): if (platform.machine() not in ('i386', 'x86_64') or platform.system() != 'Linux'): 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, SCHEME=implementation.scheme.name,