From d07343db5248979b4636c91da304b9120db7627b Mon Sep 17 00:00:00 2001 From: Tadej Novak <tadej.novak@cern.ch> Date: Tue, 5 Jan 2021 13:42:41 +0100 Subject: [PATCH] Disable some e/gamma tests in AthAnalysis --- .../ElectronPhotonID/PhotonVertexSelection/CMakeLists.txt | 6 ++++-- .../ElectronPhotonID/egammaMVACalibAnalysis/CMakeLists.txt | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/PhysicsAnalysis/ElectronPhotonID/PhotonVertexSelection/CMakeLists.txt b/PhysicsAnalysis/ElectronPhotonID/PhotonVertexSelection/CMakeLists.txt index 03a6d01115c..9cd1a70bd5a 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 035ff8a01ef..e613f35f296 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 ) -- GitLab