From: Paul F. <pa...@so...> - 2024-12-23 08:25:06
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=81828eae0eeb2499eabdecae1a0e3ffdedc79d81 commit 81828eae0eeb2499eabdecae1a0e3ffdedc79d81 Author: Paul Floyd <pj...@wa...> Date: Mon Dec 23 09:22:45 2024 +0100 regtest: callgrind bug497723 again, order of output can vary The filter was picking up two mangled names but the order of thw two can vary between systems. So just filter one of them. Diff: --- callgrind/tests/bug497723.post.exp | 1 - callgrind/tests/bug497723.vgtest | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/callgrind/tests/bug497723.post.exp b/callgrind/tests/bug497723.post.exp index 095e3b850b..ab93de5986 100644 --- a/callgrind/tests/bug497723.post.exp +++ b/callgrind/tests/bug497723.post.exp @@ -1,2 +1 @@ ada__text_io__put_line -_ada_main diff --git a/callgrind/tests/bug497723.vgtest b/callgrind/tests/bug497723.vgtest index 92be389b07..f7f8371435 100644 --- a/callgrind/tests/bug497723.vgtest +++ b/callgrind/tests/bug497723.vgtest @@ -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 |