mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Regression directory creation fix
This commit is contained in:
parent
fd82aa2e5b
commit
f160b9c7fb
@ -479,12 +479,13 @@ def makeDirs(sims):
|
|||||||
for sim in sims:
|
for sim in sims:
|
||||||
dirs = [f"{regressionDir}/{sim}/wkdir", f"{regressionDir}/{sim}/logs"]
|
dirs = [f"{regressionDir}/{sim}/wkdir", f"{regressionDir}/{sim}/logs"]
|
||||||
for d in dirs:
|
for d in dirs:
|
||||||
shutil.rmtree(d)
|
shutil.rmtree(d, ignore_errors=True)
|
||||||
os.makedirs(d, exist_ok=True)
|
os.makedirs(d, exist_ok=True)
|
||||||
|
|
||||||
|
|
||||||
def main(args):
|
def main(args):
|
||||||
sims, coverStr, TIMEOUT_DUR = process_args(args)
|
sims, coverStr, TIMEOUT_DUR = process_args(args)
|
||||||
|
makeDirs(sims)
|
||||||
configs = selectTests(args, sims, coverStr)
|
configs = selectTests(args, sims, coverStr)
|
||||||
# Scale the number of concurrent processes to the number of test cases, but
|
# Scale the number of concurrent processes to the number of test cases, but
|
||||||
# max out at a limited number of concurrent processes to not overwhelm the system
|
# max out at a limited number of concurrent processes to not overwhelm the system
|
||||||
|
Loading…
Reference in New Issue
Block a user