[RFC] gprofng: Relax the testing conditions for gprofng-gmon
Jose E. Marchesi
jemarch@gnu.org
Wed Jan 28 19:06:30 GMT 2026
OK, thanks.
Nick: ok for release branch?
> Hi Jose,
>
> Not always the gprofng gmon can retrive the symbols, relax the test.
>
> Cheers,
> Claudiu
>
> Signed-off-by: Claudiu Zissulescu <claziss@gmail.com>
> ---
> gprofng/testsuite/gprofng.display/gp-gmon.exp | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gprofng/testsuite/gprofng.display/gp-gmon.exp b/gprofng/testsuite/gprofng.display/gp-gmon.exp
> index c7d261883d5..ccd32161fb8 100644
> --- a/gprofng/testsuite/gprofng.display/gp-gmon.exp
> +++ b/gprofng/testsuite/gprofng.display/gp-gmon.exp
> @@ -39,8 +39,8 @@ proc check_gp_gmon { a_opt } {
> set output [run_native_host_cmd "$gprofng display text -calltree $tdir/$a_opt.er"]
> set out [lindex $output 1]
> if {[string match "*\+-<Total>*" $output] &&
> - [string match "*\+-main*" $output] &&
> - [string match "*\+-gethrtime*" $output]} {
> + [string match "*\+-*" $output] &&
> + [string match "*\+-*" $output]} {
> send_log "Output match!\n"
> } else {
> set out [lindex $output 1]
More information about the Binutils
mailing list