Description
Making a macports portfile, on 2.10.6, testing has following output:
Running tests...
/opt/local/bin/ctest --force-new-ctest-process
Test project /opt/local/var/macports/build/_opt_portfiles_www_cpprestsdk/cpprestsdk/work/build
Start 1: httpclient_test
1/7 Test #1: httpclient_test ..................***Exception: SegFault 29.16 sec
All other tests pass.
Running those tests manually via test_runner, I get this:
Test case request_helper_tests:overwrite_user_agent PASSED
Starting test case request_stream_tests:set_body_stream_1...
/opt/local/var/macports/build/_opt_portfiles_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.6/Release/tests/functional/http/client/request_stream_tests.cpp:96: error: Failure in set_body_stream_1: Unhandled exception: No such file or directory: No such file or directory FAILED
Test case request_stream_tests:set_body_stream_1 FAILED
Starting test case request_stream_tests:set_body_stream_2...
/opt/local/var/macports/build/_opt_portfiles_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.6/Release/tests/functional/http/client/request_stream_tests.cpp:123: error: Failure in set_body_stream_2: Unhandled exception: No such file or directory: No such file or directory FAILED
Test case request_stream_tests:set_body_stream_2 FAILED
Starting test case request_stream_tests:without_content_length_1...
/opt/local/var/macports/build/_opt_portfiles_www_cpprestsdk/cpprestsdk/work/cpprestsdk-2.10.6/Release/tests/functional/http/client/request_stream_tests.cpp:193: error: Failure in without_content_length_1: Unhandled exception: No such file or directory: No such file or directory FAILED
libc++abi.dylib: terminating
Trace/BPT trap: 5