ruby-changes:18191
From: kosaki <ko1@a...>
Date: Wed, 15 Dec 2010 03:21:38 +0900 (JST)
Subject: [ruby-changes:18191] Ruby:r30212 (trunk): * test/ripper/test_parser_events.rb (TestRipper#test_block_variables):
kosaki 2010-12-15 03:21:31 +0900 (Wed, 15 Dec 2010) New Revision: 30212 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30212 Log: * test/ripper/test_parser_events.rb (TestRipper#test_block_variables): Limit address space 100MB instead 100KB. Quite frankly, This margin is too narrow to contain ruby. [ruby-dev:42763] [Bug#4159] Modified files: trunk/ChangeLog trunk/test/ripper/test_parser_events.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 30211) +++ ChangeLog (revision 30212) @@ -1,3 +1,9 @@ +Wed Dec 15 03:41:31 2010 KOSAKI Motohiro <kosaki.motohiro@g...> + + * test/ripper/test_parser_events.rb (TestRipper#test_block_variables): + Limit address space 100MB instead 100KB. Quite frankly, This + margin is too narrow to contain ruby. [ruby-dev:42763] [Bug#4159] + Tue Dec 14 23:53:52 2010 NARUSE, Yui <naruse@r...> * io.c (simple_sendfile): improve linux compatibility on FreeBSD, Index: test/ripper/test_parser_events.rb =================================================================== --- test/ripper/test_parser_events.rb (revision 30211) +++ test/ripper/test_parser_events.rb (revision 30212) @@ -1097,7 +1097,7 @@ assert_equal("[fcall(proc,[],&block([],[void()]))]", parse("proc{|;y|}")) if defined?(Process::RLIMIT_AS) assert_in_out_err(["-I#{File.dirname(__FILE__)}", "-rdummyparser"], - 'Process.setrlimit(Process::RLIMIT_AS,102400); puts DummyParser.new("proc{|;y|!y}").parse', + 'Process.setrlimit(Process::RLIMIT_AS,100*1024*1024); puts DummyParser.new("proc{|;y|!y}").parse', ["[fcall(proc,[],&block([],[unary(!,ref(y))]))]"], [], '[ruby-dev:39423]') end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/