summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-12-13 23:33:54 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2020-12-13 23:33:59 -0800
commit8d83334a695b7454e9b942289eaede843c4c3660 (patch)
treee4ac4d2d029a6a5981833b686e45d541573e61fa
parentab869d6b9ba07fa9453d39902d8641c3db485b76 (diff)
@ruby is the target Ruby in bootstraptest
-rwxr-xr-xbootstraptest/runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index fbf2572ffb..f8a53aedd8 100755
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -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