Alex Holst writes:
> --1BsnumAxq185OLY9
> Content-Type: text/plain; charset=utf-8
> Content-Disposition: inline
>
> Hi,
>
> Thanks for your input. It should all be adopted into this port except
> for the 'test' target which I couldn't get working otherwise.
No need for a do-test, just use:
CONFIGURE_ARGS = -DBUILD_TESTING=ON
$ make test
===> libsignal-protocol-c-2.3.2 depends on: check-* -> check-0.10.0
===> Regression tests for libsignal-protocol-c-2.3.2
[0/1] cd /ptmp/pobj/libsignal-protocol-c-2.3.2/build-amd64 &&
/usr/local/bin/ctest --force-new-ctest-process --exclude-regex
"CMake.FileDownload|CTestTestUpload|RunCMake.ctest_submit"
Test project /ptmp/pobj/libsignal-protocol-c-2.3.2/build-amd64
Start 1: test_curve25519
1/13 Test #1: test_curve25519 .................. Passed 0.43 sec
Start 2: test_hkdf
2/13 Test #2: test_hkdf ........................ Passed 0.01 sec
Start 3: test_ratchet
3/13 Test #3: test_ratchet ..................... Passed 0.02 sec
Start 4: test_protocol
4/13 Test #4: test_protocol .................... Passed 0.01 sec
Start 5: test_session_record
5/13 Test #5: test_session_record .............. Passed 0.02 sec
Start 6: test_session_cipher
6/13 Test #6: test_session_cipher .............. Passed 0.33 sec
Start 7: test_session_builder
7/13 Test #7: test_session_builder ............. Passed 0.14 sec
Start 8: test_key_helper
8/13 Test #8: test_key_helper .................. Passed 0.01 sec
Start 9: test_simultaneous_initiate
9/13 Test #9: test_simultaneous_initiate ....... Passed 1.15 sec
Start 10: test_sender_key_record
10/13 Test #10: test_sender_key_record ........... Passed 0.01 sec
Start 11: test_group_cipher
11/13 Test #11: test_group_cipher ................ Passed 0.87 sec
Start 12: test_fingerprint
12/13 Test #12: test_fingerprint ................. Passed 0.08 sec
Start 13: test_device_consistency
13/13 Test #13: test_device_consistency .......... Passed 0.01 sec
100% tests passed, 0 tests failed out of 13
Total Test time (real) = 3.12 sec