projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6221ad
)
Close opened dump file.
author
Kaj Tuomi
<kaj.tuomi@siru.fi>
Thu, 19 May 2016 08:53:29 +0000
(11:53 +0300)
committer
Kaj Tuomi
<kaj.tuomi@siru.fi>
Thu, 19 May 2016 08:53:29 +0000
(11:53 +0300)
passes/tests/test_autotb.cc
patch
|
blob
|
history
diff --git
a/passes/tests/test_autotb.cc
b/passes/tests/test_autotb.cc
index 98cf7da749034fb0a00a502e376744bab795f994..cf01074eaf0fe5d84a5ad2dd2dfe0ee356ae0e0e 100644
(file)
--- a/
passes/tests/test_autotb.cc
+++ b/
passes/tests/test_autotb.cc
@@
-305,6
+305,7
@@
static void autotest(std::ostream &f, RTLIL::Design *design, int num_iter)
for (auto it = design->modules_.begin(); it != design->modules_.end(); ++it)
if (!it->second->get_bool_attribute("\\gentb_skip"))
f << stringf("\t%s;\n", idy(it->first.str(), "test").c_str());
+ f << stringf("\t$fclose(file);\n");
f << stringf("\t$finish;\n");
f << stringf("end\n\n");