Skip to content
Snippets Groups Projects
Commit c56601bc authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

DRTVWR-476: Add LLCOREHTTP_TESTS CMake var, OFF by default on Mac.

Hopefully this is temporary until we solve the problem of crashy llcorehttp
test executable on Mac.
parent 96e7e92e
No related branches found
No related tags found
No related merge requests found
...@@ -101,12 +101,20 @@ target_link_libraries( ...@@ -101,12 +101,20 @@ target_link_libraries(
) )
# tests # tests
if (LL_TESTS) if (DARWIN)
# 2019-06-26: this test executable crashes on Mac trying to initialize std::atomic?!
set(LLCOREHTTP_TESTS_DFT OFF)
else ()
set(LLCOREHTTP_TESTS_DFT ON)
endif ()
set(LLCOREHTTP_TESTS ${LLCOREHTTP_TESTS_DFT} CACHE BOOL
"Build and run llcorehttp integration tests specifically")
if (LL_TESTS AND LLCOREHTTP_TESTS)
SET(llcorehttp_TEST_SOURCE_FILES SET(llcorehttp_TEST_SOURCE_FILES
tests/test_allocator.cpp tests/test_allocator.cpp
) )
set(llcorehttp_TEST_HEADER_FILS set(llcorehttp_TEST_HEADER_FILES
tests/test_httpstatus.hpp tests/test_httpstatus.hpp
tests/test_refcounted.hpp tests/test_refcounted.hpp
tests/test_httpoperation.hpp tests/test_httpoperation.hpp
...@@ -232,5 +240,4 @@ endif (DARWIN) ...@@ -232,5 +240,4 @@ endif (DARWIN)
target_link_libraries(http_texture_load ${example_libs}) target_link_libraries(http_texture_load ${example_libs})
endif (LL_TESTS) endif (LL_TESTS AND LLCOREHTTP_TESTS)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment