From: Matthew Fernandez Date: Wed, 16 Nov 2022 04:20:34 +0000 (-0800) Subject: CI: add Qt generated sources to files excluded from coverage analysis X-Git-Tag: 7.0.2~2^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55a3d74a41f8c58bc29430a98f1c892c5ab72020;p=graphviz CI: add Qt generated sources to files excluded from coverage analysis These will be generated by an upcoming commit adding GVEdit to the CMake build system. The cryptic EWIEGA46WW directory in this path is a checksum generated by `AUTOMOC`. But it is based on relative path and appears to be stable as long as we do not rename any cmd/gvedit subdirectories. Gitlab: #1836 --- diff --git a/ci/test_coverage.py b/ci/test_coverage.py index cc3d0e984..f18caf48c 100755 --- a/ci/test_coverage.py +++ b/ci/test_coverage.py @@ -43,6 +43,11 @@ def main(args: List[str]) -> int: # pylint: disable=C0116 cwd / "build/lib/cgraph/scan.c", cwd / "build/lib/common/htmlparse.c", cwd / "build/lib/expr/y.tab.c", + cwd / "build/cmd/gvedit/gvedit_autogen/EWIEGA46WW/moc_csettings.cpp", + cwd / "build/cmd/gvedit/gvedit_autogen/EWIEGA46WW/moc_imageviewer.cpp", + cwd / "build/cmd/gvedit/gvedit_autogen/EWIEGA46WW/moc_mainwindow.cpp", + cwd / "build/cmd/gvedit/gvedit_autogen/EWIEGA46WW/moc_mdichild.cpp", + cwd / "build/cmd/gvedit/gvedit_autogen/EWIEGA46WW/qrc_mdi.cpp", ] excluded_files = generated_files