Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1457

Ruby tests fail when dependencies are missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • proton-c-0.18.0
    • ruby-binding
    • None
    • Fedora 24

    Description

      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.

      Attachments

        Activity

          People

            aconway Alan Conway
            iboverma Irina Boverman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: