]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3731] Fix valgrind
authorAndrei Pavel <andrei@isc.org>
Mon, 17 Mar 2025 08:04:51 +0000 (10:04 +0200)
committerAndrei Pavel <andrei@isc.org>
Mon, 17 Mar 2025 10:16:39 +0000 (12:16 +0200)
meson.build
src/valgrind-suppressions.revisit [deleted file]
src/valgrind.supp [moved from src/valgrind-suppressions with 100% similarity]

index f5faecd8ad52664a1c26e17503c5ea73e9701e0f..ce3909731a09f2dcd9b2bcb6802e7a7afe59398a 100644 (file)
@@ -786,7 +786,7 @@ if valgrind.found()
             '--num-callers=64',
             '--quiet',
             '--show-leak-kinds=all',
-            '--suppressions=src/valgrind.supp',
+            f'--suppressions=@TOP_SOURCE_DIR@/src/valgrind.supp',
             '--xml=yes',
             '--xml-file=valgrind-results-%p.xml',
         ],
@@ -803,7 +803,7 @@ if valgrind.found()
             '--num-callers=64',
             '--quiet',
             '--show-leak-kinds=all',
-            '--suppressions=src/valgrind.supp',
+            f'--suppressions=@TOP_SOURCE_DIR@/src/valgrind.supp',
             '--gen-suppressions=all',
             '--log-file=valgrind.supp',
         ],
diff --git a/src/valgrind-suppressions.revisit b/src/valgrind-suppressions.revisit
deleted file mode 100644 (file)
index 8b4a8c7..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# Place temporary suppressions that we want to revisit in the future
-# into this file. For permanent suppressions that we don't want to look
-# at again, use valgrind-suppressions.
-#
-# Don't add any "obj:" lines in suppressions as these are likely
-# site-specific. Use "..." instead to match these. Look at the other
-# suppressions as examples.
-#
-# In case you want to make sense of the following symbols, demangle them
-# with a command like: c++filt < valgrind-suppressions.revisit
-
-############################################################################
-#### beginning of suppressions for existing issues that we want to fix. ####
-
-
-####### end of suppressions for existing issues that we want to fix. #######
-############################################################################
similarity index 100%
rename from src/valgrind-suppressions
rename to src/valgrind.supp