summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_jit.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb
index 60e128b3d9..b1bef2a7b7 100644
--- a/test/ruby/test_jit.rb
+++ b/test/ruby/test_jit.rb
@@ -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