diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-27 04:35:11 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-27 04:35:11 +0000 |
commit | 06653c193384cbb89086213135c98b2d1c1638cc (patch) | |
tree | b87a3015dd79812f52148f92e8ea21ddc6d54ec4 /benchmark/driver.rb | |
parent | 2d8b8b4d3eee567237c4be24b615be65f9b98235 (diff) | |
download | ruby-06653c193384cbb89086213135c98b2d1c1638cc.tar.gz |
* 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
Diffstat (limited to 'benchmark/driver.rb')
-rw-r--r-- | benchmark/driver.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/benchmark/driver.rb b/benchmark/driver.rb index f689ebfe2c..964d202c44 100644 --- a/benchmark/driver.rb +++ b/benchmark/driver.rb @@ -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 |