Loading ci/run_scheduled_sanitizer_test.py +14 −3 Original line number Diff line number Diff line Loading @@ -32,16 +32,27 @@ def main(args): def get_modes(in_format: str) -> list: cmd = [SCRIPT_DIR.joinpath("runIvasCodec.py"), "-l"] cmd = [ SCRIPT_DIR.joinpath("runIvasCodec.py"), "-C", "MC" if in_format in MC_MODES else in_format, "-l" ] list_process = subprocess.run(cmd, capture_output=True) output = list_process.stdout.decode("utf8") # correction for multichannel modes to avoid selecting some mono modes... if in_format in MC_MODES: in_format = "MC_" + in_format in_format = "MC_" + in_format + "_b" mode_list = [m for m in output.splitlines() if in_format in m] if "SBA" in in_format: # rate switching not implemented yet mode_list = [m for m in mode_list if not "_rs" in m] return [m for m in output.splitlines() if in_format in m] return mode_list def run_check(modes: list, out_formats: list, tests: list, run_fec: bool = True): Loading Loading
ci/run_scheduled_sanitizer_test.py +14 −3 Original line number Diff line number Diff line Loading @@ -32,16 +32,27 @@ def main(args): def get_modes(in_format: str) -> list: cmd = [SCRIPT_DIR.joinpath("runIvasCodec.py"), "-l"] cmd = [ SCRIPT_DIR.joinpath("runIvasCodec.py"), "-C", "MC" if in_format in MC_MODES else in_format, "-l" ] list_process = subprocess.run(cmd, capture_output=True) output = list_process.stdout.decode("utf8") # correction for multichannel modes to avoid selecting some mono modes... if in_format in MC_MODES: in_format = "MC_" + in_format in_format = "MC_" + in_format + "_b" mode_list = [m for m in output.splitlines() if in_format in m] if "SBA" in in_format: # rate switching not implemented yet mode_list = [m for m in mode_list if not "_rs" in m] return [m for m in output.splitlines() if in_format in m] return mode_list def run_check(modes: list, out_formats: list, tests: list, run_fec: bool = True): Loading