summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-09 06:02:18 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-09 06:02:18 (GMT)
commitb06514105056ebaf60804749bfba2c56fe4a6a69 (patch)
treeb5c86b5337e3c76dbefa005b16aab1ea96158ce4
parentcccfe4774c1f01e334a1b8d4fe2e74a7f3e82aeb (diff)
* benchmark/driver.rb: exit benchmarking if a benchmark process
receives signals. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--benchmark/driver.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d40055e..0496ef8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Mar 9 14:59:11 2016 Koichi Sasada <ko1@atdot.net>
+
+ * benchmark/driver.rb: exit benchmarking if a benchmark process
+ receives signals.
+
Wed Mar 9 13:22:49 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/lib/memory_status.rb: make Memory::Status independent of
diff --git a/benchmark/driver.rb b/benchmark/driver.rb
index defe3c3..660b9a1 100644
--- a/benchmark/driver.rb
+++ b/benchmark/driver.rb
@@ -319,6 +319,7 @@ class BenchmarkDriver
}
if $? != 0
+ raise $?.inspect if $? && $?.signaled?
output "\`#{cmd}\' exited with abnormal status (#{$?})"
0
else