mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-24 13:34:28 +00:00
Fixed regression-wally to correct remove and mkdir wkdir.
This commit is contained in:
parent
940fd2f924
commit
f04ca5cb6a
@ -163,8 +163,12 @@ def main():
|
||||
#print(regressionDir)
|
||||
except:
|
||||
pass
|
||||
shutil.rmtree("wkdir")
|
||||
os.mkdir("wkdir")
|
||||
try:
|
||||
shutil.rmtree("wkdir")
|
||||
except:
|
||||
pass
|
||||
finally:
|
||||
os.mkdir("wkdir")
|
||||
|
||||
if '-makeTests' in sys.argv:
|
||||
os.chdir(regressionDir)
|
||||
|
Loading…
Reference in New Issue
Block a user