mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/ruby/test_jit.rb: Print a hint at exit of the original process
Otherwise, the hint is printed whenever fork is called. http://rubyci.s3.amazonaws.com/debian9/ruby-master/log/20211025T093004Z.log.html.gz ``` [20244/21156] TestThread#test_fork_while_lockedyou may want to add tests for following insns, when you have a chance: checkmatch you may want to add tests for following insns, when you have a chance: checkmatch you may want to add tests for following insns, when you have a chance: checkmatch = 0.19 s ```
This commit is contained in:
parent
9d28618091
commit
5bcef26d24
1 changed files with 2 additions and 1 deletions
|
@ -53,8 +53,9 @@ class TestJIT < Test::Unit::TestCase
|
|||
|
||||
# ruby -w -Itest/lib test/ruby/test_jit.rb
|
||||
if $VERBOSE
|
||||
pid = $$
|
||||
at_exit do
|
||||
unless TestJIT.untested_insns.empty?
|
||||
if pid == $$ && !TestJIT.untested_insns.empty?
|
||||
warn "you may want to add tests for following insns, when you have a chance: #{TestJIT.untested_insns.join(' ')}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue