mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	to $LOAD_PATH instead of restoring it verbatim. * lib/test/unit/autorunner.rb (AutoRunner.run): fixed so that 'ruby -rtest/unit -rtest1 -rtest2 -e0' will use the objectspace collector again. Also tried to simplify the calling convention. * test/runner.rb: adjusted for new AutoRunner semantics. * lib/test/unit.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			228 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			228 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
require 'rbconfig'
 | 
						|
exit if CROSS_COMPILING
 | 
						|
require 'test/unit'
 | 
						|
 | 
						|
rcsid = %w$Id$
 | 
						|
Version = rcsid[2].scan(/\d+/).collect!(&method(:Integer)).freeze
 | 
						|
Release = rcsid[3].freeze
 | 
						|
 | 
						|
exit Test::Unit::AutoRunner.run(true, File.dirname($0))
 |