From e11870c42c65d5053ff05e0f17ab902c569be084 Mon Sep 17 00:00:00 2001 From: cr-marcstevens Date: Sat, 19 Oct 2024 17:39:52 +0200 Subject: [PATCH] test_speed.py: limit testing of stfl sigs to parameters with 2^10 max sigs --- tests/test_speed.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/test_speed.py b/tests/test_speed.py index b41412e22..22be199d6 100644 --- a/tests/test_speed.py +++ b/tests/test_speed.py @@ -24,8 +24,12 @@ def test_sig(sig_name): @pytest.mark.parametrize('sig_stfl_name', helpers.available_sig_stfls_by_name()) def test_sig(sig_stfl_name): kats = helpers.get_kats("sig_stfl") - if not(helpers.is_sig_stfl_enabled_by_name(sig_stfl_name)): pytest.skip('Not enabled') - helpers.run_subprocess( [helpers.path_to_executable('speed_sig_stfl'), sig_stfl_name, "-f"]) + if not(helpers.is_sig_stfl_enabled_by_name(sig_stfl_name)): + pytest.skip('Not enabled') + elif sig_stfl_name.find("_10")==-1 and sig_stfl_name.find("H10")==-1: + pytest.skip('Test skipped') + else: + helpers.run_subprocess( [helpers.path_to_executable('speed_sig_stfl'), sig_stfl_name, "-f"]) if __name__ == "__main__": import sys