Commit c5879a97 authored by norvell's avatar norvell
Browse files

New attempt: remove rm/mkdir

parent cc69760b
Loading
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -96,7 +96,12 @@ for s in scripts:
                diff_opts  = ""
        for proc in preproc:
            proc = replace_paths(proc, testv_path, ref_path, cut_path)
            subprocess.run(proc.split())
            path_arg = proc.split()[-1]
            if "rm" in proc:
                if os.path.exists(path_arg)
                    shutil.rmtree(path_arg)
            if "mkdir" in proc:
                Path(path_arg).mkdir(parents=True, exist_ok=True)

@pytest.mark.parametrize("test_tag", list(test_dict.keys()))
def test_26252(test_tag, encoder_path, decoder_path, renderer_path):