summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2001-08-29 18:11:19 +0000
committerJeff Law <law@redhat.com>2001-08-29 18:11:19 +0000
commit3ad62fc4e77d6920724dd4b5f5061f4195e82629 (patch)
treec3d181bf9427127444bfdc1b8e6ff5f446fcb1f8 /gas
parentccad732da8af9a66284aec27006830207f95ee98 (diff)
downloadbinutils-3ad62fc4e77d6920724dd4b5f5061f4195e82629.tar.gz
binutils-3ad62fc4e77d6920724dd4b5f5061f4195e82629.tar.bz2
binutils-3ad62fc4e77d6920724dd4b5f5061f4195e82629.zip
* 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')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/lib/gas-defs.exp1
2 files changed, 6 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 21e65a309d9..4fd13d3d898 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 7f98c854e5a..e695abf7cb6 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
}
}