[Rake-devel] All tests pass on Solaris 10

Lionel Thiry lthiry at skynet.be
Fri May 6 11:54:43 EDT 2005


Daniel Berger a écrit :
>  >rake test
> (in /usr/local/lib/ruby/gems/1.8/gems/rake-0.5.4.2)
> mkdir -p testdata
> Loaded suite 
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.5.4.2/lib/rake/rake_test_loader
> Started
> .................................................................................................... 
> 
> Finished in 5.727355 seconds.
> 
> 100 tests, 343 assertions, 0 failures, 0 errors
> 
> Nice. :)
> 
> Thanks much Jim!
> 
> Dan

Here is mine, on win2k:

----8<----
C:\usr\ruby\lib\ruby\gems\1.8\gems\rake-0.5.4.2>rake
(in C:/usr/ruby/lib/ruby/gems/1.8/gems/rake-0.5.4.2)
mkdir -p testdata
ruby -Ilib -w "c:/usr/ruby/lib/ruby/gems/1.8/gems/rake-0.5.4.2/lib/rake/rake_tes
t_loader.rb" "test/test_clean.rb" "test/test_filelist.rb" "test/test_fileutils.r
b" "test/test_ftp.rb" "test/test_makefile_loader.rb" "test/test_package_task.rb"
  "test/test_rake.rb" "test/test_tasks.rb" "test/test_test_task.rb" "test/contrib
/testsys.rb" "test/functional.rb"
UNABLE TO RUN FUNCTIONAL TESTS
No Session Found
Loaded suite c:/usr/ruby/lib/ruby/gems/1.8/gems/rake-0.5.4.2/lib/rake/rake_test_
loader
Started
........................................................-e:1:in `exit': no impli
cit conversion from nil to integer (TypeError)
         from -e:1
FE.EF............F...........................
Finished in 4.328 seconds.

   1) Failure:
test_ruby(TestFileUtils)
     [./test/test_fileutils.rb:109:in `test_ruby'
      ./test/test_fileutils.rb:107:in `call'
      ./lib/rake.rb:491:in `sh'
      ./lib/rake.rb:562:in `sh'
      ./lib/rake.rb:557:in `sh'
      ./lib/rake.rb:509:in `ruby'
      ./lib/rake.rb:562:in `ruby'
      ./lib/rake.rb:557:in `ruby'
      ./test/test_fileutils.rb:107:in `test_ruby'
      ./test/test_fileutils.rb:103:in `verbose'
      ./test/test_fileutils.rb:103:in `test_ruby']:
<123> expected but was
<1>.

   2) Error:
test_sh(TestFileUtils):
RuntimeError: Command failed with status (1): [test/shellcommand.rb]
     ./lib/rake.rb:484:in `sh'
     ./lib/rake.rb:483:in `call'
     ./lib/rake.rb:491:in `sh'
     ./lib/rake.rb:562:in `sh'
     ./lib/rake.rb:557:in `sh'
     ./test/test_fileutils.rb:64:in `test_sh'
     ./test/test_fileutils.rb:64:in `verbose'
     ./test/test_fileutils.rb:64:in `test_sh'

   3) Error:
test_sh_multiple_arguments(TestFileUtils):
RuntimeError: Command failed with status (1): [test $RAKE_TEST_SH = someval]
     ./lib/rake.rb:484:in `sh'
     ./lib/rake.rb:483:in `call'
     ./lib/rake.rb:491:in `sh'
     ./lib/rake.rb:562:in `sh'
     ./lib/rake.rb:557:in `sh'
     ./test/test_fileutils.rb:71:in `test_sh_multiple_arguments'
     ./test/test_fileutils.rb:71:in `verbose'
     ./test/test_fileutils.rb:71:in `test_sh_multiple_arguments'

   4) Failure:
test_sh_special_handling(TestFileUtils)
     [./test/test_fileutils.rb:89:in `test_sh_special_handling'
      ./test/test_fileutils.rb:88:in `call'
      ./lib/rake.rb:491:in `sh'
      ./lib/rake.rb:562:in `sh'
      ./lib/rake.rb:557:in `sh'
      ./test/test_fileutils.rb:88:in `test_sh_special_handling'
      ./test/test_fileutils.rb:87:in `verbose'
      ./test/test_fileutils.rb:87:in `test_sh_special_handling']:
<false> is not true.

   5) Failure:
test_each_dir_parent(TestRake) [./test/test_rake.rb:11]:
<["c:/a/b", "c:/a", "c:"]> expected but was
<["c:/a/b", "c:/a", "c:/"]>.

101 tests, 337 assertions, 3 failures, 2 errors
rake aborted!
Command failed with status (1): [ruby -Ilib -w "c:/usr/ruby/lib/ruby/gems/1...]


C:\usr\ruby\lib\ruby\gems\1.8\gems\rake-0.5.4.2>
----8<----

Still work to do,
keep courage! :)

-- 
Lionel Thiry

Personal website: http://users.skynet.be/lthiry/


More information about the Rake-devel mailing list