summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog5
-rw-r--r--benchmark/driver.rb7
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 27efff5d33f..fa9b30aa9c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/benchmark/driver.rb b/benchmark/driver.rb
index f689ebfe2cd..964d202c44d 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