mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-06 01:16:17 +01:00
ci: Disable scan-build’s dead code checker
It’s not highlighting severe bugs for us, and currently generates 132 out of 172 of the scan-build reports, so let’s disable it for now. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #1767
This commit is contained in:
parent
2dfd9518e1
commit
165ae8c8a7
@ -728,6 +728,8 @@ scan-build:
|
||||
variables:
|
||||
# FIXME: Eventually we want static analysis on the tests, for code quality,
|
||||
# but for the moment it’s just busywork.
|
||||
# FIXME: Disable the dead code checkers for now because they create a lot of
|
||||
# noise and don’t indicate high severity problems.
|
||||
SCAN_BUILD_FLAGS: >-
|
||||
--exclude gio/tests/
|
||||
--exclude girepository/tests/
|
||||
@ -735,6 +737,7 @@ scan-build:
|
||||
--exclude gmodule/tests/
|
||||
--exclude gobject/tests/
|
||||
--exclude gthread/tests/
|
||||
-disable-checker deadcode.DeadStores
|
||||
script:
|
||||
- meson setup ${MESON_COMMON_OPTIONS}
|
||||
--werror
|
||||
|
Loading…
Reference in New Issue
Block a user