From f6ed283fd5b22a6abb2b69ef06ed9850c9a5e611 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 3 Mar 2015 17:01:13 +0000 Subject: [PATCH] mkmf/base.rb: clean up tmpdir * test/mkmf/base.rb (TestMkmf#assert_separately): call teardown to clean up temporary directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/mkmf/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mkmf/base.rb b/test/mkmf/base.rb index 539248957b..dbaf666887 100644 --- a/test/mkmf/base.rb +++ b/test/mkmf/base.rb @@ -135,6 +135,6 @@ class TestMkmf include TestMkmf::Base def assert_separately(args, src, *rest) - super(args + ["-r#{__FILE__}"], "extend TestMkmf::Base; setup\n#{src}", *rest) + super(args + ["-r#{__FILE__}"], "extend TestMkmf::Base; setup\nEND{teardown}\n#{src}", *rest) end end