I'm building ruby as follows
mkdir ruby18
cd ruby18
../configure --prefix=foobar
make

make check
test succeeded
./miniruby  ../runruby.rb --extout=.ext -- "../test/runner.rb"
--basedir="../test" --runner=console
from.size ==1, from:
.
pwd
/workarea4/stonebeat/ruby-1-8-cvs/ruby/ruby18
dir and name:
/workarea4/stonebeat/ruby-1-8-cvs/ruby/test/csv
./csv/test_csv.rb
/workarea4/stonebeat/ruby-1-8-cvs/ruby/lib/test/unit/collector/dir.rb:98:in
`require': no such file to load -- ./csv/test_csv.rb (LoadError)
        from
/workarea4/stonebeat/ruby-1-8-cvs/ruby/lib/test/unit/collector/dir.rb:98:in
`collect_file'
        from
/workarea4/stonebeat/ruby-1-8-cvs/ruby/lib/test/unit/collector/dir.rb:75:in
`recursive_collect'
        from
/workarea4/stonebeat/ruby-1-8-cvs/ruby/lib/test/unit/collector/dir.rb:60:in
`each'
        from
/workarea4/stonebeat/ruby-1-8-cvs/ruby/lib/test/unit/collector/dir.rb:60:in
`recursive_collect'
        from
/workarea4/stonebeat/ruby-1-8-cvs/ruby/lib/test/unit/collector/dir.rb:65:in
`recursive_collect'
        from
/workarea4/stonebeat/ruby-1-8-cvs/ruby/lib/test/unit/collector/dir.rb:60:in
`each'
        from
/workarea4/stonebeat/ruby-1-8-cvs/ruby/lib/test/unit/collector/dir.rb:60:in
`recursive_collect'
        from
/workarea4/stonebeat/ruby-1-8-cvs/ruby/lib/test/unit/collector/dir.rb:31:in
`collect'
        from
/workarea4/stonebeat/ruby-1-8-cvs/ruby/lib/test/unit/autorunner.rb:68
        from
/workarea4/stonebeat/ruby-1-8-cvs/ruby/lib/test/unit/autorunner.rb:212:in
`[]'
        from
/workarea4/stonebeat/ruby-1-8-cvs/ruby/lib/test/unit/autorunner.rb:212:in
`run'
        from
/workarea4/stonebeat/ruby-1-8-cvs/ruby/lib/test/unit/autorunner.rb:12:in
`run'
        from ../test/runner.rb:7
make: *** [test-all] Error 1

I added a little debug to collector/dir.rb and it would indicate that the
problem is that
the file name starts with "./"

 - Ville