mirror of https://github.com/VLSIDA/OpenRAM.git
Only remove files when cleaning temp dir
This commit is contained in:
parent
c63eb3be3b
commit
1d9274621a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue