Commit 98ecfc53 authored by norvell's avatar norvell
Browse files

Use os.remove/os.mkdirs instead of bash rm/mkdir

parent 09659a8c
Loading
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -95,7 +95,13 @@ for s in scripts:
                diff_opts  = ""
        for proc in preproc:
            proc = replace_paths(proc, testv_path, ref_path, cut_path)
            subprocess.run(proc.split())
            if 'rm' in proc:
                path = proc.split()[-1]
                if os.path.exists(path): os.remove(path)
            if 'mkdir' in proc:
                path = proc.split()[-1]
                os.mkdirs(path)
                

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