summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-27 04:35:11 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-27 04:35:11 +0000
commit06653c193384cbb89086213135c98b2d1c1638cc (patch)
treeb87a3015dd79812f52148f92e8ea21ddc6d54ec4 /benchmark
parent2d8b8b4d3eee567237c4be24b615be65f9b98235 (diff)
* 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')
-rw-r--r--benchmark/driver.rb7
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