aboutsummaryrefslogtreecommitdiffstats
path: root/test/mkmf/test_sizeof.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/test_sizeof.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/test_sizeof.rb')
-rw-r--r--test/mkmf/test_sizeof.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mkmf/test_sizeof.rb b/test/mkmf/test_sizeof.rb
index 30f6fd5400..c0144226d5 100644
--- a/test/mkmf/test_sizeof.rb
+++ b/test/mkmf/test_sizeof.rb
@@ -40,6 +40,8 @@ class TestMkmf
f.puts "typedef struct {int x, y;} test1_t;"
}
assert_equal(2 * @sizeof_int, mkmf {check_sizeof("test1_t", "confdefs.h")}, MKMFLOG)
+ ensure
+ File.unlink("confdefs.h")
end
end
end