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:
		
							parent
							
								
									633b463854
								
							
						
					
					
						commit
						19a1899470
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue