From: Paul Floyd Date: Mon, 23 Dec 2024 08:22:45 +0000 (+0100) Subject: regtest: callgrind bug497723 again, order of output can vary X-Git-Tag: VALGRIND_3_25_0~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81828eae0eeb2499eabdecae1a0e3ffdedc79d81;p=thirdparty%2Fvalgrind.git 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 --git a/callgrind/tests/bug497723.post.exp b/callgrind/tests/bug497723.post.exp index 095e3b850..ab93de598 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 92be389b0..f7f837143 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