1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
ko1 2018-02-21 08:51:49 +00:00
parent 633b463854
commit 19a1899470

View file

@ -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