Loading tests/renderer/utils.py +10 −9 Original line number Diff line number Diff line Loading @@ -230,28 +230,29 @@ def run_renderer( # if in REF or CUT creation mode use the comparetestv if test_info.config.option.create_ref or test_info.config.option.create_cut: FORMAT_TO_FILE = FORMAT_TO_FILE_COMPARETEST elif test_info.config.option.use_ltv: format_to_file = FORMAT_TO_FILE_COMPARETEST else: format_to_file = FORMAT_TO_FILE_SMOKETEST if test_info.config.option.use_ltv: if test_info.config.option.ltv_dir: FORMAT_TO_FILE = dict() format_to_file = dict() for k, v in FORMAT_TO_FILE_LTV.items(): FORMAT_TO_FILE[k] = str(v).replace( format_to_file[k] = str(v).replace( str(LTV_DIR), str(test_info.config.option.ltv_dir) ) else: FORMAT_TO_FILE = FORMAT_TO_FILE_LTV else: FORMAT_TO_FILE = FORMAT_TO_FILE_SMOKETEST format_to_file = FORMAT_TO_FILE_LTV if in_file is None: if metadata_input is not None: in_file = metadata_input in_name = metadata_input.stem elif not isinstance(in_fmt, str): in_file = FORMAT_TO_FILE[in_fmt.stem] in_file = format_to_file[in_fmt.stem] in_name = in_fmt.stem else: in_file = FORMAT_TO_FILE[in_fmt] in_file = format_to_file[in_fmt] in_name = in_fmt if out_file is None: Loading Loading
tests/renderer/utils.py +10 −9 Original line number Diff line number Diff line Loading @@ -230,28 +230,29 @@ def run_renderer( # if in REF or CUT creation mode use the comparetestv if test_info.config.option.create_ref or test_info.config.option.create_cut: FORMAT_TO_FILE = FORMAT_TO_FILE_COMPARETEST elif test_info.config.option.use_ltv: format_to_file = FORMAT_TO_FILE_COMPARETEST else: format_to_file = FORMAT_TO_FILE_SMOKETEST if test_info.config.option.use_ltv: if test_info.config.option.ltv_dir: FORMAT_TO_FILE = dict() format_to_file = dict() for k, v in FORMAT_TO_FILE_LTV.items(): FORMAT_TO_FILE[k] = str(v).replace( format_to_file[k] = str(v).replace( str(LTV_DIR), str(test_info.config.option.ltv_dir) ) else: FORMAT_TO_FILE = FORMAT_TO_FILE_LTV else: FORMAT_TO_FILE = FORMAT_TO_FILE_SMOKETEST format_to_file = FORMAT_TO_FILE_LTV if in_file is None: if metadata_input is not None: in_file = metadata_input in_name = metadata_input.stem elif not isinstance(in_fmt, str): in_file = FORMAT_TO_FILE[in_fmt.stem] in_file = format_to_file[in_fmt.stem] in_name = in_fmt.stem else: in_file = FORMAT_TO_FILE[in_fmt] in_file = format_to_file[in_fmt] in_name = in_fmt if out_file is None: Loading