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

ruby-changes:37754

From: nobu <ko1@a...>
Date: Wed, 4 Mar 2015 02:01:28 +0900 (JST)
Subject: [ruby-changes:37754] nobu:r49835 (trunk): mkmf/base.rb: clean up tmpdir

nobu	2015-03-04 02:01:13 +0900 (Wed, 04 Mar 2015)

  New Revision: 49835

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

  Log:
    mkmf/base.rb: clean up tmpdir
    
    * test/mkmf/base.rb (TestMkmf#assert_separately): call teardown to
      clean up temporary directory.

  Modified files:
    trunk/test/mkmf/base.rb
Index: test/mkmf/base.rb
===================================================================
--- test/mkmf/base.rb	(revision 49834)
+++ test/mkmf/base.rb	(revision 49835)
@@ -135,6 +135,6 @@ class TestMkmf https://github.com/ruby/ruby/blob/trunk/test/mkmf/base.rb#L135
   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

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

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