mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-01 20:57:59 +02:00
coverity: use a regexp that nukes all the glib enumerator deprecation macros
coverity can't cope with enum declarations like: G_ENUM_FOO GLIB_DEPRECATED_ENUMERATOR_IN_2_26 = N, ... so make sure all these are removed
This commit is contained in:
parent
41d8610a40
commit
b7294e0695
1 changed files with 1 additions and 3 deletions
|
|
@ -147,9 +147,7 @@ build_with_coverity:
|
|||
- cov-configure --config coverity_conf.xml
|
||||
--comptype gcc --compiler cc --template
|
||||
--xml-option=append_arg@C:--ppp_translator
|
||||
--xml-option=append_arg@C:"replace/G_SPAWN_ERROR_2BIG.*=.* G_SPAWN_ERROR_TOO_BIG,/G_SPAWN_ERROR_2BIG = G_SPAWN_ERROR_TOO_BIG,"
|
||||
--xml-option=append_arg@C:--ppp_translator
|
||||
--xml-option=append_arg@C:"replace/G_PARAM_PRIVATE.*=.* G_PARAM_STATIC_NAME,/G_PARAM_PRIVATE = G_PARAM_STATIC_NAME,"
|
||||
--xml-option=append_arg@C:"replace/GLIB_(DEPRECATED|AVAILABLE)_ENUMERATOR_IN_\d_\d\d(_FOR\(\w+\)|)\s+=/ ="
|
||||
- cov-build --dir cov-int --config coverity_conf.xml ninja -C "$WP_BUILD_DIR"
|
||||
- tar caf wireplumber.tar.lzma cov-int
|
||||
- curl https://scan.coverity.com/builds?project=$COVERITY_SCAN_PROJECT_NAME
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue