diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-12 04:37:54 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-12 04:37:54 +0000 |
commit | 5c29d116c2d1dac5c6953bb60a3bda35df51d713 (patch) | |
tree | d5eb6ef0f7df8eb2679e066b9335968291ae07e5 /bootstraptest | |
parent | 33817fbc29943b5b26254626d8721a0ce391b1cf (diff) | |
download | ruby-5c29d116c2d1dac5c6953bb60a3bda35df51d713.tar.gz |
* bootstraptest/runner.rb: don't suppress SIGINT.
[Feature #5612] [ruby-dev:44856]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rwxr-xr-x | bootstraptest/runner.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index df58ca58f3..eaed292e50 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 |