diff options
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rw-r--r-- | meson.build | 7 | ||||
-rw-r--r-- | tools/glib.supp (renamed from glib.supp) | 0 | ||||
-rw-r--r-- | tools/meson.build | 7 |
4 files changed, 8 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8488d2b8e..0f068441d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -226,7 +226,7 @@ valgrind: - ninja -C _build - bash -x ./.gitlab-ci/run-tests.sh --log-file _build/meson-logs/testlog-valgrind.json - --wrap "valgrind --tool=memcheck --error-exitcode=1 --track-origins=yes --leak-check=full --leak-resolution=high --num-callers=50 --show-leak-kinds=definite,possible --show-error-list=yes --suppressions=${CI_PROJECT_DIR}/glib.supp" + --wrap "valgrind --tool=memcheck --error-exitcode=1 --track-origins=yes --leak-check=full --leak-resolution=high --num-callers=50 --show-leak-kinds=definite,possible --show-error-list=yes --suppressions=${CI_PROJECT_DIR}/tools/glib.supp" --no-suite no-valgrind --no-suite slow # FIXME: Remove this when we have zero valgrind leaks. diff --git a/meson.build b/meson.build index 3a5276e9f..6e796b39b 100644 --- a/meson.build +++ b/meson.build @@ -2388,13 +2388,6 @@ endif install_data('m4macros/glib-2.0.m4', 'm4macros/glib-gettext.m4', 'm4macros/gsettings.m4', install_dir : join_paths(get_option('datadir'), 'aclocal')) -if host_system != 'windows' - # Install Valgrind suppression file (except on Windows, - # as Valgrind is currently not supported on Windows) - install_data('glib.supp', - install_dir : join_paths(get_option('datadir'), 'glib-2.0', 'valgrind')) -endif - configure_file(output : 'config.h', configuration : glib_conf) if host_system == 'windows' diff --git a/glib.supp b/tools/glib.supp index 79faa9fd9..79faa9fd9 100644 --- a/glib.supp +++ b/tools/glib.supp diff --git a/tools/meson.build b/tools/meson.build index f77ccc860..d550a0e37 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -12,3 +12,10 @@ if have_sh output : 'glib-gettextize', configuration : gettextize_conf) endif + +if host_system != 'windows' + # Install Valgrind suppression file (except on Windows, + # as Valgrind is currently not supported on Windows) + install_data('glib.supp', + install_dir : join_paths(get_option('datadir'), 'glib-2.0', 'valgrind')) +endif |