mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_jit.rb: change format of test error output
to avoid breaking redmine quote like https://bugs.ruby-lang.org/issues/15522 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bb44d9ecf0
commit
d31cbd4ff9
2 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ module JITSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
def code_block(code)
|
def code_block(code)
|
||||||
"```\n#{code}\n```\n\n"
|
%Q["""\n#{code}\n"""\n\n]
|
||||||
end
|
end
|
||||||
|
|
||||||
# We're retrying cc1 not found error on gcc, which should be solved in the future but ignored for now.
|
# We're retrying cc1 not found error on gcc, which should be solved in the future but ignored for now.
|
||||||
|
|
|
@ -597,7 +597,7 @@ class TestJIT < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
end;
|
end;
|
||||||
|
|
||||||
debug_info = "stdout:\n```\n#{out}\n```\n\nstderr:\n```\n#{err}```\n"
|
debug_info = %Q[stdout:\n"""\n#{out}\n"""\n\nstderr:\n"""\n#{err}"""\n]
|
||||||
assert_equal('012345678910', out, debug_info)
|
assert_equal('012345678910', out, debug_info)
|
||||||
compactions, errs = err.lines.partition do |l|
|
compactions, errs = err.lines.partition do |l|
|
||||||
l.match?(/\AJIT compaction \(\d+\.\dms\): Compacted \d+ methods ->/)
|
l.match?(/\AJIT compaction \(\d+\.\dms\): Compacted \d+ methods ->/)
|
||||||
|
|
Loading…
Add table
Reference in a new issue