This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Fix mmix assembler test to account for changes in the error messages produced by the assembler.
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 6 Dec 2016 14:14:32 -0000
- Subject: [binutils-gdb] Fix mmix assembler test to account for changes in the error messages produced by the assembler.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5e359a63b7a39e0ff0f750ca8fc97d27b14c0ef7
commit 5e359a63b7a39e0ff0f750ca8fc97d27b14c0ef7
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Dec 6 14:13:57 2016 +0000
Fix mmix assembler test to account for changes in the error messages produced by the assembler.
PR gas/20896
* testsuite/gas/mmix/err-byte1.s: Adjust expected warning messages
to account for patch to next_char_of_string.
Diff:
---
gas/ChangeLog | 6 ++++++
gas/testsuite/gas/mmix/err-byte1.s | 5 +++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 7a15455..bb6beb8 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2016-12-06 Nick Clifton <nickc@redhat.com>
+
+ PR gas/20896
+ * testsuite/gas/mmix/err-byte1.s: Adjust expected warning messages
+ to account for patch to next_char_of_string.
+
2016-12-05 Nick Clifton <nickc@redhat.com>
PR gas/20902
diff --git a/gas/testsuite/gas/mmix/err-byte1.s b/gas/testsuite/gas/mmix/err-byte1.s
index eefded3..e63be95 100644
--- a/gas/testsuite/gas/mmix/err-byte1.s
+++ b/gas/testsuite/gas/mmix/err-byte1.s
@@ -1,6 +1,7 @@
% { dg-do assemble { target mmix-*-* } }
-% { dg-error "unterminated string|missing closing" "" { target mmix-*-* } 10 }
-% { dg-bogus "end of file" "" { xfail mmix-*-* } 0 }
+% { dg-error "unterminated string|missing closing" "" { target mmix-*-* } 11 }
+% { dg-error "unterminated string|missing closing" "" { target mmix-*-* } 13 }
+% { dg-warning "end of file" "" { target mmix-*-* } 0 }
# Note that the error is detected in the preformatter, before the text
# gets to the assembler. It also gets confused about the unterminated