[Rake-devel] rake test failures for beta gem

Lionel Thiry lthiry at skynet.be
Wed May 4 20:43:42 EDT 2005


Hello!

Done the same on my win2k platform, under a dos box, run with ruby 1.8.2. Output 
is given in attachment.

Daniel Berger a écrit :
> Jim Weirich wrote:
> 
> <snip>
> 
>  > I've incorporated the patches on this list and committed them to the 
> Rake CVS.
>  > I also made a beta version 0.5.4.1 available at
>  > http://onestepback.org/betagems if you want to try it out.  Let me 
> know if I
>  > missed anything (there was a lot of traffic today).
> 
> I installed the beta gem, went to the test directory and ran "rake test" 
> (as root).  Here was the result:
> 
>  >rake test
> (in /usr/local/lib/ruby/gems/1.8/gems/rake-0.5.4.1)
> mkdir -p testdata
> Loaded suite 
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.5.4.1/lib/rake/rake_test_loader
> Started
> .........................................................E..F.......E............................... 
> 
> Finished in 4.663194 seconds.
> 
>   1) Error:
> test_sh(TestFileUtils):
> RuntimeError: Command failed with status (127): [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/testfileutils.rb:56:in `test_sh'
>     ./test/testfileutils.rb:56:in `verbose'
>     ./test/testfileutils.rb:56:in `test_sh'
> 
>   2) Failure:
> test_sh_special_handling(TestFileUtils)
>     [./test/testfileutils.rb:81:in `test_sh_special_handling'
>      ./test/testfileutils.rb:80:in `call'
>      ./lib/rake.rb:491:in `sh'
>      ./lib/rake.rb:562:in `sh'
>      ./lib/rake.rb:557:in `sh'
>      ./test/testfileutils.rb:80:in `test_sh_special_handling'
>      ./test/testfileutils.rb:79:in `verbose'
>      ./test/testfileutils.rb:79:in `test_sh_special_handling']:
> <false> is not true.
> 
>   3) Error:
> test_create(TestMakefileLoader):
> Errno::ENOENT: No such file or directory - test/data/sample.mf
>     ./lib/rake/loaders/makefile.rb:11:in `initialize'
>     ./lib/rake/loaders/makefile.rb:11:in `open'
>     ./lib/rake/loaders/makefile.rb:11:in `load'
>     ./test/test_makefile_loader.rb:11:in `test_create'
> 
> 100 tests, 329 assertions, 1 failures, 2 errors
> rake aborted!
> Command failed with status (1): [ruby -Ilib -w 
> "/usr/local/lib/ruby/gems/1....]
> 
> This is Ruby 1.8.2 on Solaris 10 (on a bash shell, if that matters).
> 
> Regards,
> 
> Dan
>


-- 
Lionel Thiry

Personal website: http://users.skynet.be/lthiry/
-------------- next part --------------
C:\usr\ruby\lib\ruby\gems\1.8\gems\rake-0.5.4.1>rake
(in C:/usr/ruby/lib/ruby/gems/1.8/gems/rake-0.5.4.1)
mkdir -p testdata
ruby -Ilib -w "c:/usr/ruby/lib/ruby/gems/1.8/gems/rake-0.5.4.1/lib/rake/rake_tes
t_loader.rb" "test/testclean.rb" "test/testfilelist.rb" "test/testfileutils.rb"
"test/testftp.rb" "test/testpackagetask.rb" "test/testtasks.rb" "test/testtestta
sk.rb" "test/test_makefile_loader.rb" "test/test_rake.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.1/lib/rake/rake_test_
loader
Started
........................................................-e:1:in `exit': no impli
cit conversion from nil to integer (TypeError)
        from -e:1
FE.EF.......E....F...........................
Finished in 3.359 seconds.

  1) Failure:
test_ruby(TestFileUtils)
    [./test/testfileutils.rb:101:in `test_ruby'
     ./test/testfileutils.rb:99: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/testfileutils.rb:99:in `test_ruby'
     ./test/testfileutils.rb:95:in `verbose'
     ./test/testfileutils.rb:95: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/testfileutils.rb:56:in `test_sh'
    ./test/testfileutils.rb:56:in `verbose'
    ./test/testfileutils.rb:56: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/testfileutils.rb:63:in `test_sh_multiple_arguments'
    ./test/testfileutils.rb:63:in `verbose'
    ./test/testfileutils.rb:63:in `test_sh_multiple_arguments'

  4) Failure:
test_sh_special_handling(TestFileUtils)
    [./test/testfileutils.rb:81:in `test_sh_special_handling'
     ./test/testfileutils.rb:80:in `call'
     ./lib/rake.rb:491:in `sh'
     ./lib/rake.rb:562:in `sh'
     ./lib/rake.rb:557:in `sh'
     ./test/testfileutils.rb:80:in `test_sh_special_handling'
     ./test/testfileutils.rb:79:in `verbose'
     ./test/testfileutils.rb:79:in `test_sh_special_handling']:
<false> is not true.

  5) Error:
test_create(TestMakefileLoader):
Errno::ENOENT: No such file or directory - test/data/sample.mf
    ./lib/rake/loaders/makefile.rb:11:in `initialize'
    ./lib/rake/loaders/makefile.rb:11:in `open'
    ./lib/rake/loaders/makefile.rb:11:in `load'
    ./test/test_makefile_loader.rb:11:in `test_create'

  6) 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, 328 assertions, 3 failures, 3 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.1>


More information about the Rake-devel mailing list