summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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