mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Reduce variations to decrease test time.
This commit is contained in:
parent
171b3b6b0a
commit
e5f2f18798
4 changed files with 18 additions and 9 deletions
|
@ -130,9 +130,12 @@ def t_HighSNR_C_P_DATACx(
|
||||||
print(lastline)
|
print(lastline)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("bursts", [BURSTS, 2, 3])
|
# @pytest.mark.parametrize("bursts", [BURSTS, 2, 3])
|
||||||
@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 2, 3])
|
# @pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 2, 3])
|
||||||
@pytest.mark.parametrize("testframes", [TESTFRAMES, 2, 1])
|
# @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"])
|
@pytest.mark.parametrize("mode", ["datac0", "datac1", "datac3"])
|
||||||
def test_HighSNR_C_P_DATACx(
|
def test_HighSNR_C_P_DATACx(
|
||||||
bursts: int, frames_per_burst: int, testframes: int, mode: str
|
bursts: int, frames_per_burst: int, testframes: int, mode: str
|
||||||
|
|
|
@ -134,8 +134,10 @@ def t_HighSNR_P_C_DATACx(bursts: int, frames_per_burst: int, mode: str):
|
||||||
print(lastline)
|
print(lastline)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("bursts", [BURSTS, 2, 3])
|
# @pytest.mark.parametrize("bursts", [BURSTS, 2, 3])
|
||||||
@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 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"])
|
@pytest.mark.parametrize("mode", ["datac0", "datac1", "datac3"])
|
||||||
def test_HighSNR_P_C_DATACx(bursts: int, frames_per_burst: int, mode: str):
|
def test_HighSNR_P_C_DATACx(bursts: int, frames_per_burst: int, mode: str):
|
||||||
proc = multiprocessing.Process(
|
proc = multiprocessing.Process(
|
||||||
|
|
|
@ -95,8 +95,10 @@ def t_HighSNR_P_P_DATACx(bursts: int, frames_per_burst: int, mode: str):
|
||||||
print(lastline)
|
print(lastline)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("bursts", [BURSTS, 2, 3])
|
# @pytest.mark.parametrize("bursts", [BURSTS, 2, 3])
|
||||||
@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 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"])
|
@pytest.mark.parametrize("mode", ["datac0", "datac1", "datac3"])
|
||||||
def test_HighSNR_P_P_DATACx(bursts: int, frames_per_burst: int, mode: str):
|
def test_HighSNR_P_P_DATACx(bursts: int, frames_per_burst: int, mode: str):
|
||||||
proc = multiprocessing.Process(
|
proc = multiprocessing.Process(
|
||||||
|
|
|
@ -91,8 +91,10 @@ def t_HighSNR_P_P_Multi(bursts: int, frames_per_burst: int):
|
||||||
print(lastline)
|
print(lastline)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("bursts", [BURSTS, 2, 3])
|
# @pytest.mark.parametrize("bursts", [BURSTS, 2, 3])
|
||||||
@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 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):
|
def test_HighSNR_P_P_multi(bursts: int, frames_per_burst: int):
|
||||||
proc = multiprocessing.Process(
|
proc = multiprocessing.Process(
|
||||||
target=t_HighSNR_P_P_Multi,
|
target=t_HighSNR_P_P_Multi,
|
||||||
|
|
Loading…
Reference in a new issue