]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
regtest: callgrind bug497723 again, order of output can vary
authorPaul Floyd <pjfloyd@wanadoo.fr>
Mon, 23 Dec 2024 08:22:45 +0000 (09:22 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Mon, 23 Dec 2024 08:22:45 +0000 (09:22 +0100)
The filter was picking up two mangled names but the order
of thw two can vary between systems. So just filter one of them.

callgrind/tests/bug497723.post.exp
callgrind/tests/bug497723.vgtest

index 095e3b850bfaedddd496167c777b9c84dcbf73a5..ab93de598689dd072d64f4d47fbc55b9b884eb85 100644 (file)
@@ -1,2 +1 @@
 ada__text_io__put_line
-_ada_main
index 92be389b0700936fb76014048b7d7fc62677733c..f7f83714359b88c0ed303dff4098bcc852755c2b 100644 (file)
@@ -1,4 +1,4 @@
 prog: ../../memcheck/tests/bug445235_ada_demangle
 vgopts: --callgrind-out-file=callgrind.out
-post: awk '/fn.*ada_/{print $2}' callgrind.out
+post: awk '/fn.*ada__/{print $2}' callgrind.out
 cleanup: rm callgrind.out