From 26af796fb14d60be0a57989e7931ad0b0479b19b Mon Sep 17 00:00:00 2001 From: Jan Michalski Date: Fri, 14 Jun 2024 09:51:27 -0400 Subject: [PATCH] test: introduce a test reproducing the #5583 (fix 2) Disable memcheck, helgrind, drd and pmemcheck for the Python-based tests. Signed-off-by: Jan Michalski --- src/test/obj_ulog_advanced/TESTS.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/obj_ulog_advanced/TESTS.py b/src/test/obj_ulog_advanced/TESTS.py index 1f1b57caa3b..418b1921e30 100755 --- a/src/test/obj_ulog_advanced/TESTS.py +++ b/src/test/obj_ulog_advanced/TESTS.py @@ -16,6 +16,12 @@ # The 'debug' build is chosen arbitrarily to ensure these tests are run only # once. No dynamic libraries are used nor .static_* builds are available. @t.require_build('debug') +# (memcheck) When a process forks(3) itself Valgrind can't be stopped from +# following the child process. And since the child process ends with abort(3) +# memory leaks are expected. +# (helgrind, drd) There is no multithreading employed in this test. +# (pmemcheck) It is covered with Bash-based tests. +@t.require_valgrind_disabled('memcheck', 'helgrind', 'drd', 'pmemcheck') class OBJ_ULOG_ADVANCED(t.Test): test_type = t.Short test_case = 'test_init_publish_abort_and_verify'