mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-24 21:44:29 +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)
|
#print(regressionDir)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
shutil.rmtree("wkdir")
|
try:
|
||||||
os.mkdir("wkdir")
|
shutil.rmtree("wkdir")
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
finally:
|
||||||
|
os.mkdir("wkdir")
|
||||||
|
|
||||||
if '-makeTests' in sys.argv:
|
if '-makeTests' in sys.argv:
|
||||||
os.chdir(regressionDir)
|
os.chdir(regressionDir)
|
||||||
|
Loading…
Reference in New Issue
Block a user