Some tests fail on PowerPC [84% tests passed, 4 tests failed out of 25]
Description
---> Testing cpr
Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build" && /usr/bin/make test
Running tests...
/opt/local/bin/ctest --force-new-ctest-process
Test project /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build
Start 1: cpr_get_tests
1/25 Test #1: cpr_get_tests ....................***Failed 0.36 sec
Start 2: cpr_post_tests
2/25 Test #2: cpr_post_tests ................... Passed 0.26 sec
Start 3: cpr_session_tests
3/25 Test #3: cpr_session_tests ................***Failed 5.33 sec
Start 4: cpr_prepare_tests
4/25 Test #4: cpr_prepare_tests ................ Passed 0.17 sec
Start 5: cpr_async_tests
5/25 Test #5: cpr_async_tests .................. Passed 1.18 sec
Start 6: cpr_head_tests
6/25 Test #6: cpr_head_tests ...................***Failed 0.18 sec
Start 7: cpr_delete_tests
7/25 Test #7: cpr_delete_tests ................. Passed 0.27 sec
Start 8: cpr_put_tests
^C 8/25 Test #8: cpr_put_tests ....................***Exception: Interrupt762.44 sec
Start 9: cpr_callback_tests
9/25 Test #9: cpr_callback_tests ............... Passed 2.98 sec
Start 10: cpr_raw_body_tests
10/25 Test #10: cpr_raw_body_tests ............... Passed 0.21 sec
Start 11: cpr_options_tests
11/25 Test #11: cpr_options_tests ................ Passed 0.18 sec
Start 12: cpr_patch_tests
12/25 Test #12: cpr_patch_tests .................. Passed 0.19 sec
Start 13: cpr_error_tests
13/25 Test #13: cpr_error_tests .................. Passed 3.17 sec
Start 14: cpr_alternating_tests
14/25 Test #14: cpr_alternating_tests ............ Passed 0.18 sec
Start 15: cpr_util_tests
15/25 Test #15: cpr_util_tests ................... Passed 0.06 sec
Start 16: cpr_structures_tests
16/25 Test #16: cpr_structures_tests ............. Passed 0.09 sec
Start 17: cpr_encoded_auth_tests
17/25 Test #17: cpr_encoded_auth_tests ........... Passed 0.08 sec
Start 18: cpr_version_tests
18/25 Test #18: cpr_version_tests ................ Passed 0.07 sec
Start 19: cpr_download_tests
19/25 Test #19: cpr_download_tests ............... Passed 0.21 sec
Start 20: cpr_interceptor_tests
20/25 Test #20: cpr_interceptor_tests ............ Passed 0.19 sec
Start 21: cpr_interceptor_multi_tests
21/25 Test #21: cpr_interceptor_multi_tests ...... Passed 0.20 sec
Start 22: cpr_multiperform_tests
22/25 Test #22: cpr_multiperform_tests ........... Passed 2.21 sec
Start 23: cpr_resolve_tests
23/25 Test #23: cpr_resolve_tests ................ Passed 0.17 sec
Start 24: cpr_multiasync_tests
24/25 Test #24: cpr_multiasync_tests ............. Passed 4.61 sec
Start 25: cpr_ssl_tests
25/25 Test #25: cpr_ssl_tests .................... Passed 4.29 sec
84% tests passed, 4 tests failed out of 25
Total Test time (real) = 789.34 sec
The following tests FAILED:
1 - cpr_get_tests (Failed)
3 - cpr_session_tests (Failed)
6 - cpr_head_tests (Failed)
8 - cpr_put_tests (INTERRUPT)
Errors while running CTest
P. S. I had to interrupt cpr_put_tests since it apparently freezes. (Or is it supposed to take a long time to run?)
Specifically, here are cases that fail:
[ RUN ] CookiesTests.BasicCookiesTest
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-1.10.5/test/get_tests.cpp:131: Failure
Expected equality of these values:
expectedCookie->GetExpires()
Which is: 8-byte object <FA-96 FB-1C F1-00 10-00>
cookie->GetExpires()
Which is: 8-byte object <00-00 00-00 00-00 00-00>
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-1.10.5/test/get_tests.cpp:131: Failure
Expected equality of these values:
expectedCookie->GetExpires()
Which is: 8-byte object <FA-96 FB-1C F1-00 10-00>
cookie->GetExpires()
Which is: 8-byte object <00-00 00-00 00-00 00-00>
[ FAILED ] CookiesTests.BasicCookiesTest (3 ms)
[ RUN ] CookiesTests.EmptyCookieTest
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-1.10.5/test/get_tests.cpp:156: Failure
Expected equality of these values:
expectedCookie->GetExpires()
Which is: 8-byte object <FA-96 FB-1C F1-00 10-00>
cookie->GetExpires()
Which is: 8-byte object <00-00 00-00 00-00 00-00>
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-1.10.5/test/get_tests.cpp:156: Failure
Expected equality of these values:
expectedCookie->GetExpires()
Which is: 8-byte object <FA-96 FB-1C F1-00 10-00>
cookie->GetExpires()
Which is: 8-byte object <00-00 00-00 00-00 00-00>
[ FAILED ] CookiesTests.EmptyCookieTest (2 ms)
[ RUN ] CookiesTests.BasicCookiesTest
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-1.10.5/test/session_tests.cpp:728: Failure
Expected equality of these values:
expectedCookie->GetExpires()
Which is: 8-byte object <FA-96 FB-1C F1-00 10-00>
cookie->GetExpires()
Which is: 8-byte object <00-00 00-00 00-00 00-00>
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-1.10.5/test/session_tests.cpp:728: Failure
Expected equality of these values:
expectedCookie->GetExpires()
Which is: 8-byte object <FA-96 FB-1C F1-00 10-00>
cookie->GetExpires()
Which is: 8-byte object <00-00 00-00 00-00 00-00>
[ FAILED ] CookiesTests.BasicCookiesTest (2 ms)
[ RUN ] LocalPortTests.SetLocalPortTest
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-1.10.5/test/session_tests.cpp:1037: Failure
Expected: (port_from_response) >= (local_port), actual: 23787 vs 60252
[ FAILED ] LocalPortTests.SetLocalPortTest (1 ms)
[ RUN ] LocalPortTests.SetOptionTest
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-1.10.5/test/session_tests.cpp:1059: Failure
Expected: (port_from_response) >= (local_port), actual: 34796 vs 60551
[ FAILED ] LocalPortTests.SetOptionTest (1 ms)
[ RUN ] HeadTests.CookieHeadTest
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-1.10.5/test/head_tests.cpp:73: Failure
Expected equality of these values:
expectedCookie->GetExpires()
Which is: 8-byte object <FA-96 FB-1C F1-00 10-00>
cookie->GetExpires()
Which is: 8-byte object <00-00 00-00 00-00 00-00>
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-1.10.5/test/head_tests.cpp:73: Failure
Expected equality of these values:
expectedCookie->GetExpires()
Which is: 8-byte object <FA-96 FB-1C F1-00 10-00>
cookie->GetExpires()
Which is: 8-byte object <00-00 00-00 00-00 00-00>
[ FAILED ] HeadTests.CookieHeadTest (8 ms)
Example/How to Reproduce
Run the test on [32-bit?] powerpc.
Possible Fix
No response
Where did you get it from?
GitHub (branch e.g. master)
Additional Context/Your Environment
- OS: macOS
- Version: 10.6 ppc
This might be related to https://github.com/libcpr/cpr/pull/1097. Can you please retry with this change.
@COM8 Thanks, I will try this today.
@COM8 Does not work yet, at least with no extra flags: https://github.com/libcpr/cpr/pull/1097#issuecomment-2294886627
Do I understand it correctly you are using macOS on powerpc 32bit?
So I can setup a VM for debugging.
@COM8 With 5772153da47bb7f5720279a00871f2c30923fb6a patch added (on top of the earlier), the build succeeds with no issues (i.e. I do not have to disable errors/warnings), however looks like test performance regressed.
Running tests...
/opt/local/bin/ctest --force-new-ctest-process
Test project /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build
Start 1: cpr_get_tests
1/28 Test #1: cpr_get_tests ....................***Failed 1.36 sec
Start 2: cpr_post_tests
2/28 Test #2: cpr_post_tests ................... Passed 1.23 sec
Start 3: cpr_session_tests
^C 3/28 Test #3: cpr_session_tests ................***Exception: Interrupt393.76 sec
Start 4: cpr_prepare_tests
4/28 Test #4: cpr_prepare_tests ................ Passed 0.08 sec
Start 5: cpr_async_tests
^C 5/28 Test #5: cpr_async_tests ..................***Exception: Interrupt141.13 sec
Start 6: cpr_head_tests
6/28 Test #6: cpr_head_tests ...................***Failed 0.23 sec
Start 7: cpr_delete_tests
7/28 Test #7: cpr_delete_tests ................. Passed 1.19 sec
Start 8: cpr_put_tests
8/28 Test #8: cpr_put_tests ....................***Failed 1.10 sec
Start 9: cpr_callback_tests
9/28 Test #9: cpr_callback_tests ............... Passed 3.01 sec
Start 10: cpr_raw_body_tests
10/28 Test #10: cpr_raw_body_tests ............... Passed 0.07 sec
Start 11: cpr_options_tests
11/28 Test #11: cpr_options_tests ................***Failed 0.18 sec
Start 12: cpr_patch_tests
12/28 Test #12: cpr_patch_tests .................. Passed 0.13 sec
Start 13: cpr_error_tests
13/28 Test #13: cpr_error_tests .................. Passed 3.29 sec
Start 14: cpr_alternating_tests
14/28 Test #14: cpr_alternating_tests ............ Passed 0.14 sec
Start 15: cpr_util_tests
15/28 Test #15: cpr_util_tests ................... Passed 0.07 sec
Start 16: cpr_structures_tests
16/28 Test #16: cpr_structures_tests ............. Passed 0.07 sec
Start 17: cpr_encoded_auth_tests
17/28 Test #17: cpr_encoded_auth_tests ........... Passed 0.06 sec
Start 18: cpr_version_tests
18/28 Test #18: cpr_version_tests ................ Passed 0.05 sec
Start 19: cpr_download_tests
19/28 Test #19: cpr_download_tests ............... Passed 0.18 sec
Start 20: cpr_interceptor_tests
20/28 Test #20: cpr_interceptor_tests ............ Passed 0.10 sec
Start 21: cpr_interceptor_multi_tests
21/28 Test #21: cpr_interceptor_multi_tests ...... Passed 0.22 sec
Start 22: cpr_multiperform_tests
22/28 Test #22: cpr_multiperform_tests ........... Passed 3.22 sec
Start 23: cpr_resolve_tests
23/28 Test #23: cpr_resolve_tests ................ Passed 0.17 sec
Start 24: cpr_multiasync_tests
24/28 Test #24: cpr_multiasync_tests ............. Passed 5.61 sec
Start 25: cpr_file_upload_tests
25/28 Test #25: cpr_file_upload_tests ............ Passed 0.18 sec
Start 26: cpr_singleton_tests
26/28 Test #26: cpr_singleton_tests .............. Passed 0.05 sec
Start 27: cpr_threadpool_tests
27/28 Test #27: cpr_threadpool_tests ............. Passed 0.05 sec
Start 28: cpr_ssl_tests
28/28 Test #28: cpr_ssl_tests .................... Passed 4.34 sec
79% tests passed, 6 tests failed out of 28
Total Test time (real) = 561.34 sec
The following tests FAILED:
1 - cpr_get_tests (Failed)
3 - cpr_session_tests (INTERRUPT)
5 - cpr_async_tests (INTERRUPT)
6 - cpr_head_tests (Failed)
8 - cpr_put_tests (Failed)
11 - cpr_options_tests (Failed)
Start testing: Aug 18 15:11 CST
----------------------------------------------------------
1/28 Testing: cpr_get_tests
1/28 Test: cpr_get_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/get_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_get_tests" start time: Aug 18 15:11 CST
Output:
----------------------------------------------------------
[==========] Running 105 tests from 12 test suites.
[----------] Global test environment set-up.
[----------] 10 tests from BasicTests
[ RUN ] BasicTests.HelloWorldTest
[ OK ] BasicTests.HelloWorldTest (15 ms)
[ RUN ] BasicTests.HelloWorldStringViewUrlTest
[ OK ] BasicTests.HelloWorldStringViewUrlTest (1 ms)
[ RUN ] BasicTests.HelloWorldNoInterfaceTest
[ OK ] BasicTests.HelloWorldNoInterfaceTest (1 ms)
[ RUN ] BasicTests.HelloWorldNoInterfaceStringViewTest
[ OK ] BasicTests.HelloWorldNoInterfaceStringViewTest (8 ms)
[ RUN ] BasicTests.TimeoutTest
[ OK ] BasicTests.TimeoutTest (1 ms)
[ RUN ] BasicTests.BasicJsonTest
[ OK ] BasicTests.BasicJsonTest (1 ms)
[ RUN ] BasicTests.ResourceNotFoundTest
[ OK ] BasicTests.ResourceNotFoundTest (3 ms)
[ RUN ] BasicTests.BadHostTest
[ OK ] BasicTests.BadHostTest (804 ms)
[ RUN ] BasicTests.RequestBodyTest
[ OK ] BasicTests.RequestBodyTest (5 ms)
[ RUN ] BasicTests.RequestBodyStringViewTest
[ OK ] BasicTests.RequestBodyStringViewTest (2 ms)
[----------] 10 tests from BasicTests (847 ms total)
[----------] 4 tests from CookiesTests
[ RUN ] CookiesTests.BasicCookiesTest
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/get_tests.cpp:132: Failure
Expected equality of these values:
expectedCookie->GetExpires()
Which is: 8-byte object <36-31 C5-1C F1-00 10-00>
cookie->GetExpires()
Which is: 8-byte object <1D-CD 64-FF C4-65 36-00>
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/get_tests.cpp:132: Failure
Expected equality of these values:
expectedCookie->GetExpires()
Which is: 8-byte object <36-31 C5-1C F1-00 10-00>
cookie->GetExpires()
Which is: 8-byte object <1D-CD 64-FF C4-65 36-00>
[ FAILED ] CookiesTests.BasicCookiesTest (4 ms)
[ RUN ] CookiesTests.EmptyCookieTest
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/get_tests.cpp:157: Failure
Expected equality of these values:
expectedCookie->GetExpires()
Which is: 8-byte object <36-31 C5-1C F1-00 10-00>
cookie->GetExpires()
Which is: 8-byte object <1D-CD 64-FF C4-65 36-00>
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/get_tests.cpp:157: Failure
Expected equality of these values:
expectedCookie->GetExpires()
Which is: 8-byte object <36-31 C5-1C F1-00 10-00>
cookie->GetExpires()
Which is: 8-byte object <1D-CD 64-FF C4-65 36-00>
[ FAILED ] CookiesTests.EmptyCookieTest (1 ms)
[ RUN ] CookiesTests.ClientSetCookiesTest
[ OK ] CookiesTests.ClientSetCookiesTest (4 ms)
[ RUN ] CookiesTests.UnencodedCookiesTest
[ OK ] CookiesTests.UnencodedCookiesTest (7 ms)
[----------] 4 tests from CookiesTests (18 ms total)
[----------] 4 tests from ParameterTests
[ RUN ] ParameterTests.SingleParameterTest
[ OK ] ParameterTests.SingleParameterTest (12 ms)
[ RUN ] ParameterTests.SingleParameterOnlyKeyTest
[ OK ] ParameterTests.SingleParameterOnlyKeyTest (11 ms)
[ RUN ] ParameterTests.MultipleParametersTest
[ OK ] ParameterTests.MultipleParametersTest (11 ms)
[ RUN ] ParameterTests.MultipleDynamicParametersTest
[ OK ] ParameterTests.MultipleDynamicParametersTest (7 ms)
[----------] 4 tests from ParameterTests (43 ms total)
[----------] 5 tests from BasicAuthenticationTests
[ RUN ] BasicAuthenticationTests.BasicAuthenticationSuccessTest
[ OK ] BasicAuthenticationTests.BasicAuthenticationSuccessTest (4 ms)
[ RUN ] BasicAuthenticationTests.BasicBearerSuccessTest
[ OK ] BasicAuthenticationTests.BasicBearerSuccessTest (4 ms)
[ RUN ] BasicAuthenticationTests.BasicDigestSuccessTest
[ OK ] BasicAuthenticationTests.BasicDigestSuccessTest (3 ms)
[ RUN ] BasicAuthenticationTests.BasicAuthenticationNullFailureTest
[ OK ] BasicAuthenticationTests.BasicAuthenticationNullFailureTest (3 ms)
[ RUN ] BasicAuthenticationTests.BasicAuthenticationFailureTest
[ OK ] BasicAuthenticationTests.BasicAuthenticationFailureTest (1 ms)
[----------] 5 tests from BasicAuthenticationTests (18 ms total)
[----------] 1 test from BasicAthenticationParameterTests
[ RUN ] BasicAthenticationParameterTests.BasicAuthenticationSuccessSingleParameterTest
[ OK ] BasicAthenticationParameterTests.BasicAuthenticationSuccessSingleParameterTest (1 ms)
[----------] 1 test from BasicAthenticationParameterTests (1 ms total)
[----------] 5 tests from BasicAuthenticationParameterTests
[ RUN ] BasicAuthenticationParameterTests.BasicAuthenticationSuccessMultipleParametersTest
[ OK ] BasicAuthenticationParameterTests.BasicAuthenticationSuccessMultipleParametersTest (1 ms)
[ RUN ] BasicAuthenticationParameterTests.BasicAuthenticationSuccessSingleParameterReverseTest
[ OK ] BasicAuthenticationParameterTests.BasicAuthenticationSuccessSingleParameterReverseTest (6 ms)
[ RUN ] BasicAuthenticationParameterTests.BasicAuthenticationSuccessMultipleParametersReverseTest
[ OK ] BasicAuthenticationParameterTests.BasicAuthenticationSuccessMultipleParametersReverseTest (1 ms)
[ RUN ] BasicAuthenticationParameterTests.BasicAuthenticationFailureSingleParameterTest
[ OK ] BasicAuthenticationParameterTests.BasicAuthenticationFailureSingleParameterTest (1 ms)
[ RUN ] BasicAuthenticationParameterTests.BasicAuthenticationFailureMultipleParametersTest
[ OK ] BasicAuthenticationParameterTests.BasicAuthenticationFailureMultipleParametersTest (1 ms)
[----------] 5 tests from BasicAuthenticationParameterTests (13 ms total)
[----------] 4 tests from BasicAuthenticationHeaderTests
[ RUN ] BasicAuthenticationHeaderTests.BasicAuthenticationSuccessSingleHeaderTest
[ OK ] BasicAuthenticationHeaderTests.BasicAuthenticationSuccessSingleHeaderTest (1 ms)
[ RUN ] BasicAuthenticationHeaderTests.BasicAuthenticationSuccessMultipleHeadersTest
[ OK ] BasicAuthenticationHeaderTests.BasicAuthenticationSuccessMultipleHeadersTest (1 ms)
[ RUN ] BasicAuthenticationHeaderTests.BasicAuthenticationSuccessSingleHeaderReverseTest
[ OK ] BasicAuthenticationHeaderTests.BasicAuthenticationSuccessSingleHeaderReverseTest (6 ms)
[ RUN ] BasicAuthenticationHeaderTests.BasicAuthenticationSuccessMultipleHeadersReverseTest
[ OK ] BasicAuthenticationHeaderTests.BasicAuthenticationSuccessMultipleHeadersReverseTest (5 ms)
[----------] 4 tests from BasicAuthenticationHeaderTests (16 ms total)
[----------] 10 tests from HeaderTests
[ RUN ] HeaderTests.HeaderJsonTest
[ OK ] HeaderTests.HeaderJsonTest (1 ms)
[ RUN ] HeaderTests.HeaderReflectNoneTest
[ OK ] HeaderTests.HeaderReflectNoneTest (1 ms)
[ RUN ] HeaderTests.HeaderReflectUpdateHeaderAddSessionTest
[ OK ] HeaderTests.HeaderReflectUpdateHeaderAddSessionTest (1 ms)
[ RUN ] HeaderTests.SessionHeaderReflectTest
[ OK ] HeaderTests.SessionHeaderReflectTest (7 ms)
[ RUN ] HeaderTests.HeaderReflectUpdateHeaderUpdateSessionTest
[ OK ] HeaderTests.HeaderReflectUpdateHeaderUpdateSessionTest (1 ms)
[ RUN ] HeaderTests.HeaderReflectEmptyTest
[ OK ] HeaderTests.HeaderReflectEmptyTest (1 ms)
[ RUN ] HeaderTests.HeaderReflectSingleTest
[ OK ] HeaderTests.HeaderReflectSingleTest (1 ms)
[ RUN ] HeaderTests.HeaderReflectMultipleTest
[ OK ] HeaderTests.HeaderReflectMultipleTest (1 ms)
[ RUN ] HeaderTests.HeaderReflectCaseInsensitiveTest
[ OK ] HeaderTests.HeaderReflectCaseInsensitiveTest (6 ms)
[ RUN ] HeaderTests.SetEmptyHeaderTest
[ OK ] HeaderTests.SetEmptyHeaderTest (6 ms)
[----------] 10 tests from HeaderTests (31 ms total)
[----------] 9 tests from ParameterHeaderTests
[ RUN ] ParameterHeaderTests.HeaderReflectNoneParametersTest
[ OK ] ParameterHeaderTests.HeaderReflectNoneParametersTest (3 ms)
[ RUN ] ParameterHeaderTests.HeaderReflectEmptyParametersTest
[ OK ] ParameterHeaderTests.HeaderReflectEmptyParametersTest (9 ms)
[ RUN ] ParameterHeaderTests.HeaderReflectSingleParametersTest
[ OK ] ParameterHeaderTests.HeaderReflectSingleParametersTest (1 ms)
[ RUN ] ParameterHeaderTests.HeaderReflectMultipleParametersTest
[ OK ] ParameterHeaderTests.HeaderReflectMultipleParametersTest (1 ms)
[ RUN ] ParameterHeaderTests.HeaderReflectCaseInsensitiveParametersTest
[ OK ] ParameterHeaderTests.HeaderReflectCaseInsensitiveParametersTest (1 ms)
[ RUN ] ParameterHeaderTests.HeaderReflectEmptyParametersReverseTest
[ OK ] ParameterHeaderTests.HeaderReflectEmptyParametersReverseTest (1 ms)
[ RUN ] ParameterHeaderTests.HeaderReflectSingleParametersReverseTest
[ OK ] ParameterHeaderTests.HeaderReflectSingleParametersReverseTest (1 ms)
[ RUN ] ParameterHeaderTests.HeaderReflectMultipleParametersReverseTest
[ OK ] ParameterHeaderTests.HeaderReflectMultipleParametersReverseTest (1 ms)
[ RUN ] ParameterHeaderTests.HeaderReflectCaseInsensitiveParametersReverseTest
[ OK ] ParameterHeaderTests.HeaderReflectCaseInsensitiveParametersReverseTest (1 ms)
[----------] 9 tests from ParameterHeaderTests (24 ms total)
[----------] 48 tests from BasicAuthenticationParameterHeaderTests
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderAATest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderAATest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderABTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderABTest (8 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderACTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderACTest (5 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderADTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderADTest (5 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderAETest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderAETest (7 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderAFTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderAFTest (8 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderAGTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderAGTest (2 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderAHTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderAHTest (2 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBATest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBATest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBBTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBBTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBCTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBCTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBDTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBDTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBETest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBETest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBFTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBFTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBGTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBGTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBHTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderBHTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCATest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCATest (12 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCBTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCBTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCCTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCCTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCDTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCDTest (4 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCETest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCETest (7 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCFTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCFTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCGTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCGTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCHTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderCHTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDATest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDATest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDBTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDBTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDCTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDCTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDDTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDDTest (2 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDETest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDETest (6 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDFTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDFTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDGTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDGTest (2 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDHTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderDHTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderEATest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderEATest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderEBTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderEBTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderECTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderECTest (2 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderEDTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderEDTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderEETest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderEETest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderEFTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderEFTest (2 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderEGTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderEGTest (3 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderEHTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderEHTest (5 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFATest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFATest (2 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFBTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFBTest (7 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFCTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFCTest (3 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFDTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFDTest (6 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFETest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFETest (4 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFFTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFFTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFGTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFGTest (1 ms)
[ RUN ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFHTest
[ OK ] BasicAuthenticationParameterHeaderTests.BasicAuthenticationParameterHeaderFHTest (1 ms)
[----------] 48 tests from BasicAuthenticationParameterHeaderTests (158 ms total)
[----------] 4 tests from GetRedirectTests
[ RUN ] GetRedirectTests.RedirectTest
[ OK ] GetRedirectTests.RedirectTest (1 ms)
[ RUN ] GetRedirectTests.ZeroMaxRedirectsSuccessTest
[ OK ] GetRedirectTests.ZeroMaxRedirectsSuccessTest (1 ms)
[ RUN ] GetRedirectTests.ZeroMaxRedirectsFailureTest
[ OK ] GetRedirectTests.ZeroMaxRedirectsFailureTest (1 ms)
[ RUN ] GetRedirectTests.BasicAuthenticationRedirectSuccessTest
[ OK ] GetRedirectTests.BasicAuthenticationRedirectSuccessTest (1 ms)
[----------] 4 tests from GetRedirectTests (6 ms total)
[----------] 1 test from LimitRateTests
[ RUN ] LimitRateTests.HelloWorldTest
[ OK ] LimitRateTests.HelloWorldTest (1 ms)
[----------] 1 test from LimitRateTests (1 ms total)
[----------] Global test environment tear-down
[==========] 105 tests from 12 test suites ran. (1291 ms total)
[ PASSED ] 103 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] CookiesTests.BasicCookiesTest
[ FAILED ] CookiesTests.EmptyCookieTest
2 FAILED TESTS
<end of output>
Test time = 1.36 sec
----------------------------------------------------------
Test Failed.
"cpr_get_tests" end time: Aug 18 15:11 CST
"cpr_get_tests" time elapsed: 00:00:01
----------------------------------------------------------
2/28 Testing: cpr_post_tests
2/28 Test: cpr_post_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/post_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_post_tests" start time: Aug 18 15:11 CST
Output:
----------------------------------------------------------
[==========] Running 39 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 35 tests from UrlEncodedPostTests
[ RUN ] UrlEncodedPostTests.UrlPostSingleTest
[ OK ] UrlEncodedPostTests.UrlPostSingleTest (33 ms)
[ RUN ] UrlEncodedPostTests.UrlPostAddPayloadPair
[ OK ] UrlEncodedPostTests.UrlPostAddPayloadPair (7 ms)
[ RUN ] UrlEncodedPostTests.UrlPostPayloadIteratorTest
[ OK ] UrlEncodedPostTests.UrlPostPayloadIteratorTest (1 ms)
[ RUN ] UrlEncodedPostTests.UrlPostEncodeTest
[ OK ] UrlEncodedPostTests.UrlPostEncodeTest (4 ms)
[ RUN ] UrlEncodedPostTests.UrlPostEncodeNoCopyTest
[ OK ] UrlEncodedPostTests.UrlPostEncodeNoCopyTest (6 ms)
[ RUN ] UrlEncodedPostTests.UrlPostManyTest
[ OK ] UrlEncodedPostTests.UrlPostManyTest (11 ms)
[ RUN ] UrlEncodedPostTests.UrlPostBadHostTest
[ OK ] UrlEncodedPostTests.UrlPostBadHostTest (5 ms)
[ RUN ] UrlEncodedPostTests.FormPostSingleTest
[ OK ] UrlEncodedPostTests.FormPostSingleTest (8 ms)
[ RUN ] UrlEncodedPostTests.FormPostFileTest
[ OK ] UrlEncodedPostTests.FormPostFileTest (3 ms)
[ RUN ] UrlEncodedPostTests.FormPostMultipleFilesTestLvalue
[ OK ] UrlEncodedPostTests.FormPostMultipleFilesTestLvalue (8 ms)
[ RUN ] UrlEncodedPostTests.FormPostMultipleFilesTestRvalue
[ OK ] UrlEncodedPostTests.FormPostMultipleFilesTestRvalue (27 ms)
[ RUN ] UrlEncodedPostTests.FormPostFileTestWithOverridenFilename
[ OK ] UrlEncodedPostTests.FormPostFileTestWithOverridenFilename (2 ms)
[ RUN ] UrlEncodedPostTests.FormPostFileNoCopyTest
[ OK ] UrlEncodedPostTests.FormPostFileNoCopyTest (5 ms)
[ RUN ] UrlEncodedPostTests.FormPostFileNoCopyTestWithOverridenFilename
[ OK ] UrlEncodedPostTests.FormPostFileNoCopyTestWithOverridenFilename (4 ms)
[ RUN ] UrlEncodedPostTests.TimeoutPostTest
[ OK ] UrlEncodedPostTests.TimeoutPostTest (1 ms)
[ RUN ] UrlEncodedPostTests.FormPostFileBufferTest
[ OK ] UrlEncodedPostTests.FormPostFileBufferTest (1 ms)
[ RUN ] UrlEncodedPostTests.FormPostFileBufferNoCopyTest
[ OK ] UrlEncodedPostTests.FormPostFileBufferNoCopyTest (6 ms)
[ RUN ] UrlEncodedPostTests.FormPostFileBufferPointerTest
[ OK ] UrlEncodedPostTests.FormPostFileBufferPointerTest (2 ms)
[ RUN ] UrlEncodedPostTests.FormPostFileBufferArrayTest
[ OK ] UrlEncodedPostTests.FormPostFileBufferArrayTest (1 ms)
[ RUN ] UrlEncodedPostTests.FormPostFileBufferVectorTest
[ OK ] UrlEncodedPostTests.FormPostFileBufferVectorTest (1 ms)
[ RUN ] UrlEncodedPostTests.FormPostFileBufferStdArrayTest
[ OK ] UrlEncodedPostTests.FormPostFileBufferStdArrayTest (1 ms)
[ RUN ] UrlEncodedPostTests.FormPostBufferRvalueTest
[ OK ] UrlEncodedPostTests.FormPostBufferRvalueTest (1 ms)
[ RUN ] UrlEncodedPostTests.ReflectPostBufferLvalueTest
[ OK ] UrlEncodedPostTests.ReflectPostBufferLvalueTest (4 ms)
[ RUN ] UrlEncodedPostTests.FormPostManyTest
[ OK ] UrlEncodedPostTests.FormPostManyTest (4 ms)
[ RUN ] UrlEncodedPostTests.FormPostManyNoCopyTest
[ OK ] UrlEncodedPostTests.FormPostManyNoCopyTest (7 ms)
[ RUN ] UrlEncodedPostTests.FormPostContentTypeTest
[ OK ] UrlEncodedPostTests.FormPostContentTypeTest (1 ms)
[ RUN ] UrlEncodedPostTests.FormPostContentTypeLValueTest
[ OK ] UrlEncodedPostTests.FormPostContentTypeLValueTest (3 ms)
[ RUN ] UrlEncodedPostTests.UrlPostAsyncSingleTest
[ OK ] UrlEncodedPostTests.UrlPostAsyncSingleTest (958 ms)
[ RUN ] UrlEncodedPostTests.UrlReflectTest
[ OK ] UrlEncodedPostTests.UrlReflectTest (1 ms)
[ RUN ] UrlEncodedPostTests.PostWithNoBodyTest
[ OK ] UrlEncodedPostTests.PostWithNoBodyTest (1 ms)
[ RUN ] UrlEncodedPostTests.PostReflectTest
[ OK ] UrlEncodedPostTests.PostReflectTest (7 ms)
[ RUN ] UrlEncodedPostTests.PostReflectPayloadTest
[ OK ] UrlEncodedPostTests.PostReflectPayloadTest (4 ms)
[ RUN ] UrlEncodedPostTests.InjectMultipleHeadersTest
[ OK ] UrlEncodedPostTests.InjectMultipleHeadersTest (1 ms)
[ RUN ] UrlEncodedPostTests.PostBodyWithFile
[ OK ] UrlEncodedPostTests.PostBodyWithFile (2 ms)
[ RUN ] UrlEncodedPostTests.PostBodyWithBuffer
[ OK ] UrlEncodedPostTests.PostBodyWithBuffer (1 ms)
[----------] 35 tests from UrlEncodedPostTests (1153 ms total)
[----------] 4 tests from PostRedirectTests
[ RUN ] PostRedirectTests.TempRedirectTest
[ OK ] PostRedirectTests.TempRedirectTest (1 ms)
[ RUN ] PostRedirectTests.TempRedirectNoneTest
[ OK ] PostRedirectTests.TempRedirectNoneTest (1 ms)
[ RUN ] PostRedirectTests.PermRedirectTest
[ OK ] PostRedirectTests.PermRedirectTest (2 ms)
[ RUN ] PostRedirectTests.PermRedirectNoneTest
[ OK ] PostRedirectTests.PermRedirectNoneTest (1 ms)
[----------] 4 tests from PostRedirectTests (7 ms total)
[----------] Global test environment tear-down
[==========] 39 tests from 2 test suites ran. (1166 ms total)
[ PASSED ] 39 tests.
<end of output>
Test time = 1.23 sec
----------------------------------------------------------
Test Passed.
"cpr_post_tests" end time: Aug 18 15:11 CST
"cpr_post_tests" time elapsed: 00:00:01
----------------------------------------------------------
3/28 Testing: cpr_session_tests
3/28 Test: cpr_session_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/session_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_session_tests" start time: Aug 18 15:11 CST
Output:
----------------------------------------------------------
[==========] Running 87 tests from 22 test suites.
[----------] Global test environment set-up.
<end of output>
Test time = 393.76 sec
----------------------------------------------------------
Test Failed.
"cpr_session_tests" end time: Aug 18 15:18 CST
"cpr_session_tests" time elapsed: 00:06:33
----------------------------------------------------------
4/28 Testing: cpr_prepare_tests
4/28 Test: cpr_prepare_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/prepare_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_prepare_tests" start time: Aug 18 15:18 CST
Output:
----------------------------------------------------------
[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from PrepareTests
[ RUN ] PrepareTests.GetTest
[ OK ] PrepareTests.GetTest (12 ms)
[ RUN ] PrepareTests.OptionsTests
[ OK ] PrepareTests.OptionsTests (1 ms)
[ RUN ] PrepareTests.PatchTest
[ OK ] PrepareTests.PatchTest (2 ms)
[ RUN ] PrepareTests.MultipleDeleteHeadPutGetPostTest
[ OK ] PrepareTests.MultipleDeleteHeadPutGetPostTest (10 ms)
[----------] 4 tests from PrepareTests (26 ms total)
[----------] Global test environment tear-down
[==========] 4 tests from 1 test suite ran. (28 ms total)
[ PASSED ] 4 tests.
<end of output>
Test time = 0.08 sec
----------------------------------------------------------
Test Passed.
"cpr_prepare_tests" end time: Aug 18 15:18 CST
"cpr_prepare_tests" time elapsed: 00:00:00
----------------------------------------------------------
5/28 Testing: cpr_async_tests
5/28 Test: cpr_async_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/async_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_async_tests" start time: Aug 18 15:18 CST
Output:
----------------------------------------------------------
[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
<end of output>
Test time = 141.13 sec
----------------------------------------------------------
Test Failed.
"cpr_async_tests" end time: Aug 18 15:20 CST
"cpr_async_tests" time elapsed: 00:02:21
----------------------------------------------------------
6/28 Testing: cpr_head_tests
6/28 Test: cpr_head_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/head_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_head_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 18 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 18 tests from HeadTests
[ RUN ] HeadTests.BasicHeadTest
[ OK ] HeadTests.BasicHeadTest (13 ms)
[ RUN ] HeadTests.ComplexHeadTest
[ OK ] HeadTests.ComplexHeadTest (1 ms)
[ RUN ] HeadTests.ResourceNotFoundHeadTest
[ OK ] HeadTests.ResourceNotFoundHeadTest (1 ms)
[ RUN ] HeadTests.BadHostHeadTest
[ OK ] HeadTests.BadHostHeadTest (32 ms)
[ RUN ] HeadTests.CookieHeadTest
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/head_tests.cpp:73: Failure
Expected equality of these values:
expectedCookie->GetExpires()
Which is: 8-byte object <36-31 C5-1C F1-00 10-00>
cookie->GetExpires()
Which is: 8-byte object <1D-CD 64-FF C4-65 36-00>
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/head_tests.cpp:73: Failure
Expected equality of these values:
expectedCookie->GetExpires()
Which is: 8-byte object <36-31 C5-1C F1-00 10-00>
cookie->GetExpires()
Which is: 8-byte object <1D-CD 64-FF C4-65 36-00>
[ FAILED ] HeadTests.CookieHeadTest (2 ms)
[ RUN ] HeadTests.ParameterHeadTest
[ OK ] HeadTests.ParameterHeadTest (1 ms)
[ RUN ] HeadTests.AuthenticationSuccessHeadTest
[ OK ] HeadTests.AuthenticationSuccessHeadTest (1 ms)
[ RUN ] HeadTests.AuthenticationNullFailureHeadTest
[ OK ] HeadTests.AuthenticationNullFailureHeadTest (1 ms)
[ RUN ] HeadTests.AuthenticationFailureHeadTest
[ OK ] HeadTests.AuthenticationFailureHeadTest (1 ms)
[ RUN ] HeadTests.BearerSuccessHeadTest
[ OK ] HeadTests.BearerSuccessHeadTest (1 ms)
[ RUN ] HeadTests.DigestSuccessHeadTest
[ OK ] HeadTests.DigestSuccessHeadTest (1 ms)
[ RUN ] HeadTests.HeaderReflectNoneHeadTest
[ OK ] HeadTests.HeaderReflectNoneHeadTest (1 ms)
[ RUN ] HeadTests.HeaderReflectEmptyHeadTest
[ OK ] HeadTests.HeaderReflectEmptyHeadTest (1 ms)
[ RUN ] HeadTests.HeaderReflectHeadTest
[ OK ] HeadTests.HeaderReflectHeadTest (1 ms)
[ RUN ] HeadTests.SetEmptyHeaderHeadTest
[ OK ] HeadTests.SetEmptyHeaderHeadTest (1 ms)
[ RUN ] HeadTests.RedirectHeadTest
[ OK ] HeadTests.RedirectHeadTest (1 ms)
[ RUN ] HeadTests.ZeroMaxRedirectsHeadTest
[ OK ] HeadTests.ZeroMaxRedirectsHeadTest (0 ms)
[ RUN ] HeadTests.BasicHeadAsyncTest
[ OK ] HeadTests.BasicHeadAsyncTest (7 ms)
[----------] 18 tests from HeadTests (74 ms total)
[----------] Global test environment tear-down
[==========] 18 tests from 1 test suite ran. (175 ms total)
[ PASSED ] 17 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] HeadTests.CookieHeadTest
1 FAILED TEST
<end of output>
Test time = 0.23 sec
----------------------------------------------------------
Test Failed.
"cpr_head_tests" end time: Aug 18 15:20 CST
"cpr_head_tests" time elapsed: 00:00:00
----------------------------------------------------------
7/28 Testing: cpr_delete_tests
7/28 Test: cpr_delete_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/delete_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_delete_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 16 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 16 tests from DeleteTests
[ RUN ] DeleteTests.DeleteTest
[ OK ] DeleteTests.DeleteTest (13 ms)
[ RUN ] DeleteTests.DeleteUnallowedTest
[ OK ] DeleteTests.DeleteUnallowedTest (1 ms)
[ RUN ] DeleteTests.DeleteJsonBodyTest
[ OK ] DeleteTests.DeleteJsonBodyTest (1 ms)
[ RUN ] DeleteTests.SessionDeleteTest
[ OK ] DeleteTests.SessionDeleteTest (2 ms)
[ RUN ] DeleteTests.SessionDeleteUnallowedTest
[ OK ] DeleteTests.SessionDeleteUnallowedTest (1 ms)
[ RUN ] DeleteTests.SessionDeleteJsonBodyTest
[ OK ] DeleteTests.SessionDeleteJsonBodyTest (1 ms)
[ RUN ] DeleteTests.SessionDeleteAfterGetTest
[ OK ] DeleteTests.SessionDeleteAfterGetTest (1 ms)
[ RUN ] DeleteTests.SessionDeleteUnallowedAfterGetTest
[ OK ] DeleteTests.SessionDeleteUnallowedAfterGetTest (1 ms)
[ RUN ] DeleteTests.SessionDeleteAfterHeadTest
[ OK ] DeleteTests.SessionDeleteAfterHeadTest (1 ms)
[ RUN ] DeleteTests.SessionDeleteUnallowedAfterHeadTest
[ OK ] DeleteTests.SessionDeleteUnallowedAfterHeadTest (1 ms)
[ RUN ] DeleteTests.SessionDeleteAfterPostTest
[ OK ] DeleteTests.SessionDeleteAfterPostTest (1 ms)
[ RUN ] DeleteTests.SessionDeleteUnallowedAfterPostTest
[ OK ] DeleteTests.SessionDeleteUnallowedAfterPostTest (1 ms)
[ RUN ] DeleteTests.AsyncDeleteTest
[ OK ] DeleteTests.AsyncDeleteTest (1 ms)
[ RUN ] DeleteTests.AsyncDeleteUnallowedTest
[ OK ] DeleteTests.AsyncDeleteUnallowedTest (1 ms)
[ RUN ] DeleteTests.AsyncMultipleDeleteTest
[ OK ] DeleteTests.AsyncMultipleDeleteTest (5 ms)
[ RUN ] DeleteTests.AsyncMultipleDeleteUnallowedTest
[ OK ] DeleteTests.AsyncMultipleDeleteUnallowedTest (998 ms)
[----------] 16 tests from DeleteTests (1041 ms total)
[----------] Global test environment tear-down
[==========] 16 tests from 1 test suite ran. (1142 ms total)
[ PASSED ] 16 tests.
<end of output>
Test time = 1.19 sec
----------------------------------------------------------
Test Passed.
"cpr_delete_tests" end time: Aug 18 15:20 CST
"cpr_delete_tests" time elapsed: 00:00:01
----------------------------------------------------------
8/28 Testing: cpr_put_tests
8/28 Test: cpr_put_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/put_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_put_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 14 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 14 tests from PutTests
[ RUN ] PutTests.PutTest
[ OK ] PutTests.PutTest (12 ms)
[ RUN ] PutTests.PutUnallowedTest
[ OK ] PutTests.PutUnallowedTest (1 ms)
[ RUN ] PutTests.SessionPutTest
[ OK ] PutTests.SessionPutTest (1 ms)
[ RUN ] PutTests.SessionPutUnallowedTest
[ OK ] PutTests.SessionPutUnallowedTest (1 ms)
[ RUN ] PutTests.SessionPutAfterGetTest
[ OK ] PutTests.SessionPutAfterGetTest (1 ms)
[ RUN ] PutTests.SessionPutUnallowedAfterGetTest
[ OK ] PutTests.SessionPutUnallowedAfterGetTest (2 ms)
[ RUN ] PutTests.SessionPutAfterHeadTest
[ OK ] PutTests.SessionPutAfterHeadTest (1 ms)
[ RUN ] PutTests.SessionPutUnallowedAfterHeadTest
[ OK ] PutTests.SessionPutUnallowedAfterHeadTest (1 ms)
[ RUN ] PutTests.SessionPutAfterPostTest
[ OK ] PutTests.SessionPutAfterPostTest (1 ms)
[ RUN ] PutTests.SessionPutUnallowedAfterPostTest
[ OK ] PutTests.SessionPutUnallowedAfterPostTest (1 ms)
[ RUN ] PutTests.AsyncPutTest
[ OK ] PutTests.AsyncPutTest (1 ms)
[ RUN ] PutTests.AsyncPutUnallowedTest
[ OK ] PutTests.AsyncPutUnallowedTest (1 ms)
[ RUN ] PutTests.AsyncMultiplePutTest
[ OK ] PutTests.AsyncMultiplePutTest (5 ms)
[ RUN ] PutTests.AsyncMultiplePutUnallowedTest
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:264: Failure
Expected equality of these values:
expected_text
Which is: "Method Not Allowed"
response.text
Which is: ""
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:266: Failure
Expected equality of these values:
std::string{"text/plain"}
Which is: "text/plain"
response.header["content-type"]
Which is: ""
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:267: Failure
Expected equality of these values:
405
response.status_code
Which is: 0
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:268: Failure
Expected equality of these values:
ErrorCode::OK
Which is: 4-byte object <00-00 00-00>
response.error.code
Which is: 4-byte object <00-00 00-06>
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:264: Failure
Expected equality of these values:
expected_text
Which is: "Method Not Allowed"
response.text
Which is: ""
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:266: Failure
Expected equality of these values:
std::string{"text/plain"}
Which is: "text/plain"
response.header["content-type"]
Which is: ""
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:267: Failure
Expected equality of these values:
405
response.status_code
Which is: 0
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:268: Failure
Expected equality of these values:
ErrorCode::OK
Which is: 4-byte object <00-00 00-00>
response.error.code
Which is: 4-byte object <00-00 00-06>
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:264: Failure
Expected equality of these values:
expected_text
Which is: "Method Not Allowed"
response.text
Which is: ""
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:266: Failure
Expected equality of these values:
std::string{"text/plain"}
Which is: "text/plain"
response.header["content-type"]
Which is: ""
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:267: Failure
Expected equality of these values:
405
response.status_code
Which is: 0
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:268: Failure
Expected equality of these values:
ErrorCode::OK
Which is: 4-byte object <00-00 00-00>
response.error.code
Which is: 4-byte object <00-00 00-01>
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:264: Failure
Expected equality of these values:
expected_text
Which is: "Method Not Allowed"
response.text
Which is: ""
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:266: Failure
Expected equality of these values:
std::string{"text/plain"}
Which is: "text/plain"
response.header["content-type"]
Which is: ""
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:267: Failure
Expected equality of these values:
405
response.status_code
Which is: 0
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/put_tests.cpp:268: Failure
Expected equality of these values:
ErrorCode::OK
Which is: 4-byte object <00-00 00-00>
response.error.code
Which is: 4-byte object <00-00 00-06>
[ FAILED ] PutTests.AsyncMultiplePutUnallowedTest (912 ms)
[----------] 14 tests from PutTests (949 ms total)
[----------] Global test environment tear-down
[==========] 14 tests from 1 test suite ran. (1050 ms total)
[ PASSED ] 13 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] PutTests.AsyncMultiplePutUnallowedTest
1 FAILED TEST
<end of output>
Test time = 1.10 sec
----------------------------------------------------------
Test Failed.
"cpr_put_tests" end time: Aug 18 15:20 CST
"cpr_put_tests" time elapsed: 00:00:01
----------------------------------------------------------
9/28 Testing: cpr_callback_tests
9/28 Test: cpr_callback_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/callback_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_callback_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 67 tests from 8 test suites.
[----------] Global test environment set-up.
[----------] 8 tests from CallbackGetTests
[ RUN ] CallbackGetTests.CallbackGetLambdaStatusTest
[ OK ] CallbackGetTests.CallbackGetLambdaStatusTest (50 ms)
[ RUN ] CallbackGetTests.CallbackGetLambdaTextTest
[ OK ] CallbackGetTests.CallbackGetLambdaTextTest (50 ms)
[ RUN ] CallbackGetTests.CallbackGetLambdaStatusReferenceTest
[ OK ] CallbackGetTests.CallbackGetLambdaStatusReferenceTest (50 ms)
[ RUN ] CallbackGetTests.CallbackGetLambdaTextReferenceTest
[ OK ] CallbackGetTests.CallbackGetLambdaTextReferenceTest (50 ms)
[ RUN ] CallbackGetTests.CallbackGetFunctionStatusTest
[ OK ] CallbackGetTests.CallbackGetFunctionStatusTest (60 ms)
[ RUN ] CallbackGetTests.CallbackGetFunctionTextTest
[ OK ] CallbackGetTests.CallbackGetFunctionTextTest (50 ms)
[ RUN ] CallbackGetTests.CallbackGetFunctionStatusReferenceTest
[ OK ] CallbackGetTests.CallbackGetFunctionStatusReferenceTest (50 ms)
[ RUN ] CallbackGetTests.CallbackGetFunctionTextReferenceTest
[ OK ] CallbackGetTests.CallbackGetFunctionTextReferenceTest (50 ms)
[----------] 8 tests from CallbackGetTests (412 ms total)
[----------] 8 tests from CallbackDeleteTests
[ RUN ] CallbackDeleteTests.CallbackDeleteLambdaStatusTest
[ OK ] CallbackDeleteTests.CallbackDeleteLambdaStatusTest (50 ms)
[ RUN ] CallbackDeleteTests.CallbackDeleteLambdaTextTest
[ OK ] CallbackDeleteTests.CallbackDeleteLambdaTextTest (50 ms)
[ RUN ] CallbackDeleteTests.CallbackDeleteLambdaStatusReferenceTest
[ OK ] CallbackDeleteTests.CallbackDeleteLambdaStatusReferenceTest (50 ms)
[ RUN ] CallbackDeleteTests.CallbackDeleteLambdaTextReferenceTest
[ OK ] CallbackDeleteTests.CallbackDeleteLambdaTextReferenceTest (50 ms)
[ RUN ] CallbackDeleteTests.CallbackDeleteFunctionStatusTest
[ OK ] CallbackDeleteTests.CallbackDeleteFunctionStatusTest (50 ms)
[ RUN ] CallbackDeleteTests.CallbackDeleteFunctionTextTest
[ OK ] CallbackDeleteTests.CallbackDeleteFunctionTextTest (50 ms)
[ RUN ] CallbackDeleteTests.CallbackDeleteFunctionStatusReferenceTest
[ OK ] CallbackDeleteTests.CallbackDeleteFunctionStatusReferenceTest (50 ms)
[ RUN ] CallbackDeleteTests.CallbackDeleteFunctionTextReferenceTest
[ OK ] CallbackDeleteTests.CallbackDeleteFunctionTextReferenceTest (50 ms)
[----------] 8 tests from CallbackDeleteTests (402 ms total)
[----------] 8 tests from CallbackHeadTests
[ RUN ] CallbackHeadTests.CallbackHeadLambdaStatusTest
[ OK ] CallbackHeadTests.CallbackHeadLambdaStatusTest (50 ms)
[ RUN ] CallbackHeadTests.CallbackHeadLambdaTextTest
[ OK ] CallbackHeadTests.CallbackHeadLambdaTextTest (50 ms)
[ RUN ] CallbackHeadTests.CallbackHeadLambdaStatusReferenceTest
[ OK ] CallbackHeadTests.CallbackHeadLambdaStatusReferenceTest (50 ms)
[ RUN ] CallbackHeadTests.CallbackHeadLambdaTextReferenceTest
[ OK ] CallbackHeadTests.CallbackHeadLambdaTextReferenceTest (50 ms)
[ RUN ] CallbackHeadTests.CallbackHeadFunctionStatusTest
[ OK ] CallbackHeadTests.CallbackHeadFunctionStatusTest (50 ms)
[ RUN ] CallbackHeadTests.CallbackHeadFunctionTextTest
[ OK ] CallbackHeadTests.CallbackHeadFunctionTextTest (50 ms)
[ RUN ] CallbackHeadTests.CallbackHeadFunctionStatusReferenceTest
[ OK ] CallbackHeadTests.CallbackHeadFunctionStatusReferenceTest (50 ms)
[ RUN ] CallbackHeadTests.CallbackHeadFunctionTextReferenceTest
[ OK ] CallbackHeadTests.CallbackHeadFunctionTextReferenceTest (50 ms)
[----------] 8 tests from CallbackHeadTests (401 ms total)
[----------] 8 tests from CallbackPostTests
[ RUN ] CallbackPostTests.CallbackPostLambdaStatusTest
[ OK ] CallbackPostTests.CallbackPostLambdaStatusTest (50 ms)
[ RUN ] CallbackPostTests.CallbackPostLambdaTextTest
[ OK ] CallbackPostTests.CallbackPostLambdaTextTest (50 ms)
[ RUN ] CallbackPostTests.CallbackPostLambdaStatusReferenceTest
[ OK ] CallbackPostTests.CallbackPostLambdaStatusReferenceTest (50 ms)
[ RUN ] CallbackPostTests.CallbackPostLambdaTextReferenceTest
[ OK ] CallbackPostTests.CallbackPostLambdaTextReferenceTest (52 ms)
[ RUN ] CallbackPostTests.CallbackPostFunctionStatusTest
[ OK ] CallbackPostTests.CallbackPostFunctionStatusTest (50 ms)
[ RUN ] CallbackPostTests.CallbackPostFunctionTextTest
[ OK ] CallbackPostTests.CallbackPostFunctionTextTest (50 ms)
[ RUN ] CallbackPostTests.CallbackPostFunctionStatusReferenceTest
[ OK ] CallbackPostTests.CallbackPostFunctionStatusReferenceTest (50 ms)
[ RUN ] CallbackPostTests.CallbackPostFunctionTextReferenceTest
[ OK ] CallbackPostTests.CallbackPostFunctionTextReferenceTest (50 ms)
[----------] 8 tests from CallbackPostTests (405 ms total)
[----------] 8 tests from CallbackPutTests
[ RUN ] CallbackPutTests.CallbackPutLambdaStatusTest
[ OK ] CallbackPutTests.CallbackPutLambdaStatusTest (50 ms)
[ RUN ] CallbackPutTests.CallbackPutLambdaTextTest
[ OK ] CallbackPutTests.CallbackPutLambdaTextTest (50 ms)
[ RUN ] CallbackPutTests.CallbackPutLambdaStatusReferenceTest
[ OK ] CallbackPutTests.CallbackPutLambdaStatusReferenceTest (50 ms)
[ RUN ] CallbackPutTests.CallbackPutLambdaTextReferenceTest
[ OK ] CallbackPutTests.CallbackPutLambdaTextReferenceTest (50 ms)
[ RUN ] CallbackPutTests.CallbackPutFunctionStatusTest
[ OK ] CallbackPutTests.CallbackPutFunctionStatusTest (50 ms)
[ RUN ] CallbackPutTests.CallbackPutFunctionTextTest
[ OK ] CallbackPutTests.CallbackPutFunctionTextTest (50 ms)
[ RUN ] CallbackPutTests.CallbackPutFunctionStatusReferenceTest
[ OK ] CallbackPutTests.CallbackPutFunctionStatusReferenceTest (50 ms)
[ RUN ] CallbackPutTests.CallbackPutFunctionTextReferenceTest
[ OK ] CallbackPutTests.CallbackPutFunctionTextReferenceTest (50 ms)
[----------] 8 tests from CallbackPutTests (402 ms total)
[----------] 8 tests from CallbackOptionsTests
[ RUN ] CallbackOptionsTests.CallbackOptionsLambdaStatusTest
[ OK ] CallbackOptionsTests.CallbackOptionsLambdaStatusTest (50 ms)
[ RUN ] CallbackOptionsTests.CallbackOptionsLambdaTextTest
[ OK ] CallbackOptionsTests.CallbackOptionsLambdaTextTest (52 ms)
[ RUN ] CallbackOptionsTests.CallbackOptionsLambdaStatusReferenceTest
[ OK ] CallbackOptionsTests.CallbackOptionsLambdaStatusReferenceTest (50 ms)
[ RUN ] CallbackOptionsTests.CallbackOptionsLambdaTextReferenceTest
[ OK ] CallbackOptionsTests.CallbackOptionsLambdaTextReferenceTest (50 ms)
[ RUN ] CallbackOptionsTests.CallbackOptionsFunctionStatusTest
[ OK ] CallbackOptionsTests.CallbackOptionsFunctionStatusTest (53 ms)
[ RUN ] CallbackOptionsTests.CallbackOptionsFunctionTextTest
[ OK ] CallbackOptionsTests.CallbackOptionsFunctionTextTest (55 ms)
[ RUN ] CallbackOptionsTests.CallbackOptionsFunctionStatusReferenceTest
[ OK ] CallbackOptionsTests.CallbackOptionsFunctionStatusReferenceTest (50 ms)
[ RUN ] CallbackOptionsTests.CallbackOptionsFunctionTextReferenceTest
[ OK ] CallbackOptionsTests.CallbackOptionsFunctionTextReferenceTest (51 ms)
[----------] 8 tests from CallbackOptionsTests (415 ms total)
[----------] 8 tests from CallbackPatchTests
[ RUN ] CallbackPatchTests.CallbackPatchLambdaStatusTest
[ OK ] CallbackPatchTests.CallbackPatchLambdaStatusTest (50 ms)
[ RUN ] CallbackPatchTests.CallbackPatchLambdaTextTest
[ OK ] CallbackPatchTests.CallbackPatchLambdaTextTest (50 ms)
[ RUN ] CallbackPatchTests.CallbackPatchLambdaStatusReferenceTest
[ OK ] CallbackPatchTests.CallbackPatchLambdaStatusReferenceTest (50 ms)
[ RUN ] CallbackPatchTests.CallbackPatchLambdaTextReferenceTest
[ OK ] CallbackPatchTests.CallbackPatchLambdaTextReferenceTest (50 ms)
[ RUN ] CallbackPatchTests.CallbackPatchFunctionStatusTest
[ OK ] CallbackPatchTests.CallbackPatchFunctionStatusTest (50 ms)
[ RUN ] CallbackPatchTests.CallbackPatchFunctionTextTest
[ OK ] CallbackPatchTests.CallbackPatchFunctionTextTest (50 ms)
[ RUN ] CallbackPatchTests.CallbackPatchFunctionStatusReferenceTest
[ OK ] CallbackPatchTests.CallbackPatchFunctionStatusReferenceTest (50 ms)
[ RUN ] CallbackPatchTests.CallbackPatchFunctionTextReferenceTest
[ OK ] CallbackPatchTests.CallbackPatchFunctionTextReferenceTest (50 ms)
[----------] 8 tests from CallbackPatchTests (402 ms total)
[----------] 11 tests from CallbackDataTests
[ RUN ] CallbackDataTests.CallbackReadFunctionCancelTest
[ OK ] CallbackDataTests.CallbackReadFunctionCancelTest (1 ms)
[ RUN ] CallbackDataTests.CallbackReadFunctionTextTest
[ OK ] CallbackDataTests.CallbackReadFunctionTextTest (1 ms)
[ RUN ] CallbackDataTests.CallbackReadFunctionTextTestPut
[ OK ] CallbackDataTests.CallbackReadFunctionTextTestPut (1 ms)
[ RUN ] CallbackDataTests.CallbackReadFunctionHeaderTest
[ OK ] CallbackDataTests.CallbackReadFunctionHeaderTest (1 ms)
[ RUN ] CallbackDataTests.CallbackHeaderFunctionCancelTest
[ OK ] CallbackDataTests.CallbackHeaderFunctionCancelTest (1 ms)
[ RUN ] CallbackDataTests.CallbackHeaderFunctionTextTest
HTTP/1.1 201 Created
Content-Type: application/json
[ OK ] CallbackDataTests.CallbackHeaderFunctionTextTest (1 ms)
[ RUN ] CallbackDataTests.CallbackWriteFunctionCancelTest
[ OK ] CallbackDataTests.CallbackWriteFunctionCancelTest (1 ms)
[ RUN ] CallbackDataTests.CallbackWriteFunctionTextTest
[ OK ] CallbackDataTests.CallbackWriteFunctionTextTest (1 ms)
[ RUN ] CallbackDataTests.CallbackProgressFunctionCancelTest
[ OK ] CallbackDataTests.CallbackProgressFunctionCancelTest (0 ms)
[ RUN ] CallbackDataTests.CallbackProgressFunctionTotalTest
[ OK ] CallbackDataTests.CallbackProgressFunctionTotalTest (1 ms)
[ RUN ] CallbackDataTests.CallbackDebugFunctionTextTest
[ OK ] CallbackDataTests.CallbackDebugFunctionTextTest (1 ms)
[----------] 11 tests from CallbackDataTests (13 ms total)
[----------] Global test environment tear-down
[==========] 67 tests from 8 test suites ran. (2957 ms total)
[ PASSED ] 67 tests.
<end of output>
Test time = 3.01 sec
----------------------------------------------------------
Test Passed.
"cpr_callback_tests" end time: Aug 18 15:20 CST
"cpr_callback_tests" time elapsed: 00:00:03
----------------------------------------------------------
10/28 Testing: cpr_raw_body_tests
10/28 Test: cpr_raw_body_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/raw_body_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_raw_body_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 9 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 9 tests from BodyPostTests
[ RUN ] BodyPostTests.DefaultUrlEncodedPostTest
[ OK ] BodyPostTests.DefaultUrlEncodedPostTest (13 ms)
[ RUN ] BodyPostTests.TextUrlEncodedPostTest
[ OK ] BodyPostTests.TextUrlEncodedPostTest (1 ms)
[ RUN ] BodyPostTests.TextUrlEncodedNoCopyPostTest
[ OK ] BodyPostTests.TextUrlEncodedNoCopyPostTest (1 ms)
[ RUN ] BodyPostTests.UrlEncodedManyPostTest
[ OK ] BodyPostTests.UrlEncodedManyPostTest (1 ms)
[ RUN ] BodyPostTests.CustomHeaderNumberPostTest
[ OK ] BodyPostTests.CustomHeaderNumberPostTest (1 ms)
[ RUN ] BodyPostTests.CustomHeaderTextPostTest
[ OK ] BodyPostTests.CustomHeaderTextPostTest (1 ms)
[ RUN ] BodyPostTests.CustomWrongHeaderPostTest
[ OK ] BodyPostTests.CustomWrongHeaderPostTest (1 ms)
[ RUN ] BodyPostTests.UrlPostBadHostTest
[ OK ] BodyPostTests.UrlPostBadHostTest (1 ms)
[ RUN ] BodyPostTests.StringMoveBodyTest
[ OK ] BodyPostTests.StringMoveBodyTest (1 ms)
[----------] 9 tests from BodyPostTests (25 ms total)
[----------] Global test environment tear-down
[==========] 9 tests from 1 test suite ran. (27 ms total)
[ PASSED ] 9 tests.
<end of output>
Test time = 0.07 sec
----------------------------------------------------------
Test Passed.
"cpr_raw_body_tests" end time: Aug 18 15:20 CST
"cpr_raw_body_tests" time elapsed: 00:00:00
----------------------------------------------------------
11/28 Testing: cpr_options_tests
11/28 Test: cpr_options_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/options_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_options_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from OptionsTests
[ RUN ] OptionsTests.BaseUrlTest
[ OK ] OptionsTests.BaseUrlTest (12 ms)
[ RUN ] OptionsTests.SpecificUrlTest
[ OK ] OptionsTests.SpecificUrlTest (1 ms)
[ RUN ] OptionsTests.AsyncBaseUrlTest
[ OK ] OptionsTests.AsyncBaseUrlTest (5 ms)
[ RUN ] OptionsTests.AsyncSpecificUrlTest
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/options_tests.cpp:63: Failure
Expected equality of these values:
std::string{"GET, POST, PUT, DELETE, PATCH, OPTIONS"}
Which is: "GET, POST, PUT, DELETE, PATCH, OPTIONS"
response.header["Access-Control-Allow-Methods"]
Which is: ""
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/options_tests.cpp:64: Failure
Expected equality of these values:
200
response.status_code
Which is: 0
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/cpr-aa581c9d8060b2502707ad96a04f4829cc524fcb/test/options_tests.cpp:65: Failure
Expected equality of these values:
ErrorCode::OK
Which is: 4-byte object <00-00 00-00>
response.error.code
Which is: 4-byte object <00-00 00-01>
[ FAILED ] OptionsTests.AsyncSpecificUrlTest (5 ms)
[----------] 4 tests from OptionsTests (26 ms total)
[----------] Global test environment tear-down
[==========] 4 tests from 1 test suite ran. (127 ms total)
[ PASSED ] 3 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] OptionsTests.AsyncSpecificUrlTest
1 FAILED TEST
<end of output>
Test time = 0.18 sec
----------------------------------------------------------
Test Failed.
"cpr_options_tests" end time: Aug 18 15:20 CST
"cpr_options_tests" time elapsed: 00:00:00
----------------------------------------------------------
12/28 Testing: cpr_patch_tests
12/28 Test: cpr_patch_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/patch_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_patch_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 14 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 14 tests from PatchTests
[ RUN ] PatchTests.PatchTest
[ OK ] PatchTests.PatchTest (13 ms)
[ RUN ] PatchTests.PatchUnallowedTest
[ OK ] PatchTests.PatchUnallowedTest (1 ms)
[ RUN ] PatchTests.SessionPatchTest
[ OK ] PatchTests.SessionPatchTest (1 ms)
[ RUN ] PatchTests.SessionPatchUnallowedTest
[ OK ] PatchTests.SessionPatchUnallowedTest (1 ms)
[ RUN ] PatchTests.SessionPatchAfterGetTest
[ OK ] PatchTests.SessionPatchAfterGetTest (1 ms)
[ RUN ] PatchTests.SessionPatchUnallowedAfterGetTest
[ OK ] PatchTests.SessionPatchUnallowedAfterGetTest (1 ms)
[ RUN ] PatchTests.SessionPatchAfterHeadTest
[ OK ] PatchTests.SessionPatchAfterHeadTest (1 ms)
[ RUN ] PatchTests.SessionPatchUnallowedAfterHeadTest
[ OK ] PatchTests.SessionPatchUnallowedAfterHeadTest (2 ms)
[ RUN ] PatchTests.SessionPatchAfterPostTest
[ OK ] PatchTests.SessionPatchAfterPostTest (2 ms)
[ RUN ] PatchTests.SessionPatchUnallowedAfterPostTest
[ OK ] PatchTests.SessionPatchUnallowedAfterPostTest (1 ms)
[ RUN ] PatchTests.AsyncPatchTest
[ OK ] PatchTests.AsyncPatchTest (2 ms)
[ RUN ] PatchTests.AsyncPatchUnallowedTest
[ OK ] PatchTests.AsyncPatchUnallowedTest (1 ms)
[ RUN ] PatchTests.AsyncMultiplePatchTest
[ OK ] PatchTests.AsyncMultiplePatchTest (22 ms)
[ RUN ] PatchTests.AsyncMultiplePatchUnallowedTest
[ OK ] PatchTests.AsyncMultiplePatchUnallowedTest (11 ms)
[----------] 14 tests from PatchTests (68 ms total)
[----------] Global test environment tear-down
[==========] 14 tests from 1 test suite ran. (75 ms total)
[ PASSED ] 14 tests.
<end of output>
Test time = 0.13 sec
----------------------------------------------------------
Test Passed.
"cpr_patch_tests" end time: Aug 18 15:20 CST
"cpr_patch_tests" time elapsed: 00:00:00
----------------------------------------------------------
13/28 Testing: cpr_error_tests
13/28 Test: cpr_error_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/error_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_error_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 11 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 11 tests from ErrorTests
[ RUN ] ErrorTests.UnsupportedProtocolFailure
[ OK ] ErrorTests.UnsupportedProtocolFailure (12 ms)
[ RUN ] ErrorTests.InvalidURLFailure
[ OK ] ErrorTests.InvalidURLFailure (0 ms)
[ RUN ] ErrorTests.TimeoutFailure
[ OK ] ErrorTests.TimeoutFailure (1 ms)
[ RUN ] ErrorTests.ChronoTimeoutFailure
[ OK ] ErrorTests.ChronoTimeoutFailure (4 ms)
[ RUN ] ErrorTests.ConnectTimeoutFailure
[ OK ] ErrorTests.ConnectTimeoutFailure (0 ms)
[ RUN ] ErrorTests.ChronoConnectTimeoutFailure
[ OK ] ErrorTests.ChronoConnectTimeoutFailure (0 ms)
[ RUN ] ErrorTests.LowSpeedTimeFailure
[ OK ] ErrorTests.LowSpeedTimeFailure (1002 ms)
[ RUN ] ErrorTests.LowSpeedBytesFailure
[ OK ] ErrorTests.LowSpeedBytesFailure (1001 ms)
[ RUN ] ErrorTests.ProxyFailure
[ OK ] ErrorTests.ProxyFailure (1163 ms)
[ RUN ] ErrorTests.BoolFalseTest
[ OK ] ErrorTests.BoolFalseTest (0 ms)
[ RUN ] ErrorTests.BoolTrueTest
[ OK ] ErrorTests.BoolTrueTest (0 ms)
[----------] 11 tests from ErrorTests (3188 ms total)
[----------] Global test environment tear-down
[==========] 11 tests from 1 test suite ran. (3237 ms total)
[ PASSED ] 11 tests.
<end of output>
Test time = 3.29 sec
----------------------------------------------------------
Test Passed.
"cpr_error_tests" end time: Aug 18 15:20 CST
"cpr_error_tests" time elapsed: 00:00:03
----------------------------------------------------------
14/28 Testing: cpr_alternating_tests
14/28 Test: cpr_alternating_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/alternating_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_alternating_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 5 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 5 tests from AlternatingTests
[ RUN ] AlternatingTests.PutGetTest
[ OK ] AlternatingTests.PutGetTest (31 ms)
[ RUN ] AlternatingTests.PutGetPutGetTest
[ OK ] AlternatingTests.PutGetPutGetTest (15 ms)
[ RUN ] AlternatingTests.HeadGetTest
[ OK ] AlternatingTests.HeadGetTest (9 ms)
[ RUN ] AlternatingTests.PutHeadTest
[ OK ] AlternatingTests.PutHeadTest (5 ms)
[ RUN ] AlternatingTests.PutPostTest
[ OK ] AlternatingTests.PutPostTest (2 ms)
[----------] 5 tests from AlternatingTests (65 ms total)
[----------] Global test environment tear-down
[==========] 5 tests from 1 test suite ran. (68 ms total)
[ PASSED ] 5 tests.
<end of output>
Test time = 0.14 sec
----------------------------------------------------------
Test Passed.
"cpr_alternating_tests" end time: Aug 18 15:20 CST
"cpr_alternating_tests" time elapsed: 00:00:00
----------------------------------------------------------
15/28 Testing: cpr_util_tests
15/28 Test: cpr_util_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/util_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_util_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 18 tests from 6 test suites.
[----------] Global test environment set-up.
[----------] 1 test from UtilParseCookiesTests
[ RUN ] UtilParseCookiesTests.BasicParseTest
[ OK ] UtilParseCookiesTests.BasicParseTest (0 ms)
[----------] 1 test from UtilParseCookiesTests (0 ms total)
[----------] 9 tests from UtilParseHeaderTests
[ RUN ] UtilParseHeaderTests.BasicParseTest
[ OK ] UtilParseHeaderTests.BasicParseTest (0 ms)
[ RUN ] UtilParseHeaderTests.NewlineTest
[ OK ] UtilParseHeaderTests.NewlineTest (0 ms)
[ RUN ] UtilParseHeaderTests.SpaceNewlineTest
[ OK ] UtilParseHeaderTests.SpaceNewlineTest (0 ms)
[ RUN ] UtilParseHeaderTests.CarriageReturnNewlineTest
[ OK ] UtilParseHeaderTests.CarriageReturnNewlineTest (0 ms)
[ RUN ] UtilParseHeaderTests.SpaceCarriageReturnNewlineTest
[ OK ] UtilParseHeaderTests.SpaceCarriageReturnNewlineTest (0 ms)
[ RUN ] UtilParseHeaderTests.BasicStatusLineTest
[ OK ] UtilParseHeaderTests.BasicStatusLineTest (0 ms)
[ RUN ] UtilParseHeaderTests.NewlineStatusLineTest
[ OK ] UtilParseHeaderTests.NewlineStatusLineTest (0 ms)
[ RUN ] UtilParseHeaderTests.NoReasonSpaceTest
[ OK ] UtilParseHeaderTests.NoReasonSpaceTest (0 ms)
[ RUN ] UtilParseHeaderTests.NoReasonTest
[ OK ] UtilParseHeaderTests.NoReasonTest (0 ms)
[----------] 9 tests from UtilParseHeaderTests (0 ms total)
[----------] 2 tests from UtilUrlEncodeTests
[ RUN ] UtilUrlEncodeTests.UnicodeEncoderTest
[ OK ] UtilUrlEncodeTests.UnicodeEncoderTest (13 ms)
[ RUN ] UtilUrlEncodeTests.AsciiEncoderTest
[ OK ] UtilUrlEncodeTests.AsciiEncoderTest (0 ms)
[----------] 2 tests from UtilUrlEncodeTests (13 ms total)
[----------] 2 tests from UtilUrlDecodeTests
[ RUN ] UtilUrlDecodeTests.UnicodeDecoderTest
[ OK ] UtilUrlDecodeTests.UnicodeDecoderTest (0 ms)
[ RUN ] UtilUrlDecodeTests.AsciiDecoderTest
[ OK ] UtilUrlDecodeTests.AsciiDecoderTest (0 ms)
[----------] 2 tests from UtilUrlDecodeTests (0 ms total)
[----------] 2 tests from UtilSecureStringClearTests
[ RUN ] UtilSecureStringClearTests.EmptyStringTest
[ OK ] UtilSecureStringClearTests.EmptyStringTest (0 ms)
[ RUN ] UtilSecureStringClearTests.NotEmptyStringTest
[ OK ] UtilSecureStringClearTests.NotEmptyStringTest (0 ms)
[----------] 2 tests from UtilSecureStringClearTests (0 ms total)
[----------] 2 tests from UtilIsTrueTests
[ RUN ] UtilIsTrueTests.TrueTest
[ OK ] UtilIsTrueTests.TrueTest (0 ms)
[ RUN ] UtilIsTrueTests.FalseTest
[ OK ] UtilIsTrueTests.FalseTest (0 ms)
[----------] 2 tests from UtilIsTrueTests (0 ms total)
[----------] Global test environment tear-down
[==========] 18 tests from 6 test suites ran. (16 ms total)
[ PASSED ] 18 tests.
<end of output>
Test time = 0.07 sec
----------------------------------------------------------
Test Passed.
"cpr_util_tests" end time: Aug 18 15:20 CST
"cpr_util_tests" time elapsed: 00:00:00
----------------------------------------------------------
16/28 Testing: cpr_structures_tests
16/28 Test: cpr_structures_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/structures_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_structures_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 5 tests from 3 test suites.
[----------] Global test environment set-up.
[----------] 2 tests from PayloadTests
[ RUN ] PayloadTests.UseStringVariableTest
[ OK ] PayloadTests.UseStringVariableTest (14 ms)
[ RUN ] PayloadTests.DisableEncodingTest
[ OK ] PayloadTests.DisableEncodingTest (0 ms)
[----------] 2 tests from PayloadTests (14 ms total)
[----------] 2 tests from ParametersTests
[ RUN ] ParametersTests.UseStringVariableTest
[ OK ] ParametersTests.UseStringVariableTest (0 ms)
[ RUN ] ParametersTests.DisableEncodingTest
[ OK ] ParametersTests.DisableEncodingTest (0 ms)
[----------] 2 tests from ParametersTests (0 ms total)
[----------] 1 test from UrlToAndFromString
[ RUN ] UrlToAndFromString.UrlTests
[ OK ] UrlToAndFromString.UrlTests (0 ms)
[----------] 1 test from UrlToAndFromString (0 ms total)
[----------] Global test environment tear-down
[==========] 5 tests from 3 test suites ran. (16 ms total)
[ PASSED ] 5 tests.
<end of output>
Test time = 0.07 sec
----------------------------------------------------------
Test Passed.
"cpr_structures_tests" end time: Aug 18 15:20 CST
"cpr_structures_tests" time elapsed: 00:00:00
----------------------------------------------------------
17/28 Testing: cpr_encoded_auth_tests
17/28 Test: cpr_encoded_auth_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/encoded_auth_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_encoded_auth_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from EncodedAuthenticationTests
[ RUN ] EncodedAuthenticationTests.UnicodeEncoderTest
[ OK ] EncodedAuthenticationTests.UnicodeEncoderTest (13 ms)
[----------] 1 test from EncodedAuthenticationTests (14 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (14 ms total)
[ PASSED ] 1 test.
<end of output>
Test time = 0.06 sec
----------------------------------------------------------
Test Passed.
"cpr_encoded_auth_tests" end time: Aug 18 15:20 CST
"cpr_encoded_auth_tests" time elapsed: 00:00:00
----------------------------------------------------------
18/28 Testing: cpr_version_tests
18/28 Test: cpr_version_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/version_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_version_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 6 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 6 tests from VersionTests
[ RUN ] VersionTests.StringVersionExists
[ OK ] VersionTests.StringVersionExists (0 ms)
[ RUN ] VersionTests.StringVersionValid
[ OK ] VersionTests.StringVersionValid (0 ms)
[ RUN ] VersionTests.VersionMajorExists
[ OK ] VersionTests.VersionMajorExists (0 ms)
[ RUN ] VersionTests.VersionMinorExists
[ OK ] VersionTests.VersionMinorExists (0 ms)
[ RUN ] VersionTests.VersionPatchExists
[ OK ] VersionTests.VersionPatchExists (0 ms)
[ RUN ] VersionTests.VersionNumExists
[ OK ] VersionTests.VersionNumExists (0 ms)
[----------] 6 tests from VersionTests (0 ms total)
[----------] Global test environment tear-down
[==========] 6 tests from 1 test suite ran. (1 ms total)
[ PASSED ] 6 tests.
<end of output>
Test time = 0.05 sec
----------------------------------------------------------
Test Passed.
"cpr_version_tests" end time: Aug 18 15:20 CST
"cpr_version_tests" time elapsed: 00:00:00
----------------------------------------------------------
19/28 Testing: cpr_download_tests
19/28 Test: cpr_download_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/download_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_download_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 9 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 9 tests from DownloadTests
[ RUN ] DownloadTests.DownloadHeaderGzip
[ OK ] DownloadTests.DownloadHeaderGzip (13 ms)
[ RUN ] DownloadTests.DownloadAcceptEncodingGzip
[ OK ] DownloadTests.DownloadAcceptEncodingGzip (1 ms)
[ RUN ] DownloadTests.RangeTestWholeFile
[ OK ] DownloadTests.RangeTestWholeFile (1 ms)
[ RUN ] DownloadTests.RangeTestLowerLimit
[ OK ] DownloadTests.RangeTestLowerLimit (1 ms)
[ RUN ] DownloadTests.RangeTestUpperLimit
[ OK ] DownloadTests.RangeTestUpperLimit (1 ms)
[ RUN ] DownloadTests.RangeTestLowerAndUpperLimit
[ OK ] DownloadTests.RangeTestLowerAndUpperLimit (1 ms)
[ RUN ] DownloadTests.RangeTestMultipleRangesSet
[ OK ] DownloadTests.RangeTestMultipleRangesSet (1 ms)
[ RUN ] DownloadTests.RangeTestMultipleRangesOption
[ OK ] DownloadTests.RangeTestMultipleRangesOption (1 ms)
[ RUN ] DownloadTests.GetDownloadFileLength
[ OK ] DownloadTests.GetDownloadFileLength (1 ms)
[----------] 9 tests from DownloadTests (25 ms total)
[----------] Global test environment tear-down
[==========] 9 tests from 1 test suite ran. (131 ms total)
[ PASSED ] 9 tests.
<end of output>
Test time = 0.18 sec
----------------------------------------------------------
Test Passed.
"cpr_download_tests" end time: Aug 18 15:20 CST
"cpr_download_tests" time elapsed: 00:00:00
----------------------------------------------------------
20/28 Testing: cpr_interceptor_tests
20/28 Test: cpr_interceptor_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/interceptor_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_interceptor_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 16 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 16 tests from InterceptorTest
[ RUN ] InterceptorTest.HiddenUrlRewriteInterceptorTest
[ OK ] InterceptorTest.HiddenUrlRewriteInterceptorTest (16 ms)
[ RUN ] InterceptorTest.ChangeStatusCodeInterceptorTest
[ OK ] InterceptorTest.ChangeStatusCodeInterceptorTest (3 ms)
[ RUN ] InterceptorTest.RetryInterceptorTest
[ OK ] InterceptorTest.RetryInterceptorTest (2 ms)
[ RUN ] InterceptorTest.DownloadChangeStatusCodeInterceptorTest
[ OK ] InterceptorTest.DownloadChangeStatusCodeInterceptorTest (1 ms)
[ RUN ] InterceptorTest.SetBasicAuthInterceptorTest
[ OK ] InterceptorTest.SetBasicAuthInterceptorTest (1 ms)
[ RUN ] InterceptorTest.SetUnsupportedProtocolErrorInterceptorTest
[ OK ] InterceptorTest.SetUnsupportedProtocolErrorInterceptorTest (1 ms)
[ RUN ] InterceptorTest.ChangeRequestMethodToGetInterceptorTest
[ OK ] InterceptorTest.ChangeRequestMethodToGetInterceptorTest (1 ms)
[ RUN ] InterceptorTest.ChangeRequestMethodToPostInterceptorTest
[ OK ] InterceptorTest.ChangeRequestMethodToPostInterceptorTest (1 ms)
[ RUN ] InterceptorTest.ChangeRequestMethodToPutInterceptorTest
[ OK ] InterceptorTest.ChangeRequestMethodToPutInterceptorTest (1 ms)
[ RUN ] InterceptorTest.ChangeRequestMethodToPatchInterceptorTest
[ OK ] InterceptorTest.ChangeRequestMethodToPatchInterceptorTest (1 ms)
[ RUN ] InterceptorTest.ChangeRequestMethodToOptionsInterceptorTest
[ OK ] InterceptorTest.ChangeRequestMethodToOptionsInterceptorTest (3 ms)
[ RUN ] InterceptorTest.ChangeRequestMethodToHeadInterceptorTest
[ OK ] InterceptorTest.ChangeRequestMethodToHeadInterceptorTest (1 ms)
[ RUN ] InterceptorTest.ChangeRequestMethodToDownloadCallbackInterceptorTest
[ OK ] InterceptorTest.ChangeRequestMethodToDownloadCallbackInterceptorTest (1 ms)
[ RUN ] InterceptorTest.ChangeRequestMethodToDeleteInterceptorTest
[ OK ] InterceptorTest.ChangeRequestMethodToDeleteInterceptorTest (1 ms)
[ RUN ] InterceptorTest.TwoInterceptorsTest
[ OK ] InterceptorTest.TwoInterceptorsTest (1 ms)
[ RUN ] InterceptorTest.ThreeInterceptorsTest
[ OK ] InterceptorTest.ThreeInterceptorsTest (1 ms)
[----------] 16 tests from InterceptorTest (44 ms total)
[----------] Global test environment tear-down
[==========] 16 tests from 1 test suite ran. (46 ms total)
[ PASSED ] 16 tests.
<end of output>
Test time = 0.10 sec
----------------------------------------------------------
Test Passed.
"cpr_interceptor_tests" end time: Aug 18 15:20 CST
"cpr_interceptor_tests" time elapsed: 00:00:00
----------------------------------------------------------
21/28 Testing: cpr_interceptor_multi_tests
21/28 Test: cpr_interceptor_multi_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/interceptor_multi_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_interceptor_multi_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 16 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 16 tests from InterceptorMultiTest
[ RUN ] InterceptorMultiTest.HiddenUrlRewriteInterceptorMultiTest
[ OK ] InterceptorMultiTest.HiddenUrlRewriteInterceptorMultiTest (14 ms)
[ RUN ] InterceptorMultiTest.ChangeStatusCodeInterceptorMultiTest
[ OK ] InterceptorMultiTest.ChangeStatusCodeInterceptorMultiTest (1 ms)
[ RUN ] InterceptorMultiTest.DownloadChangeStatusCodeInterceptorMultiTest
PrepareSessions failed: Undefined HttpMethod or download without arguments!
[ OK ] InterceptorMultiTest.DownloadChangeStatusCodeInterceptorMultiTest (1 ms)
[ RUN ] InterceptorMultiTest.SetBasicAuthInterceptorMultiTest
[ OK ] InterceptorMultiTest.SetBasicAuthInterceptorMultiTest (1 ms)
[ RUN ] InterceptorMultiTest.SetUnsupportedProtocolErrorInterceptorMultiTest
[ OK ] InterceptorMultiTest.SetUnsupportedProtocolErrorInterceptorMultiTest (1 ms)
[ RUN ] InterceptorMultiTest.ChangeRequestMethodToGetInterceptorMultiTest
[ OK ] InterceptorMultiTest.ChangeRequestMethodToGetInterceptorMultiTest (1 ms)
[ RUN ] InterceptorMultiTest.ChangeRequestMethodToPostInterceptorMultiTest
[ OK ] InterceptorMultiTest.ChangeRequestMethodToPostInterceptorMultiTest (1 ms)
[ RUN ] InterceptorMultiTest.ChangeRequestMethodToPutInterceptorMultiTest
[ OK ] InterceptorMultiTest.ChangeRequestMethodToPutInterceptorMultiTest (1 ms)
[ RUN ] InterceptorMultiTest.ChangeRequestMethodToPatchInterceptorMultiTest
[ OK ] InterceptorMultiTest.ChangeRequestMethodToPatchInterceptorMultiTest (1 ms)
[ RUN ] InterceptorMultiTest.ChangeRequestMethodToOptionsInterceptorMultiTest
[ OK ] InterceptorMultiTest.ChangeRequestMethodToOptionsInterceptorMultiTest (1 ms)
[ RUN ] InterceptorMultiTest.ChangeRequestMethodToHeadInterceptorMultiTest
[ OK ] InterceptorMultiTest.ChangeRequestMethodToHeadInterceptorMultiTest (1 ms)
[ RUN ] InterceptorMultiTest.ChangeRequestMethodToDownloadCallbackInterceptorMultiTest
PrepareSessions failed: Undefined HttpMethod or download without arguments!
[ OK ] InterceptorMultiTest.ChangeRequestMethodToDownloadCallbackInterceptorMultiTest (1 ms)
[ RUN ] InterceptorMultiTest.ChangeRequestMethodToDownloadCallbackInterceptorMultiMixTest
[ OK ] InterceptorMultiTest.ChangeRequestMethodToDownloadCallbackInterceptorMultiMixTest (7 ms)
[ RUN ] InterceptorMultiTest.ChangeRequestMethodToDeleteInterceptorMultiTest
[ OK ] InterceptorMultiTest.ChangeRequestMethodToDeleteInterceptorMultiTest (2 ms)
[ RUN ] InterceptorMultiTest.TwoInterceptorMultisTest
[ OK ] InterceptorMultiTest.TwoInterceptorMultisTest (1 ms)
[ RUN ] InterceptorMultiTest.ThreeInterceptorMultisTest
[ OK ] InterceptorMultiTest.ThreeInterceptorMultisTest (1 ms)
[----------] 16 tests from InterceptorMultiTest (46 ms total)
[----------] Global test environment tear-down
[==========] 16 tests from 1 test suite ran. (156 ms total)
[ PASSED ] 16 tests.
<end of output>
Test time = 0.22 sec
----------------------------------------------------------
Test Passed.
"cpr_interceptor_multi_tests" end time: Aug 18 15:20 CST
"cpr_interceptor_multi_tests" time elapsed: 00:00:00
----------------------------------------------------------
22/28 Testing: cpr_multiperform_tests
22/28 Test: cpr_multiperform_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/multiperform_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_multiperform_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 35 tests from 13 test suites.
[----------] Global test environment set-up.
[----------] 6 tests from MultiperformAddSessionTests
[ RUN ] MultiperformAddSessionTests.MultiperformAddSingleSessionTest
[ OK ] MultiperformAddSessionTests.MultiperformAddSingleSessionTest (10 ms)
[ RUN ] MultiperformAddSessionTests.MultiperformAddMultipleSessionsTest
[ OK ] MultiperformAddSessionTests.MultiperformAddMultipleSessionsTest (0 ms)
[ RUN ] MultiperformAddSessionTests.MultiperformAddMultipleNonDownloadSessionsTest
[ OK ] MultiperformAddSessionTests.MultiperformAddMultipleNonDownloadSessionsTest (0 ms)
[ RUN ] MultiperformAddSessionTests.MultiperformAddMultipleDownloadSessionsTest
[ OK ] MultiperformAddSessionTests.MultiperformAddMultipleDownloadSessionsTest (0 ms)
[ RUN ] MultiperformAddSessionTests.MultiperformAddTwoMixedTypeSessionsTest
[ OK ] MultiperformAddSessionTests.MultiperformAddTwoMixedTypeSessionsTest (7 ms)
[ RUN ] MultiperformAddSessionTests.MultiperformAddTwoMixedTypeSessionsReversTest
[ OK ] MultiperformAddSessionTests.MultiperformAddTwoMixedTypeSessionsReversTest (0 ms)
[----------] 6 tests from MultiperformAddSessionTests (20 ms total)
[----------] 3 tests from MultiperformRemoveSessionTests
[ RUN ] MultiperformRemoveSessionTests.MultiperformRemoveSingleSessionTest
[ OK ] MultiperformRemoveSessionTests.MultiperformRemoveSingleSessionTest (0 ms)
[ RUN ] MultiperformRemoveSessionTests.MultiperformRemoveMultipleSessionsTest
[ OK ] MultiperformRemoveSessionTests.MultiperformRemoveMultipleSessionsTest (0 ms)
[ RUN ] MultiperformRemoveSessionTests.MultiperformRemoveNonExistingSessionTest
[ OK ] MultiperformRemoveSessionTests.MultiperformRemoveNonExistingSessionTest (0 ms)
[----------] 3 tests from MultiperformRemoveSessionTests (0 ms total)
[----------] 3 tests from MultiperformGetTests
[ RUN ] MultiperformGetTests.MultiperformSingleSessionGetTest
[ OK ] MultiperformGetTests.MultiperformSingleSessionGetTest (2 ms)
[ RUN ] MultiperformGetTests.MultiperformTwoSessionsGetTest
[ OK ] MultiperformGetTests.MultiperformTwoSessionsGetTest (2 ms)
[ RUN ] MultiperformGetTests.MultiperformRemoveSessionGetTest
[ OK ] MultiperformGetTests.MultiperformRemoveSessionGetTest (1 ms)
[----------] 3 tests from MultiperformGetTests (5 ms total)
[----------] 1 test from MultiperformDeleteTests
[ RUN ] MultiperformDeleteTests.MultiperformSingleSessionDeleteTest
[ OK ] MultiperformDeleteTests.MultiperformSingleSessionDeleteTest (1 ms)
[----------] 1 test from MultiperformDeleteTests (1 ms total)
[----------] 4 tests from MultiperformDownloadTests
[ RUN ] MultiperformDownloadTests.MultiperformSingleSessionDownloadTest
[ OK ] MultiperformDownloadTests.MultiperformSingleSessionDownloadTest (1 ms)
[ RUN ] MultiperformDownloadTests.MultiperformSingleSessionDownloadNonMatchingArgumentsNumberTest
[ OK ] MultiperformDownloadTests.MultiperformSingleSessionDownloadNonMatchingArgumentsNumberTest (0 ms)
[ RUN ] MultiperformDownloadTests.MultiperformTwoSessionsDownloadTest
[ OK ] MultiperformDownloadTests.MultiperformTwoSessionsDownloadTest (1 ms)
[ RUN ] MultiperformDownloadTests.MultiperformSinglePerformDownloadNonMatchingArgumentsNumberTest
[ OK ] MultiperformDownloadTests.MultiperformSinglePerformDownloadNonMatchingArgumentsNumberTest (0 ms)
[----------] 4 tests from MultiperformDownloadTests (3 ms total)
[----------] 1 test from MultiperformPutTests
[ RUN ] MultiperformPutTests.MultiperformSingleSessionPutTest
[ OK ] MultiperformPutTests.MultiperformSingleSessionPutTest (1 ms)
[----------] 1 test from MultiperformPutTests (1 ms total)
[----------] 1 test from MultiperformHeadTests
[ RUN ] MultiperformHeadTests.MultiperformSingleSessionHeadTest
[ OK ] MultiperformHeadTests.MultiperformSingleSessionHeadTest (1 ms)
[----------] 1 test from MultiperformHeadTests (1 ms total)
[----------] 1 test from MultiperformOptionsTests
[ RUN ] MultiperformOptionsTests.MultiperformSingleSessionOptionsTest
[ OK ] MultiperformOptionsTests.MultiperformSingleSessionOptionsTest (1 ms)
[----------] 1 test from MultiperformOptionsTests (1 ms total)
[----------] 1 test from MultiperformPatchTests
[ RUN ] MultiperformPatchTests.MultiperformSingleSessionPatchTest
[ OK ] MultiperformPatchTests.MultiperformSingleSessionPatchTest (1 ms)
[----------] 1 test from MultiperformPatchTests (1 ms total)
[----------] 1 test from MultiperformPostTests
[ RUN ] MultiperformPostTests.MultiperformSingleSessionPostTest
[ OK ] MultiperformPostTests.MultiperformSingleSessionPostTest (1 ms)
[----------] 1 test from MultiperformPostTests (1 ms total)
[----------] 3 tests from MultiperformPerformTests
[ RUN ] MultiperformPerformTests.MultiperformSingleGetPerformTest
[ OK ] MultiperformPerformTests.MultiperformSingleGetPerformTest (1 ms)
[ RUN ] MultiperformPerformTests.MultiperformTwoGetPerformTest
[ OK ] MultiperformPerformTests.MultiperformTwoGetPerformTest (1 ms)
[ RUN ] MultiperformPerformTests.MultiperformMixedMethodsPerformTest
[ OK ] MultiperformPerformTests.MultiperformMixedMethodsPerformTest (999 ms)
[----------] 3 tests from MultiperformPerformTests (1002 ms total)
[----------] 2 tests from MultiperformPerformDownloadTests
[ RUN ] MultiperformPerformDownloadTests.MultiperformSinglePerformDownloadTest
[ OK ] MultiperformPerformDownloadTests.MultiperformSinglePerformDownloadTest (2 ms)
[ RUN ] MultiperformPerformDownloadTests.MultiperformTwoPerformDownloadTest
[ OK ] MultiperformPerformDownloadTests.MultiperformTwoPerformDownloadTest (8 ms)
[----------] 2 tests from MultiperformPerformDownloadTests (11 ms total)
[----------] 8 tests from MultiperformAPITests
[ RUN ] MultiperformAPITests.MultiperformApiSingleGetTest
[ OK ] MultiperformAPITests.MultiperformApiSingleGetTest (1 ms)
[ RUN ] MultiperformAPITests.MultiperformApiTwoGetsTest
[ OK ] MultiperformAPITests.MultiperformApiTwoGetsTest (2002 ms)
[ RUN ] MultiperformAPITests.MultiperformApiSingleDeleteTest
[ OK ] MultiperformAPITests.MultiperformApiSingleDeleteTest (1 ms)
[ RUN ] MultiperformAPITests.MultiperformApiSinglePutTest
[ OK ] MultiperformAPITests.MultiperformApiSinglePutTest (1 ms)
[ RUN ] MultiperformAPITests.MultiperformApiSingleHeadTest
[ OK ] MultiperformAPITests.MultiperformApiSingleHeadTest (0 ms)
[ RUN ] MultiperformAPITests.MultiperformApiSingleOptionsTest
[ OK ] MultiperformAPITests.MultiperformApiSingleOptionsTest (1 ms)
[ RUN ] MultiperformAPITests.MultiperformApiSinglePatchTest
[ OK ] MultiperformAPITests.MultiperformApiSinglePatchTest (1 ms)
[ RUN ] MultiperformAPITests.MultiperformApiSinglePostTest
[ OK ] MultiperformAPITests.MultiperformApiSinglePostTest (1 ms)
[----------] 8 tests from MultiperformAPITests (2011 ms total)
[----------] Global test environment tear-down
[==========] 35 tests from 13 test suites ran. (3167 ms total)
[ PASSED ] 35 tests.
<end of output>
Test time = 3.22 sec
----------------------------------------------------------
Test Passed.
"cpr_multiperform_tests" end time: Aug 18 15:20 CST
"cpr_multiperform_tests" time elapsed: 00:00:03
----------------------------------------------------------
23/28 Testing: cpr_resolve_tests
23/28 Test: cpr_resolve_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/resolve_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_resolve_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from ResolveTests
[ RUN ] ResolveTests.HelloWorldTest
[ OK ] ResolveTests.HelloWorldTest (14 ms)
[ RUN ] ResolveTests.RedirectMultiple
[ OK ] ResolveTests.RedirectMultiple (2 ms)
[----------] 2 tests from ResolveTests (16 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (118 ms total)
[ PASSED ] 2 tests.
<end of output>
Test time = 0.17 sec
----------------------------------------------------------
Test Passed.
"cpr_resolve_tests" end time: Aug 18 15:20 CST
"cpr_resolve_tests" time elapsed: 00:00:00
----------------------------------------------------------
24/28 Testing: cpr_multiasync_tests
24/28 Test: cpr_multiasync_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/multiasync_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_multiasync_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 17 tests from 5 test suites.
[----------] Global test environment set-up.
[----------] 1 test from AsyncWrapperTests
[ RUN ] AsyncWrapperTests.TestConstructorDeductions
[ OK ] AsyncWrapperTests.TestConstructorDeductions (0 ms)
[----------] 1 test from AsyncWrapperTests (0 ms total)
[----------] 2 tests from AsyncWrapperNonCancellableTests
[ RUN ] AsyncWrapperNonCancellableTests.TestGetNoError
[ OK ] AsyncWrapperNonCancellableTests.TestGetNoError (14 ms)
[ RUN ] AsyncWrapperNonCancellableTests.TestExceptionsNoSharedState
[ OK ] AsyncWrapperNonCancellableTests.TestExceptionsNoSharedState (8 ms)
[----------] 2 tests from AsyncWrapperNonCancellableTests (22 ms total)
[----------] 3 tests from AsyncWrapperCancellableTests
[ RUN ] AsyncWrapperCancellableTests.TestExceptionsNoSharedState
[ OK ] AsyncWrapperCancellableTests.TestExceptionsNoSharedState (0 ms)
[ RUN ] AsyncWrapperCancellableTests.TestExceptionsCancelledRequest
[ OK ] AsyncWrapperCancellableTests.TestExceptionsCancelledRequest (0 ms)
[ RUN ] AsyncWrapperCancellableTests.TestWaitFor
[ OK ] AsyncWrapperCancellableTests.TestWaitFor (110 ms)
[----------] 3 tests from AsyncWrapperCancellableTests (110 ms total)
[----------] 7 tests from MultiAsyncBasicTests
[ RUN ] MultiAsyncBasicTests.MultiAsyncGetTest
[ OK ] MultiAsyncBasicTests.MultiAsyncGetTest (1994 ms)
[ RUN ] MultiAsyncBasicTests.MultiAsyncDeleteTest
[ OK ] MultiAsyncBasicTests.MultiAsyncDeleteTest (2 ms)
[ RUN ] MultiAsyncBasicTests.MultiAsyncHeadTest
[ OK ] MultiAsyncBasicTests.MultiAsyncHeadTest (3 ms)
[ RUN ] MultiAsyncBasicTests.MultiAsyncOptionsTest
[ OK ] MultiAsyncBasicTests.MultiAsyncOptionsTest (1 ms)
[ RUN ] MultiAsyncBasicTests.MultiAsyncPatchTest
[ OK ] MultiAsyncBasicTests.MultiAsyncPatchTest (1 ms)
[ RUN ] MultiAsyncBasicTests.MultiAsyncPostTest
[ OK ] MultiAsyncBasicTests.MultiAsyncPostTest (8 ms)
[ RUN ] MultiAsyncBasicTests.MultiAsyncPutTest
[ OK ] MultiAsyncBasicTests.MultiAsyncPutTest (1 ms)
[----------] 7 tests from MultiAsyncBasicTests (2014 ms total)
[----------] 4 tests from MultiAsyncCancelTests
[ RUN ] MultiAsyncCancelTests.CancellationOnQueue
[ OK ] MultiAsyncCancelTests.CancellationOnQueue (0 ms)
[ RUN ] MultiAsyncCancelTests.TestCancellationInTransit
[ OK ] MultiAsyncCancelTests.TestCancellationInTransit (101 ms)
[ RUN ] MultiAsyncCancelTests.TestCancellationOnResponseWrapperDestruction
[ OK ] MultiAsyncCancelTests.TestCancellationOnResponseWrapperDestruction (100 ms)
[ RUN ] MultiAsyncCancelTests.TestIntervalOfProgressCallsLowSpeed
[ OK ] MultiAsyncCancelTests.TestIntervalOfProgressCallsLowSpeed (3102 ms)
[----------] 4 tests from MultiAsyncCancelTests (3305 ms total)
[----------] Global test environment tear-down
[==========] 17 tests from 5 test suites ran. (5554 ms total)
[ PASSED ] 17 tests.
<end of output>
Test time = 5.61 sec
----------------------------------------------------------
Test Passed.
"cpr_multiasync_tests" end time: Aug 18 15:20 CST
"cpr_multiasync_tests" time elapsed: 00:00:05
----------------------------------------------------------
25/28 Testing: cpr_file_upload_tests
25/28 Test: cpr_file_upload_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/file_upload_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_file_upload_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from FileUploadTests
[ RUN ] FileUploadTests.AsciiFileName
[ OK ] FileUploadTests.AsciiFileName (20 ms)
[ RUN ] FileUploadTests.NonAsciiFileName
[ OK ] FileUploadTests.NonAsciiFileName (2 ms)
[ RUN ] FileUploadTests.ChineseFileName
[ OK ] FileUploadTests.ChineseFileName (1 ms)
[----------] 3 tests from FileUploadTests (25 ms total)
[----------] Global test environment tear-down
[==========] 3 tests from 1 test suite ran. (127 ms total)
[ PASSED ] 3 tests.
<end of output>
Test time = 0.18 sec
----------------------------------------------------------
Test Passed.
"cpr_file_upload_tests" end time: Aug 18 15:20 CST
"cpr_file_upload_tests" time elapsed: 00:00:00
----------------------------------------------------------
26/28 Testing: cpr_singleton_tests
26/28 Test: cpr_singleton_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/singleton_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_singleton_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from SingletonTests
[ RUN ] SingletonTests.GetInstanceTest
[ OK ] SingletonTests.GetInstanceTest (0 ms)
[ RUN ] SingletonTests.ExitInstanceTest
[ OK ] SingletonTests.ExitInstanceTest (0 ms)
[----------] 2 tests from SingletonTests (0 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (1 ms total)
[ PASSED ] 2 tests.
<end of output>
Test time = 0.05 sec
----------------------------------------------------------
Test Passed.
"cpr_singleton_tests" end time: Aug 18 15:20 CST
"cpr_singleton_tests" time elapsed: 00:00:00
----------------------------------------------------------
27/28 Testing: cpr_threadpool_tests
27/28 Test: cpr_threadpool_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/threadpool_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_threadpool_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 0 tests from 0 test suites.
[==========] 0 tests from 0 test suites ran. (0 ms total)
[ PASSED ] 0 tests.
YOU HAVE 4 DISABLED TESTS
<end of output>
Test time = 0.05 sec
----------------------------------------------------------
Test Passed.
"cpr_threadpool_tests" end time: Aug 18 15:20 CST
"cpr_threadpool_tests" time elapsed: 00:00:00
----------------------------------------------------------
28/28 Testing: cpr_ssl_tests
28/28 Test: cpr_ssl_tests
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/ssl_tests"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/test
"cpr_ssl_tests" start time: Aug 18 15:20 CST
Output:
----------------------------------------------------------
[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from SslTests
[ RUN ] SslTests.HelloWorldTestSimpel
* Uses proxy env variable NO_PROXY == '*.local,169.254/16'
* Trying 127.0.0.1:61937...
* Connected to 127.0.0.1 (127.0.0.1) port 61937
* ALPN: curl offers h2,http/1.1
* CAfile: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/data/certificates/ca-bundle.crt
* CApath: none
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / x25519 / ED25519
* ALPN: server did not agree on a protocol. Uses default.
* Server certificate:
* subject: CN=test-server
* start date: May 7 10:18:22 2024 GMT
* expire date: May 6 10:18:22 2029 GMT
* subjectAltName: host "127.0.0.1" matched cert's IP address!
* issuer: C=GB; O=Example; CN=Sub CA
* SSL certificate verify ok.
* Certificate level 0: Public key type ED25519 (256/128 Bits/secBits), signed using ED25519
* Certificate level 1: Public key type ED25519 (256/128 Bits/secBits), signed using ED25519
* using HTTP/1.x
> GET /hello.html HTTP/1.1
Host: 127.0.0.1:61937
User-Agent: curl/8.9.1
Accept: */*
Accept-Encoding: deflate, gzip, br, zstd
< HTTP/1.1 200 OK
< Content-Type: text/html
< Content-Length: 12
<
* Connection #0 to host 127.0.0.1 left intact
[ OK ] SslTests.HelloWorldTestSimpel (1081 ms)
[ RUN ] SslTests.HelloWorldTestFull
* Uses proxy env variable NO_PROXY == '*.local,169.254/16'
* Trying 127.0.0.1:61937...
* Connected to 127.0.0.1 (127.0.0.1) port 61937
* CAfile: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/data/certificates/ca-bundle.crt
* CApath: none
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / x25519 / ED25519
* Server certificate:
* subject: CN=test-server
* start date: May 7 10:18:22 2024 GMT
* expire date: May 6 10:18:22 2029 GMT
* subjectAltName: host "127.0.0.1" matched cert's IP address!
* issuer: C=GB; O=Example; CN=Sub CA
* SSL certificate verify ok.
* Certificate level 0: Public key type ED25519 (256/128 Bits/secBits), signed using ED25519
* Certificate level 1: Public key type ED25519 (256/128 Bits/secBits), signed using ED25519
> GET /hello.html HTTP/1.1
Host: 127.0.0.1:61937
User-Agent: curl/8.9.1
Accept: */*
Accept-Encoding: deflate, gzip, br, zstd
< HTTP/1.1 200 OK
< Content-Type: text/html
< Content-Length: 12
<
* Connection #0 to host 127.0.0.1 left intact
[ OK ] SslTests.HelloWorldTestFull (1017 ms)
[ RUN ] SslTests.GetCertInfos
* Uses proxy env variable NO_PROXY == '*.local,169.254/16'
* Trying 127.0.0.1:61937...
* Connected to 127.0.0.1 (127.0.0.1) port 61937
* ALPN: curl offers h2,http/1.1
* CAfile: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_cpr/cpr/work/build/bin/data/certificates/ca-bundle.crt
* CApath: none
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / x25519 / ED25519
* ALPN: server did not agree on a protocol. Uses default.
* Server certificate:
* subject: CN=test-server
* start date: May 7 10:18:22 2024 GMT
* expire date: May 6 10:18:22 2029 GMT
* subjectAltName: host "127.0.0.1" matched cert's IP address!
* issuer: C=GB; O=Example; CN=Sub CA
* SSL certificate verify ok.
* Certificate level 0: Public key type ED25519 (256/128 Bits/secBits), signed using ED25519
* Certificate level 1: Public key type ED25519 (256/128 Bits/secBits), signed using ED25519
* using HTTP/1.x
> GET /hello.html HTTP/1.1
Host: 127.0.0.1:61937
User-Agent: curl/8.9.1
Accept: */*
Accept-Encoding: deflate, gzip, br, zstd
< HTTP/1.1 200 OK
< Content-Type: text/html
< Content-Length: 12
<
* Connection #0 to host 127.0.0.1 left intact
[ OK ] SslTests.GetCertInfos (1018 ms)
[ RUN ] SslTests.LoadCertFromBufferTestSimpel
* Uses proxy env variable NO_PROXY == '*.local,169.254/16'
* Trying 127.0.0.1:61937...
* Connected to 127.0.0.1 (127.0.0.1) port 61937
* CAfile: /opt/local/share/curl/curl-ca-bundle.crt
* CApath: none
* ALPN: curl offers h2,http/1.1
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / x25519 / ED25519
* ALPN: server did not agree on a protocol. Uses default.
* Server certificate:
* subject: CN=test-server
* start date: May 7 10:18:22 2024 GMT
* expire date: May 6 10:18:22 2029 GMT
* subjectAltName: host "127.0.0.1" matched cert's IP address!
* issuer: C=GB; O=Example; CN=Sub CA
* SSL certificate verify ok.
* Certificate level 0: Public key type ED25519 (256/128 Bits/secBits), signed using ED25519
* Certificate level 1: Public key type ED25519 (256/128 Bits/secBits), signed using ED25519
* using HTTP/1.x
> GET /hello.html HTTP/1.1
Host: 127.0.0.1:61937
User-Agent: curl/8.9.1
Accept: */*
Accept-Encoding: deflate, gzip, br, zstd
< HTTP/1.1 200 OK
< Content-Type: text/html
< Content-Length: 12
<
* Connection #0 to host 127.0.0.1 left intact
[ OK ] SslTests.LoadCertFromBufferTestSimpel (1078 ms)
[----------] 4 tests from SslTests (4195 ms total)
[----------] Global test environment tear-down
[==========] 4 tests from 1 test suite ran. (4292 ms total)
[ PASSED ] 4 tests.
<end of output>
Test time = 4.34 sec
----------------------------------------------------------
Test Passed.
"cpr_ssl_tests" end time: Aug 18 15:20 CST
"cpr_ssl_tests" time elapsed: 00:00:04
----------------------------------------------------------
End testing: Aug 18 15:20 CST
(I interrupted two tests, since they apparently froze; if long execution is expected, please let me know.)
Interesting... For the CI I can not observe such a change. Here for example old as well as new fedora debug and release test runs with openssl take the same amount of time ~2:45min. Will have to look into this after my vacation in ~7days.
But thanks for testing my changes!
Do I understand it correctly you are using macOS on powerpc 32bit? So I can setup a VM for debugging.
@COM8 That may be somewhat non-trivial: you will need either to install 10.5 ppc in Qemu/UTM or install 10.6 with Rosetta in a VM on x86 machine. The second option is likely easier, but then everything needs to be built from scratch, which gonna take quite a while. I do have a working set-up in VM on Intel which supports building and running ppc binaries, so if you will really want to try that, I should be able to provide whatever may be needed, but it is pretty involving; I do not really expect anyone to go that far :) Perhaps a far easier option would be to debug this on ppc32 Linux or NetBSD/OpenBSD. If the problem is caused by bitness and/or endianness, it will show up there just like on macOS; otherwise, if all tests pass neatly, then we are sure that the problem is Apple-specific, which narrows down where to look.
Here for example old as well as new fedora debug and release test runs with openssl take the same amount of time ~2:45min
Let me try not interrupting anything then (as long as it a single test does not free beyond 10 min). Will update on the outcome in a while.
Nah, it does not become better. A bit odd that outcomes are not consistent: on one go tests may take much more time to fail or just freeze, the same tests may not freeze on another go.
Thanks for the update!
Regarding the ppc thing: PPC, 32bit and Apple might be a bit too many variables to have to deal with. Do you know any linux distro that still provides a ppc 32bit iso that does not require me to build it from scratch like for fedora and debian 12?
Thanks for the update!
Regarding the ppc thing: PPC, 32bit and Apple might be a bit too many variables to have to deal with. Do you know any linux distro that still provides a ppc 32bit iso that does not require me to build it from scratch like for fedora and debian 12?
Debian supported ppc32, though not in the latest release, AFAIK. It should be possible to run it via Qemu on x86: https://linuxjedi.co.uk/2022/02/23/emulating-ppc32-linux-in-x86_64-linux
Some other Linux distros running on ppc32: https://www.websentra.com/best-powerpc-linux-distros/
OpenBSD, NetBSD and FreeBSD support ppc32 (all in the latest releases, FreeBSD seems to have dropped it in current, OpenBSD and NetBSD keeps supporting it).
OK, thanks for the pointer. For now I consider it out of scope.