зеркало из https://github.com/github/ruby.git
* benchmark/driver.rb: fix to continue benchmarks when
an error is occurred. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
2d8b8b4d3e
Коммит
06653c1933
|
@ -1,3 +1,8 @@
|
|||
Sun May 27 13:33:26 2012 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* benchmark/driver.rb: fix to continue benchmarks when
|
||||
an error is occurred.
|
||||
|
||||
Sun May 27 11:27:50 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): fix operator
|
||||
|
|
|
@ -223,10 +223,11 @@ class BenchmarkDriver
|
|||
}
|
||||
|
||||
if $? != 0
|
||||
raise "\`#{cmd}\' exited with abnormal status (#{$?})"
|
||||
output "\`#{cmd}\' exited with abnormal status (#{$?})"
|
||||
0
|
||||
else
|
||||
m.real
|
||||
end
|
||||
|
||||
m.real
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче