Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3164

Ruby Bindings Test Failure When no bdb

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.x
    • unscheduled
    • bindings_swig
    • None

    Description

      I compiled Subversion without bdb support and installed the Perl, Python, and
      Ruby bindings. everything worked great except for these two test errors during
      `make check-swig-rb`:
      
      # make check-swig-rb
      cd /usr/local/src/subversion-1.4.6/subversion/bindings/swig/ruby; \
      	  /usr/bin/ruby -I /usr/local/src/subversion-1.4.6/subversion/bindings/swig/ruby \
      	   
      /usr/local/src/subversion-1.4.6/subversion/bindings/swig/ruby/test/run-test.rb \
      	    --verbose=normal
      Loaded suite .
      Started
      ...................................................................................E.......................E..........................
      Finished in 352.100643 seconds.
      
        1) Error:
      test_create(SvnFsTest):
      Svn::Error::FS_UNKNOWN_FS_TYPE: subversion/libsvn_fs/fs-loader.c:130 Failed to
      load module for FS type 'bdb'
         
      /usr/local/src/subversion-1.4.6/subversion/bindings/swig/ruby/svn/util.rb:60:in
      `svn_fs_create'
         
      /usr/local/src/subversion-1.4.6/subversion/bindings/swig/ruby/svn/util.rb:60:in
      `call'
         
      /usr/local/src/subversion-1.4.6/subversion/bindings/swig/ruby/svn/util.rb:60:in
      `create'
         
      /usr/local/src/subversion-1.4.6/subversion/bindings/swig/ruby/svn/fs.rb:27:in
      `create'
         
      /usr/local/src/subversion-1.4.6/subversion/bindings/swig/ruby/test/test_fs.rb:31:in
      `test_create'
      
        2) Error:
      test_create(SvnReposTest):
      Svn::Error::FS_UNKNOWN_FS_TYPE: subversion/libsvn_fs/fs-loader.c:130 Failed to
      load module for FS type 'bdb'
         
      /usr/local/src/subversion-1.4.6/subversion/bindings/swig/ruby/svn/util.rb:60:in
      `svn_repos_create'
         
      /usr/local/src/subversion-1.4.6/subversion/bindings/swig/ruby/svn/util.rb:60:in
      `call'
         
      /usr/local/src/subversion-1.4.6/subversion/bindings/swig/ruby/svn/util.rb:60:in
      `create'
         
      /usr/local/src/subversion-1.4.6/subversion/bindings/swig/ruby/svn/repos.rb:38:in
      `_create'
         
      /usr/local/src/subversion-1.4.6/subversion/bindings/swig/ruby/svn/repos.rb:38:in
      `create'
         
      /usr/local/src/subversion-1.4.6/subversion/bindings/swig/ruby/test/test_repos.rb:80:in
      `test_create'
      
      134 tests, 4553 assertions, 0 failures, 2 errors
      make: *** [check-swig-rb] Error 1
      
      I assume that this just means that the tests need to be modified to detect
      whether or not Subversion is compiled with bdb, and if not, skip those tests.
      

      Original issue reported by theory

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer

            Dates

              Created:
              Updated:

              Slack

                Issue deployment