[MacPorts] #66347: libsignal-protocol-c tests do not run: Failed to test libsignal-protocol-c: libsignal-protocol-c has no tests turned on

MacPorts noreply at macports.org
Sun Jan 22 00:19:42 UTC 2023


#66347: libsignal-protocol-c tests do not run: Failed to test libsignal-protocol-c:
libsignal-protocol-c has no tests turned on
-----------------------------------+----------------------
  Reporter:  barracuda156          |      Owner:  cardi
      Type:  defect                |     Status:  assigned
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:  2.8.0
Resolution:                        |   Keywords:
      Port:  libsignal-protocol-c  |
-----------------------------------+----------------------

Comment (by cardi):

 Can you post the log file and the command you used to run the test?

 The tests are under the [`+tests`](https://github.com/macports/macports-
 ports/blob/7fdc6a1a1fd9ecb3dae4051f6287af842e0b440c/devel/libsignal-
 protocol-c/Portfile#L21-L29) variant because of a few extra dependencies
 and a parameter that needs to be passed to configure.

 So you'll need to run something like the following:
 {{{
 $ sudo port -v test libsignal-protocol-c +tests

 ...

 --->  Testing libsignal-protocol-c
 Warning: libsignal-protocol-c is configured to build for the
 architecture(s) 'arm64', but did not install any Mach-O files.
 Executing:  cd "/opt/local/var/macports/build/_opt_mports_macports-
 ports_devel_libsignal-protocol-c/libsignal-protocol-c/work/build" &&
 /usr/bin/make test
 Running tests...
 /opt/local/bin/ctest --force-new-ctest-process
 Test project /opt/local/var/macports/build/_opt_mports_macports-
 ports_devel_libsignal-protocol-c/libsignal-protocol-c/work/build
       Start  1: test_curve25519
  1/13 Test  #1: test_curve25519 ..................   Passed    0.33 sec
       Start  2: test_hkdf
  2/13 Test  #2: test_hkdf ........................   Passed    0.07 sec
       Start  3: test_ratchet
  3/13 Test  #3: test_ratchet .....................   Passed    0.04 sec
       Start  4: test_protocol
  4/13 Test  #4: test_protocol ....................   Passed    0.04 sec
       Start  5: test_session_record
  5/13 Test  #5: test_session_record ..............   Passed    0.04 sec
       Start  6: test_session_cipher
  6/13 Test  #6: test_session_cipher ..............   Passed    0.10 sec
       Start  7: test_session_builder
  7/13 Test  #7: test_session_builder .............   Passed    0.11 sec
       Start  8: test_key_helper
  8/13 Test  #8: test_key_helper ..................   Passed    0.04 sec
       Start  9: test_simultaneous_initiate
  9/13 Test  #9: test_simultaneous_initiate .......   Passed    0.59 sec
       Start 10: test_sender_key_record
 10/13 Test #10: test_sender_key_record ...........   Passed    0.06 sec
       Start 11: test_group_cipher
 11/13 Test #11: test_group_cipher ................   Passed    0.37 sec
       Start 12: test_fingerprint
 12/13 Test #12: test_fingerprint .................   Passed    0.10 sec
       Start 13: test_device_consistency
 13/13 Test #13: test_device_consistency ..........   Passed    0.04 sec

 100% tests passed, 0 tests failed out of 13

 Total Test time (real) =   1.94 sec
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66347#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list