ruby-changes:8441
From: usa <ko1@a...>
Date: Tue, 28 Oct 2008 09:52:46 +0900 (JST)
Subject: [ruby-changes:8441] Ruby:r19973 (trunk): * bootstraptest/test_thread.rb: ignore some exceptions.
usa 2008-10-28 09:52:32 +0900 (Tue, 28 Oct 2008) New Revision: 19973 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19973 Log: * bootstraptest/test_thread.rb: ignore some exceptions. [ruby-dev:36951] Modified files: trunk/ChangeLog trunk/bootstraptest/test_thread.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 19972) +++ ChangeLog (revision 19973) @@ -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: bootstraptest/test_thread.rb =================================================================== --- bootstraptest/test_thread.rb (revision 19972) +++ bootstraptest/test_thread.rb (revision 19973) @@ -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/