Skip to content
Snippets Groups Projects
Commit 38a2cf46 authored by Steven Murray's avatar Steven Murray
Browse files

Created libctardbmsunittests.so

parent bfea2bd4
No related branches found
No related tags found
No related merge requests found
......@@ -73,11 +73,7 @@ add_custom_command(OUTPUT InMemoryCatalogueSchema.cpp
set(IN_MEMORY_CATALOGUE_UNIT_TESTS_LIB_SRC_FILES
CatalogueTest.cpp
CatalogueFactoryTest.cpp
../rdbms/DbLoginFactory.cpp
../rdbms/DbLoginTest.cpp
../rdbms/ParamNameToIdxTest.cpp
InMemoryCatalogueTest.cpp
../rdbms/SqliteStmtTest.cpp)
InMemoryCatalogueTest.cpp)
add_library (ctainmemorycatalogueunittests SHARED
${IN_MEMORY_CATALOGUE_UNIT_TESTS_LIB_SRC_FILES})
......
......@@ -169,6 +169,7 @@ Unit tests and system tests with virtual tape drives
%attr(0755,root,root) %{_libdir}/libctalegacymsgunittests.so
%attr(0755,root,root) %{_libdir}/libctamessagesunittests.so
%attr(0755,root,root) %{_libdir}/libctaobjectstoreunittests.so
%attr(0755,root,root) %{_libdir}/libctardbmsunittests.so
%attr(0755,root,root) %{_libdir}/libctaremotensunittests.so
%attr(0755,root,root) %{_libdir}/libctaschedulerunittests.so
%attr(0755,root,root) %{_libdir}/libctaserverunittests.so
......
......@@ -53,3 +53,17 @@ target_link_libraries (ctardbms
${SQLITE_LIBRARIES})
install (TARGETS ctardbms DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
set(RDBMS_UNIT_TESTS_LIB_SRC_FILES
DbLoginFactory.cpp
DbLoginTest.cpp
ParamNameToIdxTest.cpp
SqliteStmtTest.cpp)
add_library (ctardbmsunittests SHARED
${RDBMS_UNIT_TESTS_LIB_SRC_FILES})
target_link_libraries (ctardbmsunittests
ctacatalogue)
install(TARGETS ctardbmsunittests DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
......@@ -39,6 +39,7 @@ target_link_libraries(cta-unitTests
ctacommonunittests
ctaobjectstore
ctaobjectstoreunittests
ctardbmsunittests
ctaremotensunittests
ctaschedulerunittests
ctaio
......
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