Only run the tests under ubasan

This commit is contained in:
Vinnie Falco
2017-06-20 16:56:28 -07:00
parent 7b8149cfd4
commit 3ff585d36e
4 changed files with 64 additions and 69 deletions

View File

@@ -191,8 +191,8 @@ file(GLOB_RECURSE SERVER_INCLUDES
)
add_subdirectory (test)
if (NOT "${VARIANT}" STREQUAL "coverage")
if ((NOT "${VARIANT}" STREQUAL "coverage") AND
(NOT "${VARIANT}" STREQUAL "ubasan"))
add_subdirectory (example)
endif()

View File

@@ -1,13 +1,16 @@
# Part of Beast
add_subdirectory (benchmarks)
add_subdirectory (core)
add_subdirectory (http)
add_subdirectory (server)
add_subdirectory (websocket)
add_subdirectory (zlib)
if (NOT "${VARIANT}" STREQUAL "coverage")
if ((NOT "${VARIANT}" STREQUAL "coverage") AND
(NOT "${VARIANT}" STREQUAL "ubasan"))
add_subdirectory (benchmarks)
add_subdirectory (server)
GroupSources(extras/beast extras)
GroupSources(include/beast beast)
GroupSources(test "/")

View File

@@ -1,7 +1,5 @@
# Part of Beast
if (NOT "${VARIANT}" STREQUAL "coverage")
GroupSources(extras/beast extras)
GroupSources(include/beast beast)
GroupSources(test/benchmarks "/")
@@ -23,5 +21,3 @@ if (NOT "${VARIANT}" STREQUAL "coverage")
${Boost_PROGRAM_OPTIONS_LIBRARY}
${Boost_FILESYSTEM_LIBRARY}
)
endif()

View File

@@ -1,7 +1,5 @@
# Part of Beast
if (NOT "${VARIANT}" STREQUAL "coverage")
GroupSources(example/server-framework framework)
GroupSources(extras/beast extras)
GroupSources(include/beast beast)
@@ -46,5 +44,3 @@ if (NOT "${VARIANT}" STREQUAL "coverage")
if (OPENSSL_FOUND)
target_link_libraries(server-test ${OPENSSL_LIBRARIES})
endif()
endif()