From 08b258e617bc080922dc0732ed2ba0a275095981 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Mon, 10 Mar 2025 08:52:25 +0100 Subject: [PATCH] Update valgrind suppressions Update valgrind suppressions and run cron-jobs on develop branch. --- .github/workflows/test_valgrind.yml | 1 + python/tests/valgrind-python.supp | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/test_valgrind.yml b/.github/workflows/test_valgrind.yml index ef5ef9ba95..afe3e03ddb 100644 --- a/.github/workflows/test_valgrind.yml +++ b/.github/workflows/test_valgrind.yml @@ -30,6 +30,7 @@ jobs: python-version: ${{ matrix.python-version }} - uses: actions/checkout@v4 + ref: ${{ github.event_name == 'schedule' && 'develop' || github.ref }} - run: git fetch --prune --unshallow - name: Install apt dependencies diff --git a/python/tests/valgrind-python.supp b/python/tests/valgrind-python.supp index 6b66869a3f..a9d37f076a 100644 --- a/python/tests/valgrind-python.supp +++ b/python/tests/valgrind-python.supp @@ -1036,3 +1036,17 @@ fun:_PyObject_MakeTpCall fun:_PyEval_EvalFrameDefault } + +{ + ? + Memcheck:Leak + match-leak-kinds: definite + fun:*alloc + ... + fun:setup_readline + fun:PyInit_readline + fun:_PyImport_LoadDynamicModuleWithSpec + fun:_imp_create_dynamic_impl + fun:_imp_create_dynamic + ... +}