From: Nick Clifton Date: Tue, 6 Dec 2016 14:13:57 +0000 (+0000) Subject: Fix mmix assembler test to account for changes in the error messages produced by... X-Git-Tag: users/ARM/embedded-binutils-2_28-branch-2017q1~280 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5e359a63b7a39e0ff0f750ca8fc97d27b14c0ef7;p=external%2Fbinutils.git 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 --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 + + 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 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