Bug #4519
closedrubygems/test_gem_package_task.rb breaks rake/test_filelist.rb
Description
=begin
test-all of Ruby 1.9.2 p180 fails as follows on CentOS 5.5.
test_array_comparisons(Rake::TestFileList) [/home/yhara/ruby-1.9.2-p180/test/rake/test_filelist.rb:462]:
<1> expected but was
.
This happens when test/rubygems/ is executed before test/rake/.
To reproduce this: (tested on Ubuntu 10.10 and Mac OS X 10.5.8)
(1) Edit test/runner.rb as follows
(2) make test-all
(...snip...)
Test::Unit.setup_argv {|files|
(...snip...)
end
["test/rubygems/test_gem_package_task.rb", "test/rake/test_filelist.rb"]
}
=end
Updated by naruse (Yui NARUSE) over 13 years ago
- Status changed from Open to Assigned
- Assignee set to drbrain (Eric Hodel)
=begin
=end
Updated by nahi (Hiroshi Nakamura) over 13 years ago
- Target version changed from 1.9.2 to 1.9.3
Updated by drbrain (Eric Hodel) over 13 years ago
- Status changed from Assigned to Closed
I cannot reproduce this, I think it has been fixed.
$ make test-all TESTS='rubygems rake -v'
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext --" rubygems rake -v
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext --" -v
Running tests:¶
TestConfig#test_datadir = 0.00 s = .
TestGem#test_require_missing = 0.00 s = .
TestGem#test_self_activate_ambiguous_indirect_conflict = 0.03 s = .
…
Finished tests in 24.422676s, 51.7552 tests/s, 162.2263 assertions/s.
1264 tests, 3962 assertions, 0 failures, 0 errors, 0 skips
$