summaryrefslogtreecommitdiff
path: root/test/ruby/test_rubyvm_mjit.rb
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-11 14:09:26 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-11 14:09:26 +0000
commitf219f785dc18636cb406ab20383d4dbd090637fc (patch)
tree2d9e2f2a4d955990f0c25d7a3314713848c4e18a /test/ruby/test_rubyvm_mjit.rb
parentd9260c5a504856f1a9ad0993d37a0243e327c678 (diff)
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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_rubyvm_mjit.rb')
-rw-r--r--test/ruby/test_rubyvm_mjit.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/ruby/test_rubyvm_mjit.rb b/test/ruby/test_rubyvm_mjit.rb
index de6619188a..f4612ed902 100644
--- a/test/ruby/test_rubyvm_mjit.rb
+++ b/test/ruby/test_rubyvm_mjit.rb
@@ -21,7 +21,10 @@ class TestRubyVMMJIT < Test::Unit::TestCase
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