ruby-changes:6717
From: naruse <ko1@a...>
Date: Sun, 27 Jul 2008 22:24:31 +0900 (JST)
Subject: [ruby-changes:6717] Ruby:r18233 (trunk): * bootstraptests/method.rb: increase RLIMIT_STACK size to 4M+8Kbytes
naruse 2008-07-27 22:24:18 +0900 (Sun, 27 Jul 2008) New Revision: 18233 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18233 Log: * bootstraptests/method.rb: increase RLIMIT_STACK size to 4M+8Kbytes because FreeBSD fails this less than that. Modified files: trunk/ChangeLog trunk/bootstraptest/test_method.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 18232) +++ ChangeLog (revision 18233) @@ -1,3 +1,8 @@ +Sun Jul 27 22:11:57 2008 NARUSE, Yui <naruse@r...> + + * bootstraptests/method.rb: increase RLIMIT_STACK size to 4M+8Kbytes + because FreeBSD fails this less than that. + Sun Jul 27 21:45:59 2008 Koichi Sasada <ko1@a...> * gc.c (gc_mark_children, obj_free): T_DEFERRED should not be appear. Index: bootstraptest/test_method.rb =================================================================== --- bootstraptest/test_method.rb (revision 18232) +++ bootstraptest/test_method.rb (revision 18233) @@ -997,12 +997,13 @@ assert_normal_exit %q{ begin - Process.setrlimit(Process::RLIMIT_STACK, 1024*1024) + Process.setrlimit(Process::RLIMIT_STACK, 4_202_496) + # FreeBSD fails this less than 4M + 8K bytes. rescue Exception exit end class C - attr "a" * (2*1024*1024) + attr "a" * (10*1024*1024) end }, '[ruby-dev:31818]' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/