Commit 5db31dd9 authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

add delay profiles back but mark all DP tests as skipped using pytest.skip()

parent 77413102
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -180,6 +180,9 @@ INPUT_DURATION_SEC = 5
""" PLC constants """
PLC_ERROR_PATTERNS = [str(ep.stem) for ep in ERROR_PATTERNS_DIR.glob("*.ep")]

""" Delay profiles for testing VoIP mode """
DELAY_PROFILES = [None, "dly_error_profile_5"]

""" Encoder commandline template """
SPLIT_PRE_COD_CMD = [
    str(TESTS_DIR.parent.parent.joinpath("IVAS_cod")),
+27 −3
Original line number Diff line number Diff line
@@ -57,6 +57,9 @@ def test_ambisonics_full_chain_split(
    trajectory,
    delay_profile
):
    if delay_profile is not None:
        pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None")
    
    post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv")
    pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed")

@@ -140,6 +143,9 @@ def test_multichannel_full_chain_split(
    trajectory,
    delay_profile
):
    if delay_profile is not None:
        pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None")
        
    post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv")
    pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed")

@@ -223,6 +229,9 @@ def test_ism_full_chain_split(
    trajectory,
    delay_profile
):
    if delay_profile is not None:
        pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None")
    
    post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv")
    pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed")

@@ -306,6 +315,8 @@ def test_masa_full_chain_split(
    trajectory,
    delay_profile
):
    if delay_profile is not None:
        pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None")
    
    post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv")
    pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed")
@@ -390,6 +401,9 @@ def test_omasa_full_chain_split(
    trajectory,
    delay_profile
):
    if delay_profile is not None:
        pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None")
    
    post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv")
    pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed")

@@ -471,6 +485,9 @@ def test_osba_full_chain_split(
    render_config,
    trajectory
):
    if delay_profile is not None:
        pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None")
    
    post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv")
    pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed")

@@ -597,8 +614,12 @@ def test_full_chain_split_pcm(
    test_info,
    in_fmt,
    bitrate,
    render_config
    render_config,
    delay_profile
):
    if delay_profile is not None:
        pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None")
    
    trajectory = SPLIT_REND_HR_TRAJECTORIES_TO_TEST[0]
    post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv")
    pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed")
@@ -729,6 +750,9 @@ def test_framing_combinations_full_chain_split(
    pre_rend_fr,
    delay_profile
):
    if delay_profile is not None:
        pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None")
    
    post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv")
    pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed")