summaryrefslogtreecommitdiff
path: root/benchmark/driver.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-21 08:51:49 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-21 08:51:49 +0000
commit19a189947035c6e6f4785f27032392fa10a017d0 (patch)
tree7d5ed79713affc0a7e955393b55cccee9564f28b /benchmark/driver.rb
parent633b463854e14e584f17a9255bb43b757b9b1f6c (diff)
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/driver.rb')
-rwxr-xr-xbenchmark/driver.rb4
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