diff --git a/Database/IOVDbSvc/CMakeLists.txt b/Database/IOVDbSvc/CMakeLists.txt index d82a9365547c00c65748462fbd3e9db6d5bf5139..622f884c1d7a53f60714fc44b9aa51b463b35b2e 100644 --- a/Database/IOVDbSvc/CMakeLists.txt +++ b/Database/IOVDbSvc/CMakeLists.txt @@ -183,7 +183,7 @@ atlas_add_test( Base64Codec_test LINK_LIBRARIES ${Boost_LIBRARIES} ${CORAL_LIBRARIES} POST_EXEC_SCRIPT "nopost.sh" ) -if( NOT SIMULATIONBASE AND NOT GENERATIONBASE ) +if( NOT SIMULATIONBASE AND NOT GENERATIONBASE AND NOT XAOD_ANALYSIS ) atlas_add_test( IOVDbSvcCfgTest SCRIPT python -m IOVDbSvc.IOVDbSvcConfig POST_EXEC_SCRIPT "nopost.sh" ) diff --git a/LumiBlock/LumiBlockComps/CMakeLists.txt b/LumiBlock/LumiBlockComps/CMakeLists.txt index b28292f863222e428be03ec5b20ea1ad9fedfe1d..0176ae6ca729b45229ed6ae58d02c70f3df0ff38 100644 --- a/LumiBlock/LumiBlockComps/CMakeLists.txt +++ b/LumiBlock/LumiBlockComps/CMakeLists.txt @@ -61,24 +61,24 @@ if( NOT XAOD_ANALYSIS ) atlas_add_test( TrigLiveFractionCondAlg_test SOURCES test/TrigLiveFractionCondAlg_test.cxx LINK_LIBRARIES GaudiKernel LumiBlockData LumiBlockCompsLib TestTools ) -endif() -atlas_add_test( LuminosityCondAlgConfig_test - SCRIPT python -m LumiBlockComps.LuminosityCondAlgConfig - LOG_SELECT_PATTERN "ComponentAccumulator|^---|^IOVDbSvc" ) + atlas_add_test( LuminosityCondAlgConfig_test + SCRIPT python -m LumiBlockComps.LuminosityCondAlgConfig + LOG_SELECT_PATTERN "ComponentAccumulator|^---|^IOVDbSvc" ) -atlas_add_test( LBDurationCondAlgConfig_test - SCRIPT python -m LumiBlockComps.LBDurationCondAlgConfig - LOG_SELECT_PATTERN "ComponentAccumulator|^---|^IOVDbSvc" ) + atlas_add_test( LBDurationCondAlgConfig_test + SCRIPT python -m LumiBlockComps.LBDurationCondAlgConfig + LOG_SELECT_PATTERN "ComponentAccumulator|^---|^IOVDbSvc" ) -atlas_add_test( TrigLiveFractionCondAlgConfig_test - SCRIPT python -m LumiBlockComps.TrigLiveFractionCondAlgConfig - LOG_SELECT_PATTERN "ComponentAccumulator|^---|^IOVDbSvc" ) + atlas_add_test( TrigLiveFractionCondAlgConfig_test + SCRIPT python -m LumiBlockComps.TrigLiveFractionCondAlgConfig + LOG_SELECT_PATTERN "ComponentAccumulator|^---|^IOVDbSvc" ) -atlas_add_test( LumiBlockMuWriterConfig_test - SCRIPT python -m LumiBlockComps.LumiBlockMuWriterConfig - LOG_SELECT_PATTERN "ComponentAccumulator|^---|^IOVDbSvc" ) + atlas_add_test( LumiBlockMuWriterConfig_test + SCRIPT python -m LumiBlockComps.LumiBlockMuWriterConfig + LOG_SELECT_PATTERN "ComponentAccumulator|^---|^IOVDbSvc" ) -atlas_add_test( BunchCrossingCondAlg - SCRIPT python ${CMAKE_CURRENT_SOURCE_DIR}/python/BunchCrossingCondAlgTest.py - POST_EXEC_SCRIPT " /usr/bin/diff BCData.txt ${CMAKE_CURRENT_SOURCE_DIR}/share/BCData.txt.ref > BC_diff.log " ) + atlas_add_test( BunchCrossingCondAlg + SCRIPT python ${CMAKE_CURRENT_SOURCE_DIR}/python/BunchCrossingCondAlgTest.py + POST_EXEC_SCRIPT " /usr/bin/diff BCData.txt ${CMAKE_CURRENT_SOURCE_DIR}/share/BCData.txt.ref > BC_diff.log " ) +endif() diff --git a/PhysicsAnalysis/ElectronPhotonID/PhotonVertexSelection/CMakeLists.txt b/PhysicsAnalysis/ElectronPhotonID/PhotonVertexSelection/CMakeLists.txt index 03a6d01115cce93170b3bea1bcaba06718243287..9cd1a70bd5a8821925ebe4df7d863e3d93bfd651 100644 --- a/PhysicsAnalysis/ElectronPhotonID/PhotonVertexSelection/CMakeLists.txt +++ b/PhysicsAnalysis/ElectronPhotonID/PhotonVertexSelection/CMakeLists.txt @@ -28,5 +28,7 @@ atlas_add_dictionary( PhotonVertexSelectionDict LINK_LIBRARIES PhotonVertexSelectionLib ) # Test(s) in the package: -atlas_add_test( PhotonVertexSelection_test - SCRIPT test/testPhotonVertexSelection.py ) +if( NOT XAOD_ANALYSIS ) + atlas_add_test( PhotonVertexSelection_test + SCRIPT test/testPhotonVertexSelection.py ) +endif() diff --git a/PhysicsAnalysis/ElectronPhotonID/egammaMVACalibAnalysis/CMakeLists.txt b/PhysicsAnalysis/ElectronPhotonID/egammaMVACalibAnalysis/CMakeLists.txt index 035ff8a01ef37f1b38264961041da650d70e7f85..e613f35f296578d248c395d433028ba4c72dd015 100644 --- a/PhysicsAnalysis/ElectronPhotonID/egammaMVACalibAnalysis/CMakeLists.txt +++ b/PhysicsAnalysis/ElectronPhotonID/egammaMVACalibAnalysis/CMakeLists.txt @@ -47,7 +47,7 @@ endif() # Install files from the package: atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} ) -if (NOT XAOD_STANDALONE) +if (NOT XAOD_STANDALONE AND NOT XAOD_ANALYSIS) atlas_add_test( flake8_test SCRIPT ${ATLAS_FLAKE8} ${CMAKE_CURRENT_SOURCE_DIR}/test POST_EXEC_SCRIPT nopost.sh ) diff --git a/Reconstruction/Jet/JetRec/CMakeLists.txt b/Reconstruction/Jet/JetRec/CMakeLists.txt index c37361923ea85d8f008a887adafc6276e62abed3..c551d427310a8cdb17f5ed94374db1972f580ae6 100644 --- a/Reconstruction/Jet/JetRec/CMakeLists.txt +++ b/Reconstruction/Jet/JetRec/CMakeLists.txt @@ -87,7 +87,7 @@ atlas_add_test(JetClustererTest INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${GTEST_INCLUDE_DIRS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${GTEST_LIBRARIES} JetRecLib ) -if ( NOT GENERATIONBASE AND NOT XAOD_STANDALONE ) +if ( NOT GENERATIONBASE AND NOT XAOD_STANDALONE AND NOT XAOD_ANALYSIS ) atlas_add_test(JetRecAlg_Test SCRIPT share/JetRecAlgTestCfg.py ) endif() diff --git a/Reconstruction/Jet/JetReclustering/CMakeLists.txt b/Reconstruction/Jet/JetReclustering/CMakeLists.txt index 2290702cc364831799bd6265306777f7e12b19e5..2e8550ea5b07382221121f6998f4b9cebc10fd18 100644 --- a/Reconstruction/Jet/JetReclustering/CMakeLists.txt +++ b/Reconstruction/Jet/JetReclustering/CMakeLists.txt @@ -34,7 +34,7 @@ atlas_add_dictionary( JetReclusteringDict LINK_LIBRARIES JetReclusteringLib ) # Test(s) in the package: -if( NOT XAOD_STANDALONE ) +if( NOT XAOD_STANDALONE AND NOT XAOD_ANALYSIS ) atlas_add_test( ut_JetReclusteringTool_test SOURCES test/ut_JetReclusteringTool_test.cxx LINK_LIBRARIES xAODRootAccess AsgTools JetInterface xAODJet