From 76aa6cc293b32681bb3350bda2be90a97c0acd0f Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Fri, 28 Aug 2009 19:13:13 +0000 Subject: DEV-38596: Introduce Mani's LL_ADD_INTEGRATION_TEST macro. LL_ADD_INTEGRATION_TEST supports tests that may require linking against one or more Linden libraries, or that should be executed with a wrapper script. Use this to test lllazy.cpp, llsdmessage.cpp and llcapabilitylistener.cpp. --- indra/llmessage/CMakeLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'indra/llmessage/CMakeLists.txt') diff --git a/indra/llmessage/CMakeLists.txt b/indra/llmessage/CMakeLists.txt index 88f83ba78e..536a586b00 100644 --- a/indra/llmessage/CMakeLists.txt +++ b/indra/llmessage/CMakeLists.txt @@ -222,6 +222,23 @@ IF (NOT LINUX AND VIEWER) lltrustedmessageservice.cpp lltemplatemessagedispatcher.cpp ) +# set(TEST_DEBUG on) + set(test_libs + ${LLMESSAGE_LIBRARIES} + ${WINDOWS_LIBRARIES} + ${LLVFS_LIBRARIES} + ${LLMATH_LIBRARIES} + ${LLCOMMON_LIBRARIES} + ) + + LL_ADD_INTEGRATION_TEST( + llsdmessage + "llsdmessage.cpp" + "${test_libs}" + ${PYTHON_EXECUTABLE} + "${CMAKE_CURRENT_SOURCE_DIR}/tests/test_llsdmessage_peer.py" + ) + LL_ADD_PROJECT_UNIT_TESTS(llmessage "${llmessage_TEST_SOURCE_FILES}") # Commented out - see rationale at bottom of newview's build file + poppy 2009-06-05 -- cgit v1.2.3