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

ruby-changes:25170

From: knu <ko1@a...>
Date: Tue, 16 Oct 2012 17:57:03 +0900 (JST)
Subject: [ruby-changes:25170] knu:r37221 (ruby_1_8): * test/-ext-/test_threadswitch_hook.rb

knu	2012-10-16 17:55:11 +0900 (Tue, 16 Oct 2012)

  New Revision: 37221

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

  Log:
    * test/-ext-/test_threadswitch_hook.rb
      (Test_ThreadSwitch#test_threadswitch_init): This test does not
      pass because the hook method actually calls rb_add_event_hook()
      which does not emit a warning.

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/test/-ext-/test_threadswitch_hook.rb

Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 37220)
+++ ruby_1_8/ChangeLog	(revision 37221)
@@ -1,3 +1,10 @@
+Tue Oct 16 17:35:41 2012  Akinori MUSHA  <knu@i...>
+
+	* test/-ext-/test_threadswitch_hook.rb
+	  (Test_ThreadSwitch#test_threadswitch_init): This test does not
+	  pass because the hook method actually calls rb_add_event_hook()
+	  which does not emit a warning.
+
 Tue Oct 16 17:00:36 2012  Akinori MUSHA  <knu@i...>
 
 	* error.c (name_err_to_s): we need not infect msg.
Index: ruby_1_8/test/-ext-/test_threadswitch_hook.rb
===================================================================
--- ruby_1_8/test/-ext-/test_threadswitch_hook.rb	(revision 37220)
+++ ruby_1_8/test/-ext-/test_threadswitch_hook.rb	(revision 37221)
@@ -10,7 +10,7 @@
         threads << thread if name == "thread-init"
       }
     }
-    assert_match(/not an official API/, warning)
+    #assert_match(/not an official API/, warning)
     assert_operator(threads, :include?, Thread.current)
   end
 end

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

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