Skip to content

Commit

Permalink
test_speed.py: limit testing of stfl sigs to parameters with 2^10 max…
Browse files Browse the repository at this point in the history
… sigs
  • Loading branch information
cr-marcstevens committed Oct 19, 2024
1 parent aae3f41 commit e11870c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_speed.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e11870c

Please sign in to comment.