* lib/gas-defs.exp: (regexp_diff) At verbosity 3, also show

where mismatch occurs due to regexp mismatch.

Another patch from Joern.
This commit is contained in:
Jeff Law 2001-08-29 18:11:19 +00:00
parent ccad732da8
commit 3ad62fc4e7
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Wed Aug 29 12:05:13 2001 J"orn Rennecke <amylaar@redhat.com>
* lib/gas-defs.exp: (regexp_diff) At verbosity 3, also show
where mismatch occurs due to regexp mismatch.
2001-08-27 Staffan Ulfberg <staffanu@swox.se>
Alan Modra <amodra@bigpond.net.au>

View File

@ -539,6 +539,7 @@ proc regexp_diff { file_1 file_2 } {
if ![regexp "^$line_b$" "$line_a"] {
send_log "regexp_diff match failure\n"
send_log "regexp \"^$line_b$\"\nline \"$line_a\"\n"
verbose "regexp_diff match failure\n" 3
set differences 1
}
}