mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 01:36:17 +01:00
Merge branch 'ignore-dirs-leaks+valgrind-ci' into 'main'
glib.supp: Ignore gutils leaks for user and system dirs Closes #333 See merge request GNOME/glib!2897
This commit is contained in:
commit
b321ba1d1f
@ -228,9 +228,6 @@ valgrind:
|
||||
- bash -x ./.gitlab-ci/run-tests.sh
|
||||
--setup valgrind
|
||||
--no-suite slow
|
||||
# FIXME: Remove this when we have zero valgrind leaks.
|
||||
# https://gitlab.gnome.org/GNOME/glib/issues/333
|
||||
allow_failure: true
|
||||
artifacts:
|
||||
reports:
|
||||
junit: "_build/meson-logs/testlog-valgrind.junit.xml"
|
||||
|
120
tools/glib.supp
120
tools/glib.supp
@ -904,6 +904,126 @@
|
||||
fun:desktop_file_dir_unindexed_setup_search
|
||||
}
|
||||
|
||||
#gutils.c caches system and user dirs and may need to replace them during tests.
|
||||
{
|
||||
g_build_user_data_dir
|
||||
Memcheck:Leak
|
||||
match-leak-kinds:definite
|
||||
fun:malloc
|
||||
...
|
||||
fun:g_build_user_data_dir
|
||||
}
|
||||
|
||||
#gutils.c caches system and user dirs and may need to replace them during tests.
|
||||
{
|
||||
g_build_filename
|
||||
Memcheck:Leak
|
||||
match-leak-kinds:definite
|
||||
fun:malloc
|
||||
...
|
||||
fun:g_build_filename
|
||||
}
|
||||
|
||||
#gutils.c caches system and user dirs and may need to replace them during tests.
|
||||
{
|
||||
g_build_home_dir
|
||||
Memcheck:Leak
|
||||
match-leak-kinds:definite
|
||||
fun:malloc
|
||||
...
|
||||
fun:g_build_home_dir
|
||||
}
|
||||
|
||||
#gutils.c caches system and user dirs and may need to replace them during tests.
|
||||
{
|
||||
g_build_path
|
||||
Memcheck:Leak
|
||||
match-leak-kinds:definite
|
||||
fun:malloc
|
||||
...
|
||||
fun:g_build_path
|
||||
}
|
||||
|
||||
#gutils.c caches system and user dirs and may need to replace them during tests.
|
||||
{
|
||||
g_build_system_config_dirs
|
||||
Memcheck:Leak
|
||||
match-leak-kinds:definite
|
||||
fun:realloc
|
||||
...
|
||||
fun:g_build_system_config_dirs
|
||||
}
|
||||
|
||||
#gutils.c caches system and user dirs and may need to replace them during tests.
|
||||
{
|
||||
g_build_system_data_dir
|
||||
Memcheck:Leak
|
||||
match-leak-kinds:definite
|
||||
fun:malloc
|
||||
...
|
||||
fun:g_build_system_data_dir
|
||||
}
|
||||
|
||||
#gutils.c caches system and user dirs and may need to replace them during tests.
|
||||
{
|
||||
g_build_system_data_dirs
|
||||
Memcheck:Leak
|
||||
match-leak-kinds:definite
|
||||
fun:realloc
|
||||
...
|
||||
fun:g_build_system_data_dirs
|
||||
}
|
||||
|
||||
#gutils.c caches system and user dirs and may need to replace them during tests.
|
||||
{
|
||||
g_build_user_cache_dir
|
||||
Memcheck:Leak
|
||||
match-leak-kinds:definite
|
||||
fun:malloc
|
||||
...
|
||||
fun:g_build_user_cache_dir
|
||||
}
|
||||
|
||||
#gutils.c caches system and user dirs and may need to replace them during tests.
|
||||
{
|
||||
g_build_user_config_dir
|
||||
Memcheck:Leak
|
||||
match-leak-kinds:definite
|
||||
fun:malloc
|
||||
...
|
||||
fun:g_build_user_config_dir
|
||||
}
|
||||
|
||||
#gutils.c caches system and user dirs and may need to replace them during tests.
|
||||
{
|
||||
g_build_user_data_dir
|
||||
Memcheck:Leak
|
||||
match-leak-kinds:definite
|
||||
fun:malloc
|
||||
...
|
||||
fun:g_build_user_data_dir
|
||||
}
|
||||
|
||||
#gutils.c caches system and user dirs and may need to replace them during tests.
|
||||
{
|
||||
g_build_user_runtime_dir
|
||||
Memcheck:Leak
|
||||
match-leak-kinds:definite
|
||||
fun:malloc
|
||||
...
|
||||
fun:g_build_user_runtime_dir
|
||||
}
|
||||
|
||||
#gutils.c caches system and user dirs and may need to replace them during tests.
|
||||
{
|
||||
g_build_user_state_dir
|
||||
Memcheck:Leak
|
||||
match-leak-kinds:definite
|
||||
fun:malloc
|
||||
...
|
||||
fun:g_build_user_state_dir
|
||||
}
|
||||
|
||||
# g_io_extension_point_register() caches a one-time allocation global table of @extension_points.
|
||||
{
|
||||
g_io_extension_point_register
|
||||
|
Loading…
Reference in New Issue
Block a user