[RFC] gprofng: Relax the testing conditions for gprofng-gmon

Indu indu.bhagat@oracle.com
Wed Jan 28 19:39:31 GMT 2026


On 2026-01-28 9:57 a.m., Claudiu Zissulescu wrote:
> 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]} {

Duplicate lines.

>        send_log "Output match!\n"
>     } else {
>       set out [lindex $output 1]



More information about the Binutils mailing list