MINA SSHD
  1. MINA SSHD
  2. SSHD-71

Skip tests if native library is not available

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Labels:
      None

      Description

      When building the sshd project straight away, we get some errors :

      Tests in error:
      testAgent(org.apache.sshd.AgentTest)

      -------------------------------------------------------------------------------
      Test set: org.apache.sshd.AgentTest
      -------------------------------------------------------------------------------
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.009
      sec <<< FAILURE!
      testAgent(org.apache.sshd.AgentTest) Time elapsed: 0.006 sec <<< ERROR!
      java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path, no
      libtcnative-1 in ...

      We should add a profile in Maven to avoid such an error. Of course, some doco on how to build SSHd with this native lib should be added on the web site too

      1. SSHD-71.patch
        2 kB
        Stephen Connolly

        Activity

        Guillaume Nodet made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Guillaume Nodet [ gnt ]
        Resolution Fixed [ 1 ]
        Guillaume Nodet made changes -
        Summary Add a profile to avoid maven failure because of the lack of a native lib Skip tests if native library is not available
        Stephen Connolly made changes -
        Field Original Value New Value
        Attachment SSHD-71.patch [ 12430724 ]
        Emmanuel Lecharny created issue -

          People

          • Assignee:
            Guillaume Nodet
            Reporter:
            Emmanuel Lecharny
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development