Commit 346a671f authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] failing PLC comparetest due to incorrect ref filename

parent 68b2d5fc
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -270,6 +270,10 @@ def run_external_split_rendering(
    if test_info.config.option.create_cut:
        # CUT creation mode will run a comparison with REF
        out_file_ref = str(OUTPUT_PATH_REF.joinpath(out_file_stem))
        if plc_error_pattern:
            out_file_ref = out_file_ref.with_stem(
                f"{out_file_ref.stem}_plc_{plc_error_pattern.stem}"
            )

        try:
            ref, ref_fs = readfile(out_file_ref)