Skip to content

Commit 8643537

Browse files
committed
Removing localhost tests.
1 parent 233b0f1 commit 8643537

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

libs/network/test/http/CMakeLists.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ if (Boost_FOUND)
2323
client_get_test
2424
client_get_different_port_test
2525
client_get_timeout_test
26-
client_localhost_normal_test
26+
# TODO: refactor these so that local servers are no longer necessary
27+
# client_localhost_normal_test
2728
client_get_streaming_test
2829
)
29-
if (OPENSSL_FOUND)
30-
set ( TESTS ${TESTS} client_localhost_ssl_test )
31-
endif (OPENSSL_FOUND)
30+
# TODO: refactor these so that local servers are no longer necessary
31+
#if (OPENSSL_FOUND)
32+
# set ( TESTS ${TESTS} client_localhost_ssl_test )
33+
#endif (OPENSSL_FOUND)
3234
foreach ( test ${TESTS} )
3335
if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
3436
set_source_files_properties(${test}.cpp
@@ -42,12 +44,13 @@ if (Boost_FOUND)
4244
endif()
4345
set_target_properties(cpp-netlib-http-${test}
4446
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CPP-NETLIB_BINARY_DIR}/tests)
45-
add_test(cpp-netlib-http-${test}
47+
add_test(cpp-netlib-http-${test}
4648
${CPP-NETLIB_BINARY_DIR}/tests/cpp-netlib-http-${test})
4749
endforeach (test)
4850

4951
set ( SERVER_API_TESTS
5052
server_constructor_test
53+
server_async_run_stop_concurrency
5154
)
5255
foreach ( test ${SERVER_API_TESTS} )
5356
if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
@@ -67,7 +70,6 @@ if (Boost_FOUND)
6770
server_hello_world
6871
server_async
6972
server_async_less_copy
70-
server_async_run_stop_concurrency
7173
)
7274
set ( PORT 8000 )
7375
foreach ( test ${SERVER_TESTS} )

0 commit comments

Comments
 (0)