Skip to content
Snippets Groups Projects
Commit efbbbca9 authored by Rider Linden's avatar Rider Linden
Browse files

Get unit tests (Integration and project) compiling and linking again.

parent e3b429cd
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,7 @@ INCLUDE(GoogleMock) ...@@ -34,6 +34,7 @@ INCLUDE(GoogleMock)
# needed by the test harness itself # needed by the test harness itself
${APRUTIL_LIBRARIES} ${APRUTIL_LIBRARIES}
${APR_LIBRARIES} ${APR_LIBRARIES}
llcorehttp
llcommon llcommon
) )
IF(NOT "${project}" STREQUAL "llmath") IF(NOT "${project}" STREQUAL "llmath")
...@@ -49,6 +50,9 @@ INCLUDE(GoogleMock) ...@@ -49,6 +50,9 @@ INCLUDE(GoogleMock)
${GOOGLEMOCK_INCLUDE_DIRS} ${GOOGLEMOCK_INCLUDE_DIRS}
) )
SET(alltest_LIBRARIES SET(alltest_LIBRARIES
${BOOST_COROUTINE_LIBRARY}
${BOOST_CONTEXT_LIBRARY}
${BOOST_SYSTEM_LIBRARY}
${GOOGLEMOCK_LIBRARIES} ${GOOGLEMOCK_LIBRARIES}
${PTHREAD_LIBRARY} ${PTHREAD_LIBRARY}
${WINDOWS_LIBRARIES} ${WINDOWS_LIBRARIES}
...@@ -191,6 +195,9 @@ FUNCTION(LL_ADD_INTEGRATION_TEST ...@@ -191,6 +195,9 @@ FUNCTION(LL_ADD_INTEGRATION_TEST
SET(libraries SET(libraries
${library_dependencies} ${library_dependencies}
${BOOST_COROUTINE_LIBRARY}
${BOOST_CONTEXT_LIBRARY}
${BOOST_SYSTEM_LIBRARY}
${GOOGLEMOCK_LIBRARIES} ${GOOGLEMOCK_LIBRARIES}
${PTHREAD_LIBRARY} ${PTHREAD_LIBRARY}
) )
......
...@@ -4,6 +4,7 @@ project(llinventory) ...@@ -4,6 +4,7 @@ project(llinventory)
include(00-Common) include(00-Common)
include(LLCommon) include(LLCommon)
include(LLCoreHttp)
include(LLMath) include(LLMath)
include(LLMessage) include(LLMessage)
include(LLVFS) include(LLVFS)
...@@ -71,7 +72,7 @@ if (LL_TESTS) ...@@ -71,7 +72,7 @@ if (LL_TESTS)
LL_ADD_PROJECT_UNIT_TESTS(llinventory "${llinventory_TEST_SOURCE_FILES}") LL_ADD_PROJECT_UNIT_TESTS(llinventory "${llinventory_TEST_SOURCE_FILES}")
#set(TEST_DEBUG on) #set(TEST_DEBUG on)
set(test_libs llinventory ${LLMESSAGE_LIBRARIES} ${LLVFS_LIBRARIES} ${LLMATH_LIBRARIES} ${LLCOMMON_LIBRARIES} ${WINDOWS_LIBRARIES}) set(test_libs llinventory ${LLMESSAGE_LIBRARIES} ${LLVFS_LIBRARIES} ${LLCOREHTTP_LIBRARIES} ${LLMATH_LIBRARIES} ${LLCOMMON_LIBRARIES} ${WINDOWS_LIBRARIES})
LL_ADD_INTEGRATION_TEST(inventorymisc "" "${test_libs}") LL_ADD_INTEGRATION_TEST(inventorymisc "" "${test_libs}")
LL_ADD_INTEGRATION_TEST(llparcel "" "${test_libs}") LL_ADD_INTEGRATION_TEST(llparcel "" "${test_libs}")
endif (LL_TESTS) endif (LL_TESTS)
...@@ -240,8 +240,8 @@ target_link_libraries( ...@@ -240,8 +240,8 @@ target_link_libraries(
if (LL_TESTS) if (LL_TESTS)
SET(llmessage_TEST_SOURCE_FILES SET(llmessage_TEST_SOURCE_FILES
llnamevalue.cpp llnamevalue.cpp
# lltrustedmessageservice.cpp lltrustedmessageservice.cpp
# lltemplatemessagedispatcher.cpp lltemplatemessagedispatcher.cpp
) )
LL_ADD_PROJECT_UNIT_TESTS(llmessage "${llmessage_TEST_SOURCE_FILES}") LL_ADD_PROJECT_UNIT_TESTS(llmessage "${llmessage_TEST_SOURCE_FILES}")
......
...@@ -4,6 +4,7 @@ project (lltest) ...@@ -4,6 +4,7 @@ project (lltest)
include(00-Common) include(00-Common)
include(LLCommon) include(LLCommon)
include(LLCoreHttp)
include(LLInventory) include(LLInventory)
include(LLMath) include(LLMath)
include(LLMessage) include(LLMessage)
...@@ -18,6 +19,7 @@ include(GoogleMock) ...@@ -18,6 +19,7 @@ include(GoogleMock)
include_directories( include_directories(
${LLCOMMON_INCLUDE_DIRS} ${LLCOMMON_INCLUDE_DIRS}
${LLCOREHTTP_INCLUDE_DIRS}
${LLDATABASE_INCLUDE_DIRS} ${LLDATABASE_INCLUDE_DIRS}
${LLMATH_INCLUDE_DIRS} ${LLMATH_INCLUDE_DIRS}
${LLMESSAGE_INCLUDE_DIRS} ${LLMESSAGE_INCLUDE_DIRS}
...@@ -91,6 +93,7 @@ target_link_libraries(lltest ...@@ -91,6 +93,7 @@ target_link_libraries(lltest
${LLXML_LIBRARIES} ${LLXML_LIBRARIES}
${LSCRIPT_LIBRARIES} ${LSCRIPT_LIBRARIES}
${LLCOMMON_LIBRARIES} ${LLCOMMON_LIBRARIES}
${LLCOREHTTP_LIBRARIES}
${EXPAT_LIBRARIES} ${EXPAT_LIBRARIES}
${GOOGLEMOCK_LIBRARIES} ${GOOGLEMOCK_LIBRARIES}
${PTHREAD_LIBRARY} ${PTHREAD_LIBRARY}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment