diff options
Diffstat (limited to 'benchmark')
-rw-r--r-- | benchmark/driver.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/benchmark/driver.rb b/benchmark/driver.rb index 36365af209..20c8e255fb 100644 --- a/benchmark/driver.rb +++ b/benchmark/driver.rb @@ -381,6 +381,11 @@ if __FILE__ == $0 opt[:execs] << path } } + o.on('--rbenv [VERSIONS]', 'Specify benchmark targets with rbenv version (vX.X.X;vX.X.X;...)'){|v| + v.split(/;/).each{|version| + opt[:execs] << "#{version}::#{`RBENV_VERSION='#{version}' rbenv which ruby`.rstrip}" + } + } o.on('-d', '--directory [DIRECTORY]', "Benchmark suites directory"){|d| opt[:dir] = d } |