Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
499ad84b
Commit
499ad84b
authored
Jul 07, 2016
by
Steven Murray
Browse files
Created libctardbmsunittests.so
parent
e5574cdc
Changes
4
Hide whitespace changes
Inline
Side-by-side
catalogue/CMakeLists.txt
View file @
499ad84b
...
...
@@ -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
}
)
...
...
cta.spec.in
View file @
499ad84b
...
...
@@ -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
...
...
rdbms/CMakeLists.txt
View file @
499ad84b
...
...
@@ -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
}
)
tests/CMakeLists.txt
View file @
499ad84b
...
...
@@ -39,6 +39,7 @@ target_link_libraries(cta-unitTests
ctacommonunittests
ctaobjectstore
ctaobjectstoreunittests
ctardbmsunittests
ctaremotensunittests
ctaschedulerunittests
ctaio
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment