[前][次][番号順一覧][スレッド一覧]

ruby-changes:41978

From: ko1 <ko1@a...>
Date: Wed, 9 Mar 2016 15:02:24 +0900 (JST)
Subject: [ruby-changes:41978] ko1:r54052 (trunk): * benchmark/driver.rb: exit benchmarking if a benchmark process

ko1	2016-03-09 15:02:18 +0900 (Wed, 09 Mar 2016)

  New Revision: 54052

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54052

  Log:
    * benchmark/driver.rb: exit benchmarking if a benchmark process
      receives signals.

  Modified files:
    trunk/ChangeLog
    trunk/benchmark/driver.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54051)
+++ ChangeLog	(revision 54052)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Mar  9 14:59:11 2016  Koichi Sasada  <ko1@a...>
+
+	* benchmark/driver.rb: exit benchmarking if a benchmark process
+	  receives signals.
+
 Wed Mar  9 13:22:49 2016  Nobuyoshi Nakada  <nobu@r...>
 
 	* test/lib/memory_status.rb: make Memory::Status independent of
Index: benchmark/driver.rb
===================================================================
--- benchmark/driver.rb	(revision 54051)
+++ benchmark/driver.rb	(revision 54052)
@@ -319,6 +319,7 @@ class BenchmarkDriver https://github.com/ruby/ruby/blob/trunk/benchmark/driver.rb#L319
     }
 
     if $? != 0
+      raise $?.inspect if $? && $?.signaled?
       output "\`#{cmd}\' exited with abnormal status (#{$?})"
       0
     else

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]