summaryrefslogtreecommitdiff
path: root/tool/lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'tool/lib/test')
-rw-r--r--tool/lib/test/unit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/lib/test/unit.rb b/tool/lib/test/unit.rb
index 9ca29b6e64..b1eee1f268 100644
--- a/tool/lib/test/unit.rb
+++ b/tool/lib/test/unit.rb
@@ -421,6 +421,7 @@ module Test
end
def kill
+ EnvUtil::Debugger.search&.dump(@pid)
signal = RUBY_PLATFORM =~ /mswin|mingw/ ? :KILL : :SEGV
Process.kill(signal, @pid)
warn "worker #{to_s} does not respond; #{signal} is sent"