[前][次][番号順一覧][スレッド一覧]

ruby-changes:27837

From: akr <ko1@a...>
Date: Sun, 24 Mar 2013 02:16:32 +0900 (JST)
Subject: [ruby-changes:27837] akr:r39889 (trunk): * test/mkmf/test_have_macro.rb: remove temporally files in the tests.

akr	2013-03-24 02:16:21 +0900 (Sun, 24 Mar 2013)

  New Revision: 39889

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39889

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

  Modified files:
    trunk/ChangeLog
    trunk/test/mkmf/test_have_macro.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39888)
+++ ChangeLog	(revision 39889)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Mar 24 02:14:53 2013  Tanaka Akira  <akr@f...>
+
+	* test/mkmf/test_have_macro.rb: remove temporally files in the tests.
+
 Sat Mar 23 23:50:04 2013  NARUSE, Yui  <naruse@r...>
 
 	* addr2line.c (kprintf): added from FreeBSD libstand's printf.
Index: test/mkmf/test_have_macro.rb
===================================================================
--- test/mkmf/test_have_macro.rb	(revision 39888)
+++ test/mkmf/test_have_macro.rb	(revision 39889)
@@ -16,6 +16,7 @@ class TestMkmf https://github.com/ruby/ruby/blob/trunk/test/mkmf/test_have_macro.rb#L16
         tmp.close
         base = File.basename(tmp.path)
         assert_equal(true, have_macro(MACRO_NAME, base, "-I."), MKMFLOG)
+        tmp.close(true)
       end
     end
 
@@ -29,6 +30,7 @@ class TestMkmf https://github.com/ruby/ruby/blob/trunk/test/mkmf/test_have_macro.rb#L30
         tmp.close
         base = File.basename(tmp.path)
         assert_equal(false, have_macro(MACRO_NAME, base, "-I."), MKMFLOG)
+        tmp.close(true)
       end
     end
   end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]