diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2009-08-28 19:13:13 +0000 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2009-08-28 19:13:13 +0000 |
commit | 76aa6cc293b32681bb3350bda2be90a97c0acd0f (patch) | |
tree | 42544db244ae956b877b553333d82fac93fe09d7 /indra/newview/CMakeLists.txt | |
parent | eda3831041a176ae11116bd0c33077d121dc62e2 (diff) |
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.
Diffstat (limited to 'indra/newview/CMakeLists.txt')
-rw-r--r-- | indra/newview/CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 52df1dd241..43d5f70b2f 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1522,6 +1522,23 @@ set_source_files_properties( ) LL_ADD_PROJECT_UNIT_TESTS(${VIEWER_BINARY_NAME} "${viewer_TEST_SOURCE_FILES}") +#set(TEST_DEBUG on) +set(test_sources llcapabilitylistener.cpp llviewerprecompiledheaders.cpp) +set(test_libs + ${LLMESSAGE_LIBRARIES} + ${WINDOWS_LIBRARIES} + ${LLVFS_LIBRARIES} + ${LLMATH_LIBRARIES} + ${LLCOMMON_LIBRARIES} + ) + +LL_ADD_INTEGRATION_TEST(llcapabilitylistener + "${test_sources}" + "${test_libs}" + ${PYTHON_EXECUTABLE} + "${CMAKE_SOURCE_DIR}/llmessage/tests/test_llsdmessage_peer.py" + ) + #ADD_VIEWER_BUILD_TEST(llmemoryview viewer) |