ruby-changes:55116
From: k0kubun <ko1@a...>
Date: Thu, 21 Mar 2019 13:49:47 +0900 (JST)
Subject: [ruby-changes:55116] k0kubun:r67323 (trunk): Explain why cl.exe needs --jit-verbose=2 [ci skip]
k0kubun 2019-03-21 13:49:45 +0900 (Thu, 21 Mar 2019) New Revision: 67323 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67323 Log: Explain why cl.exe needs --jit-verbose=2 [ci skip] I forgot to explain it in the previous commit Modified files: trunk/test/ruby/test_jit.rb Index: test/ruby/test_jit.rb =================================================================== --- test/ruby/test_jit.rb (revision 67322) +++ test/ruby/test_jit.rb (revision 67323) @@ -912,6 +912,8 @@ class TestJIT < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_jit.rb#L912 def assert_eval_with_jit(script, stdout: nil, success_count:, min_calls: 1, insns: [], uplevel: 3) out, err = eval_with_jit(script, verbose: 1, min_calls: min_calls) actual = err.scan(/^#{JIT_SUCCESS_PREFIX}:/).size + # Add --jit-verbose=2 logs for cl.exe because compiler's error message is suppressed + # for cl.exe with --jit-verbose=1. See `start_process` in mjit_worker.c. if RUBY_PLATFORM.match?(/mswin/) && success_count != actual _, err2 = eval_with_jit(script, verbose: 2, min_calls: min_calls) end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/