mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-29 09:30:38 +02:00
Only remove files when cleaning temp dir
This commit is contained in:
@@ -31,7 +31,9 @@ class openram_test(unittest.TestCase):
|
||||
|
||||
files = glob.glob(OPTS.openram_temp + '*')
|
||||
for f in files:
|
||||
os.remove(f)
|
||||
# Only remove the files
|
||||
if os.path.isfile(f):
|
||||
os.remove(f)
|
||||
|
||||
# reset the static duplicate name checker for unit tests
|
||||
import design
|
||||
|
||||
Reference in New Issue
Block a user