mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 11:56:16 +01:00
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:
commit
731662a5ab
@ -221,6 +221,9 @@ valgrind:
|
|||||||
-Dinstalled_tests=true
|
-Dinstalled_tests=true
|
||||||
_build
|
_build
|
||||||
- ninja -C _build
|
- ninja -C _build
|
||||||
|
# Valgrind doesn’t 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
|
- 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"
|
--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 no-valgrind
|
||||||
|
Loading…
Reference in New Issue
Block a user