mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
@ruby is the target Ruby in bootstraptest
This commit is contained in:
parent
ab869d6b9b
commit
8d83334a69
1 changed files with 1 additions and 1 deletions
|
@ -530,7 +530,7 @@ def cleanup_coredump
|
|||
core_path = "/tmp/bootstraptest-core.#{Time.now.utc.iso8601}"
|
||||
warn "A core file is found. Saving it at: #{core_path.dump}"
|
||||
FileUtils.mv('core', core_path)
|
||||
system('gdb', RbConfig.ruby, '-c', core_path, '-ex', 'bt', '-batch')
|
||||
system('gdb', @ruby, '-c', core_path, '-ex', 'bt', '-batch')
|
||||
end
|
||||
FileUtils.rm_f Dir.glob('core.*')
|
||||
FileUtils.rm_f @ruby+'.stackdump' if @ruby
|
||||
|
|
Loading…
Reference in a new issue