Skip to content

fix client_get_streaming_test #840

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 17, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
perform client_get_streaming_test only if SSL is enabled
  • Loading branch information
yhager committed May 16, 2018
commit adb024a9f498272b6f99918f6775fad3414d07e0
6 changes: 4 additions & 2 deletions libs/network/test/http/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ if (Boost_FOUND)
client_get_test
client_get_different_port_test
# client_get_timeout_test
client_get_ready_test
client_get_streaming_test)
client_get_ready_test)
if (OPENSSL_FOUND)
list(APPEND TESTS client_get_streaming_test)
endif()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is what I meant.

The client_get_streaming_test could have just skipped building the GetStreamingTest by checking whether the BOOST_NETWORK_ENABLE_HTTPS as a preprocessor macro. Please revert this part of the PR.

foreach ( test ${TESTS} )
add_executable(cpp-netlib-http-${test} ${test}.cpp)
add_dependencies(cpp-netlib-http-${test} cppnetlib-uri
Expand Down