]> granicus.if.org Git - graphviz/commitdiff
CI: add Qt generated sources to files excluded from coverage analysis
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 16 Nov 2022 04:20:34 +0000 (20:20 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 17 Nov 2022 05:09:01 +0000 (21:09 -0800)
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

index cc3d0e98479741608d3a191954995048bd16f606..f18caf48c206e139a1074dc6cc2aa81087df2dca 100755 (executable)
@@ -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