From 8c3bc2ac0da4457f90775608e9701e0a7ba1e4cf Mon Sep 17 00:00:00 2001 From: Kaj Tuomi Date: Thu, 19 May 2016 11:53:29 +0300 Subject: [PATCH] Close opened dump file. --- passes/tests/test_autotb.cc | 1 + 1 file changed, 1 insertion(+) 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"); -- 2.30.2