------- Comment #2 from manu at gcc dot gnu dot org 2010-04-17 12:56 ------- The reason is the regexp that dejagnu uses to match the output /usr/share/dejagnu/dg.exp
# Remove all error messages for the line [lindex $i 0] # in the source file. If we find any, success! set line [lindex $i 0] set pattern [lindex $i 2] set comment [lindex $i 3] #send_user "Before:\n$comp_output\n" if {[regsub -all "(^|\n)(\[^\n\]+$line\[^\n\]*($pattern)\[^\n\]*\n?)+" $comp_output "\n" comp_output]} { set comp_output [string trimleft $comp_output] set ok pass set uhoh fail } else { set ok fail set uhoh pass } It would be nice if this were configurable or if we could override it. -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-04-17 12:56:11 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30612