ruby-changes:54270
From: k0kubun <ko1@a...>
Date: Fri, 21 Dec 2018 23:01:54 +0900 (JST)
Subject: [ruby-changes:54270] k0kubun:r66479 (trunk): test_jit.rb: show debug info for success_count test
k0kubun 2018-12-21 23:01:49 +0900 (Fri, 21 Dec 2018) New Revision: 66479 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66479 Log: test_jit.rb: show debug info for success_count test to investigate https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20181221T092505Z.fail.html.gz Modified files: trunk/test/ruby/test_jit.rb Index: test/ruby/test_jit.rb =================================================================== --- test/ruby/test_jit.rb (revision 66478) +++ test/ruby/test_jit.rb (revision 66479) @@ -877,10 +877,8 @@ class TestJIT < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_jit.rb#L877 Process.waitpid(pid) end; success_count = err.scan(/^#{JIT_SUCCESS_PREFIX}:/).size - assert_equal(3, success_count) - - lines = err.lines debug_info = "stdout:\n```\n#{out}\n```\n\nstderr:\n```\n#{err}```\n" + assert_equal(3, success_count, debug_info) # assert no remove error assert_equal("Successful MJIT finish\n" * 2, err.gsub(/^#{JIT_SUCCESS_PREFIX}:[^\n]+\n/, ''), debug_info) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/