mirror of
https://github.com/enjoy-digital/litedram.git
synced 2025-01-04 09:52:25 -05:00
test/test_init: delete generated file
This commit is contained in:
parent
188b6a8feb
commit
5b48eb278a
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,9 @@ from litedram.init import get_sdram_phy_c_header, get_sdram_phy_py_header
|
|||
|
||||
def compare_with_reference(content, filename):
|
||||
write_to_file(filename, content)
|
||||
return filecmp.cmp(filename, os.path.join("test", "reference", filename))
|
||||
r = filecmp.cmp(filename, os.path.join("test", "reference", filename))
|
||||
os.remove(filename)
|
||||
return r
|
||||
|
||||
|
||||
class TestInit(unittest.TestCase):
|
||||
|
|
Loading…
Reference in a new issue