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

ruby-changes:26336

From: kosaki <ko1@a...>
Date: Sat, 15 Dec 2012 08:16:44 +0900 (JST)
Subject: [ruby-changes:26336] kosaki:r38387 (trunk): * test/ruby/test_thread.rb (TestThread::Thread::new.): remove

kosaki	2012-12-15 08:11:26 +0900 (Sat, 15 Dec 2012)

  New Revision: 38387

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

  Log:
    * test/ruby/test_thread.rb (TestThread::Thread::new.): remove
      th.abort_on_exception change. Test template shouldn't change
      global flag. It prevent to test a normal case.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_thread.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38386)
+++ ChangeLog	(revision 38387)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Dec 15 08:02:11 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* test/ruby/test_thread.rb (TestThread::Thread::new.): remove
+	  th.abort_on_exception change. Test template shouldn't change
+	  global flag. It prevent to test a normal case.
+
 Sat Dec 15 06:15:14 2012  Eric Hodel  <drbrain@s...>
 
 	* configure.in (HAVE_GCC_ATOMIC_BUILTINS):  Set -march=i486 to enable
Index: test/ruby/test_thread.rb
===================================================================
--- test/ruby/test_thread.rb	(revision 38386)
+++ test/ruby/test_thread.rb	(revision 38387)
@@ -7,7 +7,6 @@ class TestThread < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_thread.rb#L7
     Threads = []
     def self.new(*)
       th = super
-      th.abort_on_exception = true
       Threads << th
       th
     end

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

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