From e5f2f18798d240793d19adecbab7b97598c4e3e0 Mon Sep 17 00:00:00 2001 From: Paul Kronenwetter Date: Sun, 12 Jun 2022 19:48:21 -0400 Subject: [PATCH] Reduce variations to decrease test time. --- test/test_highsnr_stdio_C_P_datacx.py | 9 ++++++--- test/test_highsnr_stdio_P_C_datacx.py | 6 ++++-- test/test_highsnr_stdio_P_P_datacx.py | 6 ++++-- test/test_highsnr_stdio_P_P_multi.py | 6 ++++-- 4 files changed, 18 insertions(+), 9 deletions(-) diff --git a/test/test_highsnr_stdio_C_P_datacx.py b/test/test_highsnr_stdio_C_P_datacx.py index 8cb430a8..ac34b55d 100644 --- a/test/test_highsnr_stdio_C_P_datacx.py +++ b/test/test_highsnr_stdio_C_P_datacx.py @@ -130,9 +130,12 @@ def t_HighSNR_C_P_DATACx( print(lastline) -@pytest.mark.parametrize("bursts", [BURSTS, 2, 3]) -@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 2, 3]) -@pytest.mark.parametrize("testframes", [TESTFRAMES, 2, 1]) +# @pytest.mark.parametrize("bursts", [BURSTS, 2, 3]) +# @pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 2, 3]) +# @pytest.mark.parametrize("testframes", [TESTFRAMES, 2, 1]) +@pytest.mark.parametrize("bursts", [BURSTS]) +@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST]) +@pytest.mark.parametrize("testframes", [TESTFRAMES]) @pytest.mark.parametrize("mode", ["datac0", "datac1", "datac3"]) def test_HighSNR_C_P_DATACx( bursts: int, frames_per_burst: int, testframes: int, mode: str diff --git a/test/test_highsnr_stdio_P_C_datacx.py b/test/test_highsnr_stdio_P_C_datacx.py index 7637e3dc..47f6d533 100644 --- a/test/test_highsnr_stdio_P_C_datacx.py +++ b/test/test_highsnr_stdio_P_C_datacx.py @@ -134,8 +134,10 @@ def t_HighSNR_P_C_DATACx(bursts: int, frames_per_burst: int, mode: str): print(lastline) -@pytest.mark.parametrize("bursts", [BURSTS, 2, 3]) -@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 2, 3]) +# @pytest.mark.parametrize("bursts", [BURSTS, 2, 3]) +# @pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 2, 3]) +@pytest.mark.parametrize("bursts", [BURSTS]) +@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST]) @pytest.mark.parametrize("mode", ["datac0", "datac1", "datac3"]) def test_HighSNR_P_C_DATACx(bursts: int, frames_per_burst: int, mode: str): proc = multiprocessing.Process( diff --git a/test/test_highsnr_stdio_P_P_datacx.py b/test/test_highsnr_stdio_P_P_datacx.py index 94f32bb7..8975a6d6 100644 --- a/test/test_highsnr_stdio_P_P_datacx.py +++ b/test/test_highsnr_stdio_P_P_datacx.py @@ -95,8 +95,10 @@ def t_HighSNR_P_P_DATACx(bursts: int, frames_per_burst: int, mode: str): print(lastline) -@pytest.mark.parametrize("bursts", [BURSTS, 2, 3]) -@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 2, 3]) +# @pytest.mark.parametrize("bursts", [BURSTS, 2, 3]) +# @pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 2, 3]) +@pytest.mark.parametrize("bursts", [BURSTS]) +@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST]) @pytest.mark.parametrize("mode", ["datac0", "datac1", "datac3"]) def test_HighSNR_P_P_DATACx(bursts: int, frames_per_burst: int, mode: str): proc = multiprocessing.Process( diff --git a/test/test_highsnr_stdio_P_P_multi.py b/test/test_highsnr_stdio_P_P_multi.py index 09efb021..cba9bb07 100644 --- a/test/test_highsnr_stdio_P_P_multi.py +++ b/test/test_highsnr_stdio_P_P_multi.py @@ -91,8 +91,10 @@ def t_HighSNR_P_P_Multi(bursts: int, frames_per_burst: int): print(lastline) -@pytest.mark.parametrize("bursts", [BURSTS, 2, 3]) -@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 2, 3]) +# @pytest.mark.parametrize("bursts", [BURSTS, 2, 3]) +# @pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 2, 3]) +@pytest.mark.parametrize("bursts", [BURSTS]) +@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST]) def test_HighSNR_P_P_multi(bursts: int, frames_per_burst: int): proc = multiprocessing.Process( target=t_HighSNR_P_P_Multi,