Skip to content

Commit a6a8a31

Browse files
committed
testsuite: generalize hwloc valgrind suppression
Problem: t5000-valgrind.t fails on Debian 11 aarch64 bcause the valgrind fails with the following suppression signature: { <insert_a_suppression_name_here> Memcheck:Leak match-leak-kinds: definite fun:malloc fun:realloc obj:/usr/lib/aarch64-linux-gnu/libhwloc.so.15.4.1 obj:/usr/lib/aarch64-linux-gnu/libhwloc.so.15.4.1 fun:hwloc_topology_load fun:init_topo_from_xml fun:rhwloc_xml_topology_load fun:rlist_from_hwloc fun:topo_create fun:mod_main fun:module_thread fun:start_thread fun:thread_start } This fails because an existing suppression is too specific. Generalize the existing expression to match this case as well.
1 parent cdf1fbe commit a6a8a31

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/valgrind/valgrind.supp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@
8282
Memcheck:Leak
8383
match-leak-kinds: definite
8484
fun:malloc
85-
obj:/usr/lib64/libhwloc.so.15.4.0
86-
obj:/usr/lib64/libhwloc.so.15.4.0
87-
obj:/usr/lib64/libhwloc.so.15.4.0
85+
...
86+
obj:*libhwloc.so.15.4.*
87+
obj:*libhwloc.so.15.4.*
8888
fun:hwloc_topology_load
8989
...
9090
}

0 commit comments

Comments
 (0)