Add -d option to not delete temp directory on successful runs.

This commit is contained in:
Matt Guthaus
2018-02-01 11:53:02 -08:00
parent 8ef1e0af2c
commit d552d88f45
3 changed files with 11 additions and 2 deletions
+2 -1
View File
@@ -39,7 +39,8 @@ class openram_test(unittest.TestCase):
self.reset()
self.fail("LVS mismatch: {}".format(a.name))
self.cleanup()
if OPTS.purge_temp:
self.cleanup()
def cleanup(self):
""" Reset the duplicate checker and cleanup files. """