aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-12-06 14:13:57 +0000
committerNick Clifton <nickc@redhat.com>2016-12-06 14:13:57 +0000
commit5e359a63b7a39e0ff0f750ca8fc97d27b14c0ef7 (patch)
tree2026ec6a413675d6cba9b44a2ff3221a48592c39 /gas
parent39eeab253474493bc9477dbb2bd9c8041f05764b (diff)
downloadgdb-5e359a63b7a39e0ff0f750ca8fc97d27b14c0ef7.zip
gdb-5e359a63b7a39e0ff0f750ca8fc97d27b14c0ef7.tar.gz
gdb-5e359a63b7a39e0ff0f750ca8fc97d27b14c0ef7.tar.bz2
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/testsuite/gas/mmix/err-byte1.s5
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