зеркало из https://github.com/github/ruby.git
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... git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
3d3ff9f324
Коммит
309042d8c1
|
@ -1458,7 +1458,7 @@ class TestRipper::ParserEvents < Test::Unit::TestCase
|
|||
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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче