diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-29 11:23:42 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-29 11:23:42 +0000 |
commit | 1195ba6644dd68123beeaa1efc228f8e7cfad4b1 (patch) | |
tree | eb74291eb137b8e0ce316935b09f6ef5266cae3a | |
parent | d81eaaf19298dcb4f2eac9ff9b880b25c863dff7 (diff) |
* benchmark/driver.rb (BenchmarkDriver#measure): Show command line
when abnormal exiting occur.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | benchmark/driver.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Jan 29 20:22:39 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> + + * benchmark/driver.rb (BenchmarkDriver#measure): Show command line + when abnormal exiting occur. + Sat Jan 29 10:53:16 2011 Yusuke Endoh <mame@tsg.ne.jp> * vm_insnhelper.c (vm_get_ev_const): no-scope reference to toplevel diff --git a/benchmark/driver.rb b/benchmark/driver.rb index 687dec26f1..31c9ac2dc9 100644 --- a/benchmark/driver.rb +++ b/benchmark/driver.rb @@ -205,7 +205,7 @@ class BenchmarkDriver } if $? != 0 - raise "Benchmark process exited with abnormal status (#{$?})" + raise "\`#{cmd}\' exited with abnormal status (#{$?})" end m.real |