aboutsummaryrefslogtreecommitdiffstats
path: root/test/mkmf/base.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-03 09:41:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-03 09:41:14 +0000
commit9102ee7be2586b5206a9ad40c1bb5f0624911931 (patch)
tree4909c647696e7506cee32234c861971dfe39b2ca /test/mkmf/base.rb
parentca512bdaa878df34fd27b720998d40fbc68a5e0f (diff)
downloadruby-9102ee7be2586b5206a9ad40c1bb5f0624911931.tar.gz
* test/mkmf: remove generated files and ensure nothing left.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/mkmf/base.rb')
-rw-r--r--test/mkmf/base.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mkmf/base.rb b/test/mkmf/base.rb
index 54f2e7a6be..9841aa3e48 100644
--- a/test/mkmf/base.rb
+++ b/test/mkmf/base.rb
@@ -107,8 +107,10 @@ class TestMkmf < Test::Unit::TestCase
}
Logging.quiet = @quiet
Logging.log_close
+ FileUtils.rm_f("mkmf.log")
Dir.chdir(@curdir)
FileUtils.rm_rf(@tmpdir)
+ assert_empty(Dir.glob("conftest*") - %w[. ..])
end
def mkmf(*args, &block)