From 06653c193384cbb89086213135c98b2d1c1638cc Mon Sep 17 00:00:00 2001 From: ko1 Date: Sun, 27 May 2012 04:35:11 +0000 Subject: * 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 --- benchmark/driver.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'benchmark/driver.rb') 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 -- cgit v1.2.3