* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
load expanded path. fixed: [ruby-dev:29621] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7d054f8913
commit
27841c008e
@ -1,10 +1,13 @@
|
|||||||
Mon Oct 2 22:28:17 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Mon Oct 2 23:47:55 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::COLLECTORS):
|
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::COLLECTORS):
|
||||||
base directory should be lower precedence. fixed: [ruby-dev:29622]
|
base directory should be lower precedence. fixed: [ruby-dev:29622]
|
||||||
|
|
||||||
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): typo.
|
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): typo.
|
||||||
|
|
||||||
|
* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
|
||||||
|
load expanded path. fixed: [ruby-dev:29621]
|
||||||
|
|
||||||
Mon Oct 2 15:47:55 2006 NAKAMURA Usaku <usa@ruby-lang.org>
|
Mon Oct 2 15:47:55 2006 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* instruby.rb: batfile should be CRLF'ed.
|
* instruby.rb: batfile should be CRLF'ed.
|
||||||
|
@ -77,7 +77,7 @@ module Test
|
|||||||
end
|
end
|
||||||
|
|
||||||
def collect_file(name, suites, already_gathered)
|
def collect_file(name, suites, already_gathered)
|
||||||
dir = File.dirname(File.expand_path(name, @base))
|
dir = File.dirname(name = File.expand_path(name, @base))
|
||||||
$:.unshift(dir)
|
$:.unshift(dir)
|
||||||
if(@req)
|
if(@req)
|
||||||
@req.require(name)
|
@req.require(name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user