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

ruby-changes:18694

From: kosaki <ko1@a...>
Date: Sat, 29 Jan 2011 20:35:59 +0900 (JST)
Subject: [ruby-changes:18694] Ruby:r30720 (trunk): * benchmark/driver.rb (BenchmarkDriver#measure): Show command line

kosaki	2011-01-29 20:23:42 +0900 (Sat, 29 Jan 2011)

  New Revision: 30720

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30720

  Log:
    * benchmark/driver.rb (BenchmarkDriver#measure): Show command line
      when abnormal exiting occur.

  Modified files:
    trunk/ChangeLog
    trunk/benchmark/driver.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 30719)
+++ ChangeLog	(revision 30720)
@@ -1,3 +1,8 @@
+Sat Jan 29 20:22:39 2011  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* benchmark/driver.rb (BenchmarkDriver#measure): Show command line
+	  when abnormal exiting occur.
+
 Sat Jan 29 10:53:16 2011  Yusuke Endoh  <mame@t...>
 
 	* vm_insnhelper.c (vm_get_ev_const): no-scope reference to toplevel
Index: benchmark/driver.rb
===================================================================
--- benchmark/driver.rb	(revision 30719)
+++ benchmark/driver.rb	(revision 30720)
@@ -205,7 +205,7 @@
     }
 
     if $? != 0
-      raise "Benchmark process exited with abnormal status (#{$?})"
+      raise "\`#{cmd}\' exited with abnormal status (#{$?})"
     end
 
     m.real

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

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