From 305ec2ae3bda6e5061175808df3aa37aa4dc744c Mon Sep 17 00:00:00 2001 From: ntalbott Date: Thu, 17 Feb 2005 02:56:47 +0000 Subject: * lib/test/unit/collector.rb (collect_file): now deletes paths added 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/runner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/runner.rb b/test/runner.rb index 4ecc35aec..d274bc892 100644 --- a/test/runner.rb +++ b/test/runner.rb @@ -4,4 +4,4 @@ rcsid = %w$Id$ Version = rcsid[2].scan(/\d+/).collect!(&method(:Integer)).freeze Release = rcsid[3].freeze -exit Test::Unit::AutoRunner.run(false, File.dirname($0)) +exit Test::Unit::AutoRunner.run(true, File.dirname($0)) -- cgit