Skip to content
Snippets Groups Projects

Draft: Switch to using gaudi_add_pytest

Closed Eduardo Rodrigues requested to merge erodrigu-use-gaudi_add_pytest into master
Files
3
###############################################################################
# (c) Copyright 2000-2021 CERN for the benefit of the LHCb Collaboration #
# (c) Copyright 2000-2024 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". #
@@ -18,4 +18,7 @@ gaudi_install(PYTHON)
lhcb_env(SET DAVINCIOPTS ${CMAKE_CURRENT_SOURCE_DIR}/options)
gaudi_add_tests(QMTest)
gaudi_add_tests(pytest ${CMAKE_CURRENT_SOURCE_DIR}/tests)
gaudi_add_pytest(tests
OPTIONS -v --doctest-modules --cov=${CMAKE_CURRENT_SOURCE_DIR} --cov-report=term-missing
)
Loading