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

ruby-changes:8442

From: yugui <ko1@a...>
Date: Tue, 28 Oct 2008 10:25:20 +0900 (JST)
Subject: [ruby-changes:8442] Ruby:r19974 (ruby_1_9_1): merged r19973 from trunk into ruby_1_9_1.

yugui	2008-10-28 10:25:01 +0900 (Tue, 28 Oct 2008)

  New Revision: 19974

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

  Log:
    merged r19973 from trunk into ruby_1_9_1.
    * bootstraptest/test_thread.rb: ignore some exceptions.
      [ruby-dev:36951]

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/bootstraptest/test_thread.rb

Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 19973)
+++ ruby_1_9_1/ChangeLog	(revision 19974)
@@ -1,3 +1,8 @@
+Tue Oct 28 09:51:48 2008  NAKAMURA Usaku  <usa@r...>
+
+	* bootstraptest/test_thread.rb: ignore some exceptions.
+	  [ruby-dev:36951]
+
 Tue Oct 28 09:19:40 2008  NAKAMURA Usaku  <usa@r...>
 
 	* win32/Makefile.sub (RUNRUBY): now ruby requires something from
Index: ruby_1_9_1/bootstraptest/test_thread.rb
===================================================================
--- ruby_1_9_1/bootstraptest/test_thread.rb	(revision 19973)
+++ ruby_1_9_1/bootstraptest/test_thread.rb	(revision 19974)
@@ -363,5 +363,9 @@
 }, '[ruby-dev:35414]'
 
 assert_equal 'ok', %q{
-  10000.times { Thread.new(true) {|x| x == false } }; :ok
+  begin
+    10000.times { Thread.new(true) {|x| x == false } }
+  rescue NoMemoryError, StandardError
+  end
+  :ok
 }

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

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