diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-21 08:51:49 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-21 08:51:49 +0000 |
commit | d5974dd4d46c1501ade5e12201fdf1d990119712 (patch) | |
tree | 7d5ed79713affc0a7e955393b55cccee9564f28b /benchmark | |
parent | 60c2a6ea29de0bebe89f317f2735fa7ba9b4f8b2 (diff) | |
download | ruby-d5974dd4d46c1501ade5e12201fdf1d990119712.tar.gz |
use `--version`.
* benchmark/driver.rb: use `--version` instead of `-v` to get version
information.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark')
-rwxr-xr-x | benchmark/driver.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/driver.rb b/benchmark/driver.rb index 469fc99f40..ac710b8741 100755 --- a/benchmark/driver.rb +++ b/benchmark/driver.rb @@ -88,10 +88,10 @@ class BenchmarkDriver # ex) ruby-a::/path/to/ruby-a label = $1.strip path = $2 - version = `#{path} -v`.chomp + version = `#{path} --version`.chomp else path = e - version = label = `#{path} -v`.chomp + version = label = `#{path} --version`.chomp end [path, label, version] }.compact |