summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-03 17:01:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-03 17:01:13 +0000
commitf6ed283fd5b22a6abb2b69ef06ed9850c9a5e611 (patch)
treea08ef3ad47a6532887d40f56b1d6318cd040d0d9 /test
parent36ba828dac49162528cf9c6ef9ae4fa77e8bd7e2 (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/mkmf/base.rb2
1 files changed, 1 insertions, 1 deletions
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