From 7d054f8913c824143b5c82aada2dba55d81f4f1e Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 2 Oct 2006 13:29:07 +0000 Subject: [PATCH] * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::COLLECTORS): base directory should be lower precedence. fixed: [ruby-dev:29622] * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ lib/test/unit/autorunner.rb | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0f96ac49a0..8a1cf55d28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Mon Oct 2 22:28:17 2006 Nobuyoshi Nakada + + * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::COLLECTORS): + base directory should be lower precedence. fixed: [ruby-dev:29622] + + * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): typo. + Mon Oct 2 15:47:55 2006 NAKAMURA Usaku * instruby.rb: batfile should be CRLF'ed. diff --git a/lib/test/unit/autorunner.rb b/lib/test/unit/autorunner.rb index 71dbccbced..dadf080d12 100644 --- a/lib/test/unit/autorunner.rb +++ b/lib/test/unit/autorunner.rb @@ -64,7 +64,7 @@ module Test c.pattern.concat(r.pattern) if(r.pattern) c.exclude.concat(r.exclude) if(r.exclude) c.base = r.base - $:.unshift(r.base) if r.base + $:.push(r.base) if r.base c.collect(*(r.to_run.empty? ? ['.'] : r.to_run)) end, } @@ -111,7 +111,7 @@ module Test end if(@standalone) - o.on('-b', '--basedir=DIR', "Base directory of test suits.") do |b| + o.on('-b', '--basedir=DIR', "Base directory of test suites.") do |b| @base = b end