From: Kaj Tuomi Date: Thu, 19 May 2016 08:53:29 +0000 (+0300) Subject: Close opened dump file. X-Git-Tag: yosys-0.7~217^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c3bc2ac0da4457f90775608e9701e0a7ba1e4cf;p=yosys.git Close opened dump file. --- diff --git a/passes/tests/test_autotb.cc b/passes/tests/test_autotb.cc index 98cf7da74..cf01074ea 100644 --- 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");