[binutils-gdb] gas/testsuite: Fix multibyte3 test cases on Windows

Jan Beulich jbeulich@sourceware.org
Fri Sep 11 11:48:29 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=63f5af1fe20bb56c4bd798abd62667af8eff9561

commit 63f5af1fe20bb56c4bd798abd62667af8eff9561
Author: Jan Dubiec <jdx@o2.pl>
Date:   Fri Sep 11 13:45:30 2026 +0200

    gas/testsuite: Fix multibyte3 test cases on Windows
    
    For the sake of consistency and correctness, the regular expressions
    in multibyte1.l and multibyte2.l should also be changed. However, these
    test cases work correctly as they are. The difference is that they are
    run using run_dump_test, whereas multibyte3 is run using run_list_test,
    which appears to match the beginning of the line as well.
    
    Signed-off-by: Jan Dubiec <jdx@o2.pl>

Diff:
---
 gas/testsuite/gas/all/multibyte3.l | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/gas/testsuite/gas/all/multibyte3.l b/gas/testsuite/gas/all/multibyte3.l
index 9f6f8d2cf1a..f74e93ae8f3 100644
--- a/gas/testsuite/gas/all/multibyte3.l
+++ b/gas/testsuite/gas/all/multibyte3.l
@@ -1,10 +1,10 @@
-[^:]*: Assembler messages:
-[^:]*: Warning: multibyte character \(.*\) encountered in .*
-[^:]*: Warning: multibyte character \(.*\) encountered in .*
-[^:]*: Warning: multibyte character \(.*\) encountered in .*
-[^:]*: Warning: multibyte character \(.*\) encountered in .*
-[^:]*: Warning: multibyte character \(.*\) encountered in .*
-[^:]*: Warning: multibyte character \(.*\) encountered in .*
-[^:]*: Warning: multibyte character \(.*\) encountered in .*
-[^:]*: Warning: multibyte character \(.*\) encountered in .*
-[^:]*:[0-9]+: Warning: end of input
+.*: Assembler messages:
+.*: Warning: multibyte character \(.*\) encountered in .*
+.*: Warning: multibyte character \(.*\) encountered in .*
+.*: Warning: multibyte character \(.*\) encountered in .*
+.*: Warning: multibyte character \(.*\) encountered in .*
+.*: Warning: multibyte character \(.*\) encountered in .*
+.*: Warning: multibyte character \(.*\) encountered in .*
+.*: Warning: multibyte character \(.*\) encountered in .*
+.*: Warning: multibyte character \(.*\) encountered in .*
+.*:[0-9]+: Warning: end of input


More information about the Binutils-cvs mailing list