Hi,
I installed rake-0.7.2 as a gem, and following the suggestion of the
docs tried to run the tests.
It complained about rcov, so I installed that as well, then the same
for flexmock, and then it ran:
UNABLE TO RUN FUNCTIONAL TESTS
No Session Found
Loaded suite
/usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/rake_test_loader
Started
…E…E…E…
Finished in 9.683188 seconds.
-
Error:
test_load_rakefile_from_subdir(TestApplication):
Errno::ENOENT: No such file or directory - test/data/unittest/subdir
./test/test_application.rb:66:inchdir' ./test/test_application.rb:66:in
test_load_rakefile_from_subdir’ -
Error:
test_require(TestApplicationOptions):
LoadError: no such file to load – test/reqfile3
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
./lib/rake.rb:1778:indo_option' ./lib/rake.rb:1814:in
handle_options’
/usr/lib/ruby/1.8/getoptlong.rb:460:ineach' /usr/lib/ruby/1.8/getoptlong.rb:457:in
each’
./lib/rake.rb:1814:inhandle_options' ./test/test_application.rb:401:in
command_line’
./test/test_application.rb:389:inflags' ./test/test_application.rb:389:in
flags’
./test/capture_stdout.rb:11:incapture_stdout' ./test/test_application.rb:388:in
flags’
./test/test_application.rb:387:inflags' ./test/test_application.rb:305:in
test_require’ -
Error:
test_can_load_rake_library(TestRequire):
LoadError: Can’t find test2
./lib/rake.rb:1840:inrake_require' ./test/test_require.rb:11:in
test_can_load_rake_library’
245 tests, 719 assertions, 0 failures, 3 errors
rake aborted!
Command failed with status (1): [/usr/bin/ruby -w -Ilib
"/usr/lib/ruby/gems…]
Is there still something missing from my setup, or are these tests not
quite up to date?
Cheers,
Han H.