From 3e2c7b6b0555551a1c1023a65362118afc968a7e Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Tue, 10 Nov 2020 17:51:33 +0100 Subject: [PATCH] Disable skipping slow tests --- test/helpers.py | 10 ---------- test/test_functest.py | 1 - test/test_valgrind.py | 1 - 3 files changed, 12 deletions(-) diff --git a/test/helpers.py b/test/helpers.py index 5eee1d29..db1c839d 100644 --- a/test/helpers.py +++ b/test/helpers.py @@ -156,16 +156,6 @@ def skip_windows(message="This test is not supported on Windows"): return wrapper -def slow_test(f): - @functools.wraps(f) - def wrapper(*args, **kwargs): - if ('CI' in os.environ and 'RUN_SLOW' not in os.environ and - os.environ.get('TRAVIS_EVENT_TYPE') != 'cron'): - raise unittest.SkipTest("Slow test skipped on CI run") - return f(*args, **kwargs) - return wrapper - - @lru_cache(maxsize=None) def ensure_available(executable): """ diff --git a/test/test_functest.py b/test/test_functest.py index 53171217..8249e6cd 100644 --- a/test/test_functest.py +++ b/test/test_functest.py @@ -50,7 +50,6 @@ def test_functest(implementation, impl_path, test_dir, ) @helpers.skip_windows() @helpers.filtered_test -@helpers.slow_test def test_functest_sanitizers(implementation, impl_path, test_dir, init, destr): dest_dir = os.path.join(test_dir, 'bin') diff --git a/test/test_valgrind.py b/test/test_valgrind.py index 32715b41..061758be 100644 --- a/test/test_valgrind.py +++ b/test/test_valgrind.py @@ -30,7 +30,6 @@ def valgrind_supports_exit_early(): for impl in pqclean.Scheme.all_supported_implementations()], ids=[str(impl) for impl in pqclean.Scheme.all_supported_implementations()], ) -@helpers.slow_test @helpers.filtered_test def test_valgrind(implementation: pqclean.Implementation, impl_path, test_dir, init, destr):