mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* bootstraptest/runner.rb: new option --help.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									18e1d27353
								
							
						
					
					
						commit
						d7c2f391fc
					
				
					 2 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,7 @@
 | 
			
		|||
Sat Feb 24 16:51:09 2007  Minero Aoki  <aamine@loveruby.net>
 | 
			
		||||
 | 
			
		||||
	* bootstraptest/runner.rb: new option --help.
 | 
			
		||||
 | 
			
		||||
Sat Feb 24 16:47:33 2007  Minero Aoki  <aamine@loveruby.net>
 | 
			
		||||
 | 
			
		||||
	* bootstraptest: new test suite.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,6 +20,13 @@ def main
 | 
			
		|||
      tests = Dir.glob("#{File.dirname($0)}/test_{#{$1}}*.rb")
 | 
			
		||||
      puts tests.map {|path| File.basename(path) }.inspect
 | 
			
		||||
      true
 | 
			
		||||
    when /\A(-h|--h(elp)?\z/
 | 
			
		||||
      puts(<<-End)
 | 
			
		||||
Usage: #{File.basename($0, '.*')} --ruby=PATH [--sets=NAME,NAME,...]
 | 
			
		||||
    --sets=NAME,NAME,...        Name of test sets.
 | 
			
		||||
    --help                      Print this message and quit.
 | 
			
		||||
End
 | 
			
		||||
      exit 0
 | 
			
		||||
    else
 | 
			
		||||
      false
 | 
			
		||||
    end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue