diff --git a/Hlt/Hlt2Conf/CMakeLists.txt b/Hlt/Hlt2Conf/CMakeLists.txt index adf8f91353cdbc8fcdf1b314d10fe3a97f2122e8..527f12bea548a0f9a0e7bdedf38c9a2ca843557c 100644 --- a/Hlt/Hlt2Conf/CMakeLists.txt +++ b/Hlt/Hlt2Conf/CMakeLists.txt @@ -1,5 +1,5 @@ ############################################################################### -# (c) Copyright 2000-2021 CERN for the benefit of the LHCb Collaboration # +# (c) Copyright 2000-2025 CERN for the benefit of the LHCb Collaboration # # # # This software is distributed under the terms of the GNU General Public # # Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". # @@ -16,6 +16,11 @@ Hlt/Hlt2Conf gaudi_install(PYTHON) gaudi_add_tests(pytest ${CMAKE_CURRENT_SOURCE_DIR}/python) +foreach(tgt IN ITEMS Gaudi_MergeConfdb LHCb_MergeConfdb Lbcom_MergeConfdb Rec_MergeConfdb Allen_MergeConfdb GaudiKernelDict GaudiPythonDict DAQEventDict) + if(TARGET ${tgt}_MergeConfdb) + add_dependencies(pytest-prefetch-Hlt2Conf-Hlt2Conf.pytest.python ${tgt}) + endif() +endforeach() gaudi_add_tests(QMTest) if(BINARY_TAG MATCHES "san$") diff --git a/Hlt/Moore/CMakeLists.txt b/Hlt/Moore/CMakeLists.txt index 180bf6d95cfa3f13764bbb1cfa79488580e344e3..c1b2cf8af1353b5448d9b72d77aad9db2878e4da 100644 --- a/Hlt/Moore/CMakeLists.txt +++ b/Hlt/Moore/CMakeLists.txt @@ -1,5 +1,5 @@ ############################################################################### -# (c) Copyright 2000-2021 CERN for the benefit of the LHCb Collaboration # +# (c) Copyright 2000-2025 CERN for the benefit of the LHCb Collaboration # # # # This software is distributed under the terms of the GNU General Public # # Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". # @@ -16,6 +16,11 @@ Hlt/Moore gaudi_install(PYTHON) gaudi_add_tests(pytest ${CMAKE_CURRENT_SOURCE_DIR}/python) +foreach(project IN ITEMS Gaudi LHCb Lbcom Rec Allen) + if(TARGET ${project}_MergeConfdb) + add_dependencies(pytest-prefetch-Moore-Moore.pytest.python ${project}_MergeConfdb) + endif() +endforeach() gaudi_add_tests(QMTest) if(NOT USE_DD4HEP)