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

ruby-changes:52173

From: normal <ko1@a...>
Date: Thu, 16 Aug 2018 03:56:41 +0900 (JST)
Subject: [ruby-changes:52173] normal:r64381 (trunk): test/ripper/test_parser_events.rb (test_block_variables): bump RLIMIT_AS again

normal	2018-08-16 03:56:34 +0900 (Thu, 16 Aug 2018)

  New Revision: 64381

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64381

  Log:
    test/ripper/test_parser_events.rb (test_block_variables): bump RLIMIT_AS again
    
    I still seem to need more memory for parallel tests with MJIT...

  Modified files:
    trunk/test/ripper/test_parser_events.rb
Index: test/ripper/test_parser_events.rb
===================================================================
--- test/ripper/test_parser_events.rb	(revision 64380)
+++ test/ripper/test_parser_events.rb	(revision 64381)
@@ -1458,7 +1458,7 @@ class TestRipper::ParserEvents < Test::U https://github.com/ruby/ruby/blob/trunk/test/ripper/test_parser_events.rb#L1458
     assert_equal("[fcall(proc,[],&block([],[void()]))]", parse("proc{|;y|}"))
     if defined?(Process::RLIMIT_AS)
       dir = File.dirname(__FILE__)
-      as = (RubyVM::MJIT.enabled? ? 111 : 100) * 1024 * 1024
+      as = (RubyVM::MJIT.enabled? ? 150 : 100) * 1024 * 1024
       assert_in_out_err(%W(-I#{dir} -rdummyparser),
                         "Process.setrlimit(Process::RLIMIT_AS,#{as}); "\
                         "puts DummyParser.new('proc{|;y|!y}').parse",

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

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