diff options
author | Jeff Law <law@redhat.com> | 2001-08-29 18:11:19 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2001-08-29 18:11:19 +0000 |
commit | 3ad62fc4e77d6920724dd4b5f5061f4195e82629 (patch) | |
tree | c3d181bf9427127444bfdc1b8e6ff5f446fcb1f8 /gas/testsuite | |
parent | ccad732da8af9a66284aec27006830207f95ee98 (diff) | |
download | gdb-3ad62fc4e77d6920724dd4b5f5061f4195e82629.zip gdb-3ad62fc4e77d6920724dd4b5f5061f4195e82629.tar.gz gdb-3ad62fc4e77d6920724dd4b5f5061f4195e82629.tar.bz2 |
* lib/gas-defs.exp: (regexp_diff) At verbosity 3, also show
where mismatch occurs due to regexp mismatch.
Another patch from Joern.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/lib/gas-defs.exp | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 21e65a3..4fd13d3 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -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> diff --git a/gas/testsuite/lib/gas-defs.exp b/gas/testsuite/lib/gas-defs.exp index 7f98c85..e695abf 100644 --- a/gas/testsuite/lib/gas-defs.exp +++ b/gas/testsuite/lib/gas-defs.exp @@ -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 } } |