From 55a3d74a41f8c58bc29430a98f1c892c5ab72020 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 15 Nov 2022 20:20:34 -0800 Subject: [PATCH] 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 --- ci/test_coverage.py | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.40.0