Skip to content
Snippets Groups Projects
Commit 393dcb74 authored by Attila Krasznahorkay's avatar Attila Krasznahorkay
Browse files

Cleaned the CMake configuration of IOVDbSvc.

Fixed the incorrect usage of nlohmann_json, and cleaned up the
configuration of all of the unit tests of the package.
parent 2b63a539
No related branches found
No related tags found
No related merge requests found
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: IOVDbSvc
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( IOVDbSvc ) atlas_subdir( IOVDbSvc )
# Declare the package's dependencies:
atlas_depends_on_subdirs(
PUBLIC
GaudiKernel
PRIVATE
Control/AthenaBaseComps
Control/AthenaKernel
Control/CxxUtils
Control/SGTools
Control/StoreGate
Database/APR/FileCatalog
Database/AthenaPOOL/AthenaPoolUtilities
Database/AthenaPOOL/PoolSvc
Database/CoraCool
Database/IOVDbDataModel
Database/IOVDbMetaDataTools
DetectorDescription/GeoModel/GeoModelInterfaces
Event/EventInfo
Event/EventInfoUtils
Event/EventInfoMgt )
# External dependencies: # External dependencies:
find_package( COOL COMPONENTS CoolKernel CoolApplication ) find_package( COOL COMPONENTS CoolKernel CoolApplication )
find_package( CORAL COMPONENTS CoralBase ) find_package( CORAL COMPONENTS CoralBase RelationalAccess )
find_package( ROOT COMPONENTS Core ) find_package( ROOT COMPONENTS Core )
find_package( Boost COMPONENTS unit_test_framework ) find_package( Boost COMPONENTS unit_test_framework )
find_package( nlohmann_json ) find_package( nlohmann_json )
...@@ -39,167 +16,169 @@ atlas_add_library( IOVDbSvcLib ...@@ -39,167 +16,169 @@ atlas_add_library( IOVDbSvcLib
IOVDbSvc/*.h IOVDbSvc/*.h
INTERFACE INTERFACE
PUBLIC_HEADERS IOVDbSvc PUBLIC_HEADERS IOVDbSvc
INCLUDE_DIRS ${COOL_INCLUDE_DIRS} nlohmann_json::nlohmann_json ${CURL_INCLUDE_DIRS} INCLUDE_DIRS ${COOL_INCLUDE_DIRS}
LINK_LIBRARIES ${COOL_LIBRARIES} GaudiKernel nlohmann_json::nlohmann_json ${CURL_LIBRARIES} LINK_LIBRARIES ${COOL_LIBRARIES} GaudiKernel )
)
atlas_add_component( IOVDbSvc atlas_add_component( IOVDbSvc
src/*.h src/*.cxx src/components/*.cxx src/*.h src/*.cxx src/components/*.cxx
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS} ${COOL_INCLUDE_DIRS} nlohmann_json::nlohmann_json ${CURL_INCLUDE_DIRS} INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS} ${COOL_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} ${CORAL_LIBRARIES} ${COOL_LIBRARIES} nlohmann_json::nlohmann_json ${CURL_LIBRARIES} GaudiKernel AthenaBaseComps AthenaKernel CxxUtils SGTools StoreGateLib ${Boost_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS}
FileCatalog AthenaPoolUtilities CoraCool IOVDbDataModel EventInfo EventInfoUtils IOVDbSvcLib GeoModelInterfaces IOVDbMetaDataToolsLib EventInfoMgtLib PoolSvcLib LINK_LIBRARIES ${ROOT_LIBRARIES} ${CORAL_LIBRARIES} ${COOL_LIBRARIES}
) ${CURL_LIBRARIES} nlohmann_json::nlohmann_json GaudiKernel AthenaBaseComps
AthenaKernel StoreGateLib FileCatalog AthenaPoolUtilities CoraCool
IOVDbDataModel EventInfo EventInfoUtils GeoModelInterfaces
IOVDbMetaDataToolsLib EventInfoMgtLib PoolSvcLib IOVDbSvcLib )
# Install files from the package: # Install files from the package:
atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8}) atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8})
atlas_install_joboptions( share/*.py ) atlas_install_joboptions( share/*.py )
atlas_install_joboptions( share/*.txt ) atlas_install_joboptions( share/*.txt )
# Test(s) in the package.
atlas_add_test( IOVDbSvc_test atlas_add_test( IOVDbSvc_test
SOURCES SOURCES test/IOVDbSvc_test.cxx
test/IOVDbSvc_test.cxx INCLUDE_DIRS ${COOL_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS}
INCLUDE_DIRS ${COOL_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} LINK_LIBRARIES ${COOL_LIBRARIES} ${CORAL_LIBRARIES} ${ROOT_LIBRARIES}
LINK_LIBRARIES AthenaBaseComps AthenaKernel SGTools StoreGateLib SGtests GaudiKernel TestTools EventInfo IOVSvcLib xAODEventInfo PersistentDataModel ${COOL_LIBRARIES} ${CURL_LIBRARIES} GaudiKernel AthenaKernel CxxUtils TestTools
PROPERTIES TIMEOUT 300 PROPERTIES TIMEOUT 300
LOG_IGNORE_PATTERN "^HistogramPersis.* INFO|^IOVSvc +DEBUG|^IOVSvcTool +DEBUG |Warning in <TFile::Init>: no |Initializing" ) LOG_IGNORE_PATTERN "^HistogramPersis.* INFO|^IOVSvc +DEBUG|^IOVSvcTool +DEBUG |Warning in <TFile::Init>: no |Initializing" )
atlas_add_test( IOVDbSvc_Boost_test atlas_add_test( IOVDbSvc_Boost_test
SOURCES SOURCES test/IOVDbSvc_Boost_test.cxx
test/IOVDbSvc_Boost_test.cxx INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${COOL_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS}
INCLUDE_DIRS ${COOL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} ${ROOT_LIBRARIES}
LINK_LIBRARIES ${Boost_LIBRARIES} AthenaBaseComps AthenaKernel SGTools StoreGateLib SGtests GaudiKernel TestTools EventInfo IOVSvcLib xAODEventInfo PersistentDataModel ${COOL_LIBRARIES} ${CURL_LIBRARIES} GaudiKernel AthenaKernel CxxUtils TestTools StoreGateLib
LOG_IGNORE_PATTERN "^HistogramPersis.* INFO|^IOVSvc +DEBUG|^IOVSvcTool +DEBUG" LOG_IGNORE_PATTERN "^HistogramPersis.* INFO|^IOVSvc +DEBUG|^IOVSvcTool +DEBUG" )
)
set_target_properties( IOVDbSvc_IOVDbSvc_Boost_test PROPERTIES ENABLE_EXPORTS True )
atlas_add_test( IOVDbConn_test atlas_add_test( IOVDbConn_test
SOURCES SOURCES test/IOVDbConn_test.cxx src/IOVDbConn.cxx
test/IOVDbConn_test.cxx src/IOVDbConn.cxx INCLUDE_DIRS ${COOL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS}
INCLUDE_DIRS ${COOL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} LINK_LIBRARIES ${COOL_LIBRARIES} ${Boost_LIBRARIES} ${ROOT_LIBRARIES}
LINK_LIBRARIES ${Boost_LIBRARIES} AthenaBaseComps AthenaKernel SGTools StoreGateLib SGtests GaudiKernel TestTools EventInfo IOVSvcLib xAODEventInfo PersistentDataModel ${COOL_LIBRARIES} CoraCool ${CURL_LIBRARIES} GaudiKernel CxxUtils TestTools CoraCool
POST_EXEC_SCRIPT "nopost.sh" POST_EXEC_SCRIPT "nopost.sh" )
)
atlas_add_test( IOVDbStringFunctions_test atlas_add_test( IOVDbStringFunctions_test
SOURCES SOURCES test/IOVDbStringFunctions_test.cxx src/IOVDbStringFunctions.cxx
test/IOVDbStringFunctions_test.cxx src/IOVDbStringFunctions.cxx INCLUDE_DIRS ${Boost_INCLUDE_DIRS}
INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} LINK_LIBRARIES ${Boost_LIBRARIES}
LINK_LIBRARIES ${Boost_LIBRARIES} IOVSvcLib ${CURL_LIBRARIES} CoraCool POST_EXEC_SCRIPT "nopost.sh" )
POST_EXEC_SCRIPT "nopost.sh"
)
atlas_add_test( IOVDbParser_test atlas_add_test( IOVDbParser_test
SOURCES SOURCES test/IOVDbParser_test.cxx src/IOVDbParser.cxx
test/IOVDbParser_test.cxx src/IOVDbParser.cxx src/IOVDbStringFunctions.cxx src/IOVDbStringFunctions.cxx
INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${Boost_LIBRARIES} IOVSvcLib ${CURL_LIBRARIES} LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} GaudiKernel CxxUtils
POST_EXEC_SCRIPT "nopost.sh" TestTools
) POST_EXEC_SCRIPT "nopost.sh" )
atlas_add_test( FolderTypes_test atlas_add_test( FolderTypes_test
SOURCES SOURCES test/FolderTypes_test.cxx src/FolderTypes.cxx
test/FolderTypes_test.cxx src/IOVDbStringFunctions.cxx src/FolderTypes.cxx src/Json2Cool.cxx src/BasicFolder.cxx src/IOVDbStringFunctions.cxx
INCLUDE_DIRS ${COOL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} INCLUDE_DIRS ${COOL_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}
LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} IOVSvcLib AthenaPoolUtilities ${CURL_LIBRARIES} nlohmann_json::nlohmann_json ${ROOT_INCLUDE_DIRS}
POST_EXEC_SCRIPT "nopost.sh" LINK_LIBRARIES ${COOL_LIBRARIES} ${CORAL_LIBRARIES} ${Boost_LIBRARIES}
) ${ROOT_LIBRARIES} GaudiKernel AthenaKernel StoreGateLib CxxUtils TestTools
AthenaPoolUtilities
POST_EXEC_SCRIPT "nopost.sh" )
atlas_add_test( IOVDbCoolFunctions_test atlas_add_test( IOVDbCoolFunctions_test
SOURCES SOURCES test/IOVDbCoolFunctions_test.cxx src/IOVDbCoolFunctions.cxx
test/IOVDbCoolFunctions_test.cxx src/IOVDbCoolFunctions.cxx src/IOVDbConn.cxx src/IOVDbConn.cxx
INCLUDE_DIRS ${COOL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${COOL_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS}
LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} IOVSvcLib ${CURL_LIBRARIES} CoraCool LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} ${CORAL_LIBRARIES}
POST_EXEC_SCRIPT "nopost.sh" GaudiKernel AthenaKernel CoraCool
) POST_EXEC_SCRIPT "nopost.sh" )
atlas_add_test( ReadFromFileMetaData_test atlas_add_test( ReadFromFileMetaData_test
SOURCES SOURCES test/ReadFromFileMetaData_test.cxx src/ReadFromFileMetaData.cxx
test/ReadFromFileMetaData_test.cxx src/BasicFolder.cxx src/IOVDbSvcCurl.cxx src/Json2Cool.cxx src/CrestFunctions.cxx src/ReadFromFileMetaData.cxx src/FolderTypes.cxx src/IOVDbCoolFunctions.cxx src/IOVDbStringFunctions.cxx src/IOVDbConn.cxx src/FolderTypes.cxx src/IOVDbCoolFunctions.cxx src/IOVDbStringFunctions.cxx
INCLUDE_DIRS ${COOL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} src/IOVDbConn.cxx
LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} IOVDbDataModel IOVSvcLib ${CURL_LIBRARIES} CoraCool nlohmann_json::nlohmann_json INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${COOL_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS}
POST_EXEC_SCRIPT "nopost.sh" LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} ${CORAL_LIBRARIES}
) AthenaKernel IOVDbDataModel AthenaPoolUtilities CoraCool CxxUtils TestTools
POST_EXEC_SCRIPT "nopost.sh" )
atlas_add_test( IOVDbFolder_test atlas_add_test( IOVDbFolder_test
SOURCES SOURCES test/IOVDbFolder_test.cxx src/FolderTypes.cxx
test/IOVDbFolder_test.cxx src/IOVDbFolder.cxx src/CrestFunctions.cxx src/Cool2Json.cxx src/Json2Cool.cxx src/IovStore.cxx src/IOVDbConn.cxx src/IOVDbParser.cxx src/FolderTypes.cxx src/IOVDbCoolFunctions.cxx src/IOVDbStringFunctions.cxx src/ReadFromFileMetaData.cxx src/TagFunctions.cxx src/BasicFolder.cxx src/IOVDbSvcCurl.cxx src/IOVDbResolveTag.cxx src/Base64Codec.cxx src/IOVDbStringFunctions.cxx src/IOVDbParser.cxx src/IOVDbConn.cxx
INCLUDE_DIRS ${COOL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} nlohmann_json::nlohmann_json ${CURL_INCLUDE_DIRS} src/IOVDbFolder.cxx src/IOVDbParser.cxx src/IovStore.cxx
LINK_LIBRARIES ${Boost_LIBRARIES} AthenaBaseComps AthenaKernel SGTools StoreGateLib SGtests GaudiKernel TestTools EventInfo IOVSvcLib xAODEventInfo PersistentDataModel ${COOL_LIBRARIES} CoraCool AthenaPoolUtilities GeoModelInterfaces IOVDbMetaDataToolsLib IOVDbDataModel nlohmann_json::nlohmann_json ${CURL_LIBRARIES} src/ReadFromFileMetaData.cxx src/IOVDbCoolFunctions.cxx src/TagFunctions.cxx
LOG_IGNORE_PATTERN "^HistogramPersis.* INFO|^IOVSvc +DEBUG|^IOVSvcTool +DEBUG" src/Cool2Json.cxx src/Base64Codec.cxx src/Json2Cool.cxx src/IOVDbSvcCurl.cxx
POST_EXEC_SCRIPT "nopost.sh" src/BasicFolder.cxx src/IOVDbResolveTag.cxx src/CrestFunctions.cxx
) INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${COOL_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS}
${ROOT_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS}
LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} ${CORAL_LIBRARIES}
${ROOT_LIBRARIES} ${CURL_LIBRARIES} nlohmann_json::nlohmann_json
GaudiKernel AthenaKernel AthenaBaseComps StoreGateLib SGTools CxxUtils
TestTools CoraCool AthenaPoolUtilities GeoModelInterfaces EventInfo
IOVDbMetaDataToolsLib IOVDbDataModel
LOG_IGNORE_PATTERN "^HistogramPersis.* INFO|^IOVSvc +DEBUG|^IOVSvcTool +DEBUG"
POST_EXEC_SCRIPT "nopost.sh" )
atlas_add_test( IovStore_test atlas_add_test( IovStore_test
SOURCES SOURCES test/IovStore_test.cxx src/IovStore.cxx
test/IovStore_test.cxx src/IovStore.cxx INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${COOL_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS}
INCLUDE_DIRS ${COOL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} ${CORAL_LIBRARIES}
LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} IOVSvcLib ${CURL_LIBRARIES} POST_EXEC_SCRIPT "nopost.sh" )
POST_EXEC_SCRIPT "nopost.sh"
)
atlas_add_test( TagFunctions_test atlas_add_test( TagFunctions_test
SOURCES SOURCES test/TagFunctions_test.cxx src/TagFunctions.cxx
test/TagFunctions_test.cxx src/TagFunctions.cxx src/IOVDbStringFunctions.cxx src/IOVDbStringFunctions.cxx
INCLUDE_DIRS ${COOL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${COOL_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} AthenaKernel StoreGateLib GaudiKernel TestTools EventInfo IOVSvcLib PersistentDataModel AthenaPoolUtilities GeoModelInterfaces ${COOL_LIBRARIES} ${CURL_LIBRARIES} LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} ${ROOT_LIBRARIES}
POST_EXEC_SCRIPT "nopost.sh" GaudiKernel AthenaKernel StoreGateLib AthenaPoolUtilities CxxUtils TestTools
) EventInfo GeoModelInterfaces
POST_EXEC_SCRIPT "nopost.sh" )
atlas_add_test( IOVDbSvcCurl_test atlas_add_test( IOVDbSvcCurl_test
SOURCES SOURCES test/IOVDbSvcCurl_test.cxx src/IOVDbSvcCurl.cxx
test/IOVDbSvcCurl_test.cxx src/IOVDbSvcCurl.cxx INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS}
INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} LINK_LIBRARIES ${Boost_LIBRARIES} ${CURL_LIBRARIES}
LINK_LIBRARIES ${Boost_LIBRARIES} ${CURL_LIBRARIES} IOVSvcLib POST_EXEC_SCRIPT "nopost.sh" )
POST_EXEC_SCRIPT "nopost.sh"
)
atlas_add_test( BasicFolder_test atlas_add_test( BasicFolder_test
SOURCES SOURCES test/BasicFolder_test.cxx src/BasicFolder.cxx
test/BasicFolder_test.cxx src/BasicFolder.cxx INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${COOL_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS}
INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${COOL_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} ${CORAL_LIBRARIES}
LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} IOVSvcLib ${CURL_LIBRARIES} POST_EXEC_SCRIPT "nopost.sh" )
POST_EXEC_SCRIPT "nopost.sh"
)
atlas_add_test( Json2Cool_test atlas_add_test( Json2Cool_test
SOURCES SOURCES test/Json2Cool_test.cxx src/Json2Cool.cxx src/BasicFolder.cxx
test/Json2Cool_test.cxx src/Json2Cool.cxx src/BasicFolder.cxx src/IOVDbStringFunctions.cxx
INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${COOL_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${COOL_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS}
LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} IOVSvcLib nlohmann_json::nlohmann_json ${CURL_LIBRARIES} LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} ${CORAL_LIBRARIES}
POST_EXEC_SCRIPT "nopost.sh" nlohmann_json::nlohmann_json
) POST_EXEC_SCRIPT "nopost.sh" )
atlas_add_test( Cool2Json_test atlas_add_test( Cool2Json_test
SOURCES SOURCES test/Cool2Json_test.cxx src/Cool2Json.cxx src/IOVDbConn.cxx
test/Cool2Json_test.cxx src/Cool2Json.cxx src/Json2Cool.cxx src/IOVDbConn.cxx src/IOVDbParser.cxx src/FolderTypes.cxx src/IOVDbCoolFunctions.cxx src/IOVDbStringFunctions.cxx src/ReadFromFileMetaData.cxx src/TagFunctions.cxx src/BasicFolder.cxx src/IOVDbSvcCurl.cxx src/IOVDbResolveTag.cxx src/Base64Codec.cxx src/IOVDbParser.cxx src/IOVDbStringFunctions.cxx src/FolderTypes.cxx
INCLUDE_DIRS ${COOL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} nlohmann_json::nlohmann_json ${CURL_INCLUDE_DIRS} src/Base64Codec.cxx
LINK_LIBRARIES ${Boost_LIBRARIES} AthenaBaseComps AthenaKernel SGTools StoreGateLib SGtests GaudiKernel TestTools EventInfo IOVSvcLib xAODEventInfo PersistentDataModel ${COOL_LIBRARIES} CoraCool nlohmann_json::nlohmann_json ${CURL_LIBRARIES} INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${COOL_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS}
LOG_IGNORE_PATTERN "^HistogramPersis.* INFO|^IOVSvc +DEBUG|^IOVSvcTool +DEBUG" ${ROOT_INCLUDE_DIRS}
POST_EXEC_SCRIPT "nopost.sh" LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} ${CORAL_LIBRARIES}
) ${ROOT_LIBRARIES} GaudiKernel AthenaKernel StoreGateLib CoraCool
AthenaPoolUtilities CxxUtils TestTools
LOG_IGNORE_PATTERN "^HistogramPersis.* INFO|^IOVSvc +DEBUG|^IOVSvcTool +DEBUG"
POST_EXEC_SCRIPT "nopost.sh" )
atlas_add_test( CrestFunctions_test atlas_add_test( CrestFunctions_test
SOURCES SOURCES test/CrestFunctions_test.cxx src/CrestFunctions.cxx
test/CrestFunctions_test.cxx src/CrestFunctions.cxx src/IOVDbSvcCurl.cxx src/IOVDbStringFunctions.cxx src/IOVDbSvcCurl.cxx src/IOVDbStringFunctions.cxx
INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} ${COOL_INCLUDE_DIRS} INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${COOL_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS}
LINK_LIBRARIES ${Boost_LIBRARIES} IOVSvcLib AthenaPoolUtilities ${CURL_LIBRARIES} CoraCool ${CURL_INCLUDE_DIRS}
POST_EXEC_SCRIPT "nopost.sh" LINK_LIBRARIES ${Boost_LIBRARIES} ${COOL_LIBRARIES} ${CORAL_LIBRARIES}
) ${CURL_LIBRARIES}
POST_EXEC_SCRIPT "nopost.sh" )
atlas_add_test( Base64Codec_test
SOURCES
test/Base64Codec_test.cxx src/Base64Codec.cxx
INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS}
LINK_LIBRARIES ${Boost_LIBRARIES} IOVSvcLib ${CORAL_LIBRARIES}
POST_EXEC_SCRIPT "nopost.sh"
)
atlas_add_test( Base64Codec_test
SOURCES test/Base64Codec_test.cxx src/Base64Codec.cxx
INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS}
LINK_LIBRARIES ${Boost_LIBRARIES} ${CORAL_LIBRARIES}
POST_EXEC_SCRIPT "nopost.sh" )
if( NOT SIMULATIONBASE AND NOT GENERATIONBASE ) if( NOT SIMULATIONBASE AND NOT GENERATIONBASE )
atlas_add_test( IOVDbSvcCfgTest SCRIPT python -m IOVDbSvc.IOVDbSvcConfig POST_EXEC_SCRIPT nopost.sh ) atlas_add_test( IOVDbSvcCfgTest
SCRIPT python -m IOVDbSvc.IOVDbSvcConfig
POST_EXEC_SCRIPT "nopost.sh" )
endif() endif()
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