From 5e359a63b7a39e0ff0f750ca8fc97d27b14c0ef7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 6 Dec 2016 14:13:57 +0000 Subject: [PATCH] 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. --- 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 7a154558700..bb6beb8e3c3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2016-12-06 Nick Clifton + + 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 PR gas/20902 diff --git a/gas/testsuite/gas/mmix/err-byte1.s b/gas/testsuite/gas/mmix/err-byte1.s index eefded3e431..e63be959d62 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 -- 2.30.2