Merge branch 'wip/pwithnall/try-fixing-valgrind-ci' into 'main'

ci: Try reducing FD soft limit to fix valgrind tests

See merge request GNOME/glib!2710
This commit is contained in:
Simon McVittie 2022-06-01 17:23:51 +00:00
commit 731662a5ab

View File

@ -221,6 +221,9 @@ valgrind:
-Dinstalled_tests=true
_build
- ninja -C _build
# Valgrind doesnt work when the soft FD limit is set too high
# See https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2710
- ulimit -Sn 1024
- bash -x ./.gitlab-ci/run-tests.sh
--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