Opened 17 months ago

Last modified 15 months ago

#66347 assigned defect

libsignal-protocol-c tests do not run: Failed to test libsignal-protocol-c: libsignal-protocol-c has no tests turned on

Reported by: barracuda156 Owned by: cardi (calvin ardi)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc:
Port: libsignal-protocol-c

Description

make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsignal-protocol-c/libsignal-protocol-c/work/build'
--->  Testing libsignal-protocol-c
Error: Failed to test libsignal-protocol-c: libsignal-protocol-c has no tests turned on. see 'test.run' in portfile(7)
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsignal-protocol-c/libsignal-protocol-c/main.log for details.

Change History (1)

comment:1 Changed 15 months ago by cardi (calvin ardi)

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

The tests are under the +tests 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
Last edited 15 months ago by cardi (calvin ardi) (previous) (diff)
Note: See TracTickets for help on using tickets.