Commit 8a3767a4 authored by norvell's avatar norvell
Browse files

Fix

parent 3ffdb450
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ Execute tests specified via a parameter file.
"""

import os
import shutil
from pathlib import Path
import filecmp
import subprocess
@@ -97,7 +98,7 @@ for s in scripts:
            proc = replace_paths(proc, testv_path, ref_path, cut_path)
            if 'rm' in proc:
                path = proc.split()[-1]
                if os.path.exists(path): os.remove(path)
                if os.path.exists(path): shutil.rmtree(path)
            if 'mkdir' in proc:
                path = proc.split()[-1]
                os.makedirs(path)