summaryrefslogtreecommitdiff
path: root/benchmark
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 /benchmark
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
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/driver.rb1
1 files changed, 1 insertions, 0 deletions
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