зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
33817fbc29
Коммит
5c29d116c2
|
@ -1,8 +1,13 @@
|
|||
Sat Nov 12 13:35:33 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* bootstraptest/runner.rb: don't suppress SIGINT.
|
||||
[Feature #5612] [ruby-dev:44856]
|
||||
|
||||
Sat Nov 12 11:20:36 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* io.c (fcntl_narg_len): introduce narg calculation for fcntl instead
|
||||
of hard coded 256.
|
||||
* io.c (setup_narg): ditto.
|
||||
* io.c (setup_narg): ditto.
|
||||
|
||||
Sat Nov 12 11:19:35 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче