1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/mkmf/test_have_macro.rb: remove temporally files in the tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2013-03-23 17:16:21 +00:00
parent 668f6c7bc6
commit c09287bdaa
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Sun Mar 24 02:14:53 2013 Tanaka Akira <akr@fsij.org>
* test/mkmf/test_have_macro.rb: remove temporally files in the tests.
Sat Mar 23 23:50:04 2013 NARUSE, Yui <naruse@ruby-lang.org> Sat Mar 23 23:50:04 2013 NARUSE, Yui <naruse@ruby-lang.org>
* addr2line.c (kprintf): added from FreeBSD libstand's printf. * addr2line.c (kprintf): added from FreeBSD libstand's printf.

View file

@ -16,6 +16,7 @@ class TestMkmf
tmp.close tmp.close
base = File.basename(tmp.path) base = File.basename(tmp.path)
assert_equal(true, have_macro(MACRO_NAME, base, "-I."), MKMFLOG) assert_equal(true, have_macro(MACRO_NAME, base, "-I."), MKMFLOG)
tmp.close(true)
end end
end end
@ -29,6 +30,7 @@ class TestMkmf
tmp.close tmp.close
base = File.basename(tmp.path) base = File.basename(tmp.path)
assert_equal(false, have_macro(MACRO_NAME, base, "-I."), MKMFLOG) assert_equal(false, have_macro(MACRO_NAME, base, "-I."), MKMFLOG)
tmp.close(true)
end end
end end
end end