summaryrefslogtreecommitdiff
path: root/test/lib/zombie_hunter.rb
blob: ea94844b53075c13c3d0628b37f2f2c5089a13ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

# There might be compiler processes executed by MJIT
return if RubyVM::MJIT.enabled?

module ZombieHunter
  def after_teardown
    super
    assert_empty(Process.waitall)
  end
end

Test::Unit::TestCase.include ZombieHunter