[
https://issues.apache.org/jira/browse/PROTON-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161967#comment-16161967
]
ASF subversion and git services commented on PROTON-1457:
---------------------------------------------------------
Commit 5e1bce7a0119849e765ac9528523cbc96fc8dbb3 in qpid-proton's branch
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=5e1bce7 ]
PROTON-1457: Ruby tests fail when dependencies are missing
The only test dependency is now minitest - which is included in ruby 1.9.1-2.1
and was then
dropped again. The build will proceed with a warning if minitest is missing.
- convert all tests to use minitest, remove other test dependencies (rspec,
simplecov, test-unit)
- allow build without test if minitest is not installed
- move all ruby tests (proton/tests/ruby) to bindings/ruby/tests
- consolidate CMakeLists ruby logic in bindings/ruby/tests
> Ruby tests fail when dependencies are missing
> ---------------------------------------------
>
> Key: PROTON-1457
> URL: https://issues.apache.org/jira/browse/PROTON-1457
> Project: Qpid Proton
> Issue Type: Bug
> Components: ruby-binding
> Environment: Fedora 24
> Reporter: Irina Boverman
> Assignee: Alan Conway
> Fix For: proton-c-0.18.0
>
>
> I was running ruby tests on fedora 26 when I got this error:
> > > The following tests FAILED:
> > > Errors while running CTest
> > > 3 - ruby-example-test (Failed)
> > > 4 - ruby-unit-test (Failed)
> > >
> > > And more specifically:
> > >
> > > 3: Test command: /usr/bin/python "/proton/proton-c/env.py" "--"
> > > "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
> > > /proton/build/proton-c/bindings/ruby:/proton/build/proton-c"
> > > "RUBYLIB=/proton/tests/ruby:/proton/proton-
> > > c/bindings/ruby:/proton/build/proton-
> > > c/bindings/ruby:/proton/build/proton-c:/proton/proton-
> > > c/bindings/ruby/lib"
> > > "/usr/bin/ruby" "example_test.rb" "-v"
> > > 3: Test timeout computed to be: 1500
> > > 3: /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in
> > > `require':
> > > cannot load such file -- test/unit (LoadError)
> I had ruby-devel, ruby-rspec and ruby-simplecov packages installed, but was
> missing rubygem-minitest and rubygem-test-unit packages. There should be a
> hint somewhere about needing them.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]