Issue #5612 has been updated by Motohiro KOSAKI.


?????違?c???????????????????

diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index df58ca5..eaed292 100755
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -169,6 +169,8 @@ def show_progress(message = '')
     $stderr.puts if @verbose
     error faildesc, message
   end
+rescue Interrupt
+  raise Interrupt
 rescue Exception => err
   $stderr.print 'E'
   $stderr.puts if @verbose
@@ -342,6 +344,7 @@ def get_result_string(src, opt = '')
     begin
       `#{@ruby} -W0 #{opt} #{filename}`
     ensure
+      raise Interrupt if $?.signaled? && $?.termsig == Signal.list["INT"]
       raise CoreDumpError, "core dumped" if $? and $?.coredump?
     end
   else
----------------------------------------
Feature #5612: bootstraptest???Ctrl-C??ф??障??????????????????
http://redmine.ruby-lang.org/issues/5612

Author: Motohiro KOSAKI
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 


??帥?ゃ?????????????с????????make test ??????筝?с?????????????c???鐚??????鴻?????紮????????????с????違?????ャ??????????????????障?????????鐚?
Ctrl-C?????鴻????????ゃ??ゃ?????障?????

???????????????SEGV??? 'E' ??????????????????????ゃ?吟??????膊?????????????ャ???????????????????????????с??
篁ヤ??????????????у??????????????????????с???????????с???????????

diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index df58ca5..a34b55c 100755
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -169,6 +169,8 @@ def show_progress(message = '')
     $stderr.puts if @verbose
     error faildesc, message
   end
+rescue Interrupt
+  raise Interrupt
 rescue Exception => err
   $stderr.print 'E'
   $stderr.puts if @verbose
@@ -342,6 +344,7 @@ def get_result_string(src, opt = '')
     begin
       `#{@ruby} -W0 #{opt} #{filename}`
     ensure
+      raise Interrupt if $?.signaled? && $?.termsig == :INT
       raise CoreDumpError, "core dumped" if $? and $?.coredump?
     end
   else


-- 
http://redmine.ruby-lang.org