summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-21 08:51:49 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-21 08:51:49 (GMT)
commit19a189947035c6e6f4785f27032392fa10a017d0 (patch)
tree7d5ed79713affc0a7e955393b55cccee9564f28b /benchmark
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')
-rwxr-xr-xbenchmark/driver.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/driver.rb b/benchmark/driver.rb
index 469fc99..ac710b8 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