[RFC] gprofng: Relax the testing conditions for gprofng-gmon
Claudiu Zissulescu
claziss@gmail.com
Wed Jan 28 17:57:25 GMT 2026
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]
--
2.52.0
More information about the Binutils
mailing list