[ 
https://issues.apache.org/jira/browse/PROTON-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13708589#comment-13708589
 ] 

Darryl L. Pierce commented on PROTON-352:
-----------------------------------------

This seems to be related to the version of minitest in use. Minitest 5.0 (the 
latest) seems to be the culprit. If we go back to using minitest 4.0 then the 
tests all seem to be passing.
                
> Ruby test errors
> ----------------
>
>                 Key: PROTON-352
>                 URL: https://issues.apache.org/jira/browse/PROTON-352
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.4
>         Environment: Linux Fedora 18
>            Reporter: Chuck Rolke
>            Assignee: Darryl L. Pierce
>
> 1] From a fresh checkout
>   mkdir b64; cd b64; cmake ..; make; make test
>     Start 2: ruby-unit-test
> 2/3 Test #2: ruby-unit-test ...................***Failed    0.08 sec
> 2] And getting past
>   gem install minitest
> 3] ctest -VV shows
> 2: Test command: /usr/bin/python 
> "/home/chug/svn/proton/trunk/proton-c/env.py" 
> "PATH=/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/home/chug/svn/qpid/trunk/qpid/tools/src/py:/home/chug/svn/proton/trunk/b64/proton-c/bindings/ruby:/home/chug/svn/proton/trunk/b64/proton-c"
>  
> "RUBYLIB=/home/chug/svn/proton/trunk/tests/ruby:/home/chug/svn/proton/trunk/proton-c/bindings/ruby:/home/chug/svn/proton/trunk/b64/proton-c/bindings/ruby:/home/chug/svn/proton/trunk/b64/proton-c:/home/chug/svn/proton/trunk/proton-c/bindings/ruby/lib"
>  "/home/chug/svn/proton/trunk/tests/ruby/proton-test"
> 2: Test timeout computed to be: 1500
> 2: Warning: you should require 'minitest/autorun' instead.
> 2: Warning: or add 'gem "minitest"' before 'require "minitest/autorun"'
> 2: From:
> 2:   /usr/share/ruby/test/unit.rb:3:in `<top (required)>'
> 2:   /home/chug/svn/proton/trunk/tests/ruby/proton-test:3:in `<main>'
> 2: MiniTest::Unit::TestCase is now Minitest::Test. From 
> /usr/share/ruby/test/unit/testcase.rb:8:in `<module:Unit>'
> 2: /usr/share/ruby/test/unit.rb:328:in `autorun': uninitialized class 
> variable @@installed_at_exit in Test::Unit::Runner (NameError)
> 2:      from /usr/share/ruby/test/unit.rb:640:in `<top (required)>'
> 2:      from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
> 2:      from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
> 2:      from /home/chug/svn/proton/trunk/tests/ruby/proton-test:3:in `<main>'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to