ruby-changes:52091
From: k0kubun <ko1@a...>
Date: Sat, 11 Aug 2018 23:09:32 +0900 (JST)
Subject: [ruby-changes:52091] k0kubun:r64299 (trunk): test_rubyvm_mjit.rb: dump output on test_pause
k0kubun 2018-08-11 23:09:26 +0900 (Sat, 11 Aug 2018) New Revision: 64299 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64299 Log: test_rubyvm_mjit.rb: dump output on test_pause failure. It's failing on mswinci but it's hard to know the cause without out/err. Modified files: trunk/test/ruby/test_rubyvm_mjit.rb Index: test/ruby/test_rubyvm_mjit.rb =================================================================== --- test/ruby/test_rubyvm_mjit.rb (revision 64298) +++ test/ruby/test_rubyvm_mjit.rb (revision 64299) @@ -21,7 +21,10 @@ class TestRubyVMMJIT < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyvm_mjit.rb#L21 print RubyVM::MJIT.pause # no JIT here EOS assert_equal('truefalsefalse', out) - assert_equal(5, err.scan(/#{JITSupport::JIT_SUCCESS_PREFIX}/).size) + assert_equal( + 5, err.scan(/#{JITSupport::JIT_SUCCESS_PREFIX}/).size, + "unexpected stdout:\n```\n#{out}```\n\nstderr:\n```\n#{err}```", + ) end def test_pause_wait_false -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/