Commit 1b7c6fdc authored by Ke Zhao's avatar Ke Zhao
Browse files

Update pytest xfail check to support <=320kbps with only 0DoF

parent 096c3d10
Loading
Loading
Loading
Loading
Loading
+3 −13
Original line number Diff line number Diff line
@@ -46,19 +46,9 @@ def check_xfail(test_info, in_fmt, render_config, bitrate=None):
        pytest.xfail("0DOF 768kbps LC3plus codec is unsupported")

    if (
        "256k" in render_config
        and "0dof" not in render_config
        and (
            "lcld" in render_config
            or (in_fmt in INPUT_FORMATS_AMBI or in_fmt in INPUT_FORMATS_MASA)
            or (
                "full_chain_split" in test_info.node.name
                and in_fmt in INPUT_FORMATS_MC
                and bitrate <= IVAS_BITRATES_MC[1]
            )  # FastConv for ParamMC/ParamUpmix modes uses LCLD by default
        )
    ):
        pytest.xfail("Unsupported bitrate for LCLD codec")
        "256k" in render_config or "320k" in render_config
    ) and "0dof" not in render_config:
        pytest.xfail("320kbps and lower are only supported with 0DOF")

    if (
        bitrate