Skip to content

Commit 7d35dc6

Browse files
committed
Uncomment the test builds.
This introduces all the failures we want to fix in this branch.
1 parent b26c440 commit 7d35dc6

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

libs/network/test/http/CMakeLists.txt

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -74,21 +74,21 @@ if (Boost_FOUND)
7474
${CPP-NETLIB_BINARY_DIR}/tests/cpp-netlib-http-${test})
7575
endforeach (test)
7676

77-
# set ( SERVER_API_TESTS
78-
# server_constructor_test
79-
# server_async_run_stop_concurrency
80-
# )
81-
# foreach ( test ${SERVER_API_TESTS} )
82-
# if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
83-
# set_source_files_properties(${test}.cpp
84-
# PROPERTIES COMPILE_FLAGS "-Wall")
85-
# endif()
86-
# add_executable(cpp-netlib-http-${test} ${test}.cpp)
87-
# target_link_libraries(cpp-netlib-http-${test} ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} cppnetlib-server-parsers)
88-
# set_target_properties(cpp-netlib-http-${test}
89-
# PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CPP-NETLIB_BINARY_DIR}/tests)
90-
# add_test(cpp-netlib-http-${test}
91-
# ${CPP-NETLIB_BINARY_DIR}/tests/cpp-netlib-http-${test})
92-
# endforeach (test)
77+
set ( SERVER_API_TESTS
78+
server_constructor_test
79+
server_async_run_stop_concurrency
80+
)
81+
foreach ( test ${SERVER_API_TESTS} )
82+
if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
83+
set_source_files_properties(${test}.cpp
84+
PROPERTIES COMPILE_FLAGS "-Wall")
85+
endif()
86+
add_executable(cpp-netlib-http-${test} ${test}.cpp)
87+
target_link_libraries(cpp-netlib-http-${test} ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} cppnetlib-server-parsers)
88+
set_target_properties(cpp-netlib-http-${test}
89+
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CPP-NETLIB_BINARY_DIR}/tests)
90+
add_test(cpp-netlib-http-${test}
91+
${CPP-NETLIB_BINARY_DIR}/tests/cpp-netlib-http-${test})
92+
endforeach (test)
9393

9494
endif()

0 commit comments

Comments
 (0)