[binutils-gdb] bogus FAILs from mmix ld testsuite
Alan Modra
amodra@sourceware.org
Mon Nov 24 21:33:41 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e2682b4e1dad8751b7292828a55d65d0d9c666a1
commit e2682b4e1dad8751b7292828a55d65d0d9c666a1
Author: Alan Modra <amodra@gmail.com>
Date: Mon Nov 24 11:31:18 2025 +1030
bogus FAILs from mmix ld testsuite
Get rid of [^c][^h][^i][^l][^d] from error regex. It won't match
/home/... and other legitimate paths printed for the program name of
the ld under test.
* testsuite/ld-mmix/bpo-15.d: Fix error regex.
* testsuite/ld-mmix/bpo-15m.d: Likewise.
* testsuite/ld-mmix/bpo-21.d: Likewise.
* testsuite/ld-mmix/bpo-21m.d: Likewise.
Diff:
---
ld/testsuite/ld-mmix/bpo-15.d | 2 +-
ld/testsuite/ld-mmix/bpo-15m.d | 2 +-
ld/testsuite/ld-mmix/bpo-21.d | 2 +-
ld/testsuite/ld-mmix/bpo-21m.d | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ld/testsuite/ld-mmix/bpo-15.d b/ld/testsuite/ld-mmix/bpo-15.d
index 6845a878e74..325933e1245 100644
--- a/ld/testsuite/ld-mmix/bpo-15.d
+++ b/ld/testsuite/ld-mmix/bpo-15.d
@@ -2,6 +2,6 @@
#source: bpo-7.s
#as: -linker-allocated-gregs
#ld: -m elf64mmix
-#error: ^[^c][^h][^i][^l][^d].* undefined reference to `areg'$
+#error: ^.* undefined reference to `areg'$
# A BPO against an undefined symbol.
diff --git a/ld/testsuite/ld-mmix/bpo-15m.d b/ld/testsuite/ld-mmix/bpo-15m.d
index eacedf57f61..3ab2b9d02c6 100644
--- a/ld/testsuite/ld-mmix/bpo-15m.d
+++ b/ld/testsuite/ld-mmix/bpo-15m.d
@@ -2,6 +2,6 @@
#source: bpo-7.s
#as: -linker-allocated-gregs
#ld: -m mmo
-#error: ^[^c][^h][^i][^l][^d].* undefined reference to `areg'$
+#error: ^.* undefined reference to `areg'$
# A BPO against an undefined symbol.
diff --git a/ld/testsuite/ld-mmix/bpo-21.d b/ld/testsuite/ld-mmix/bpo-21.d
index f208cb6a527..9681ae1864d 100644
--- a/ld/testsuite/ld-mmix/bpo-21.d
+++ b/ld/testsuite/ld-mmix/bpo-21.d
@@ -3,7 +3,7 @@
#source: bpo-7.s
#as: -linker-allocated-gregs
#ld: -m elf64mmix
-#error: ^[^c][^h][^i][^l][^d].* undefined reference to `areg'$
+#error: ^.* undefined reference to `areg'$
# A BPO reloc against an undefined symbol, with a full set of normal
# BPO:s.
diff --git a/ld/testsuite/ld-mmix/bpo-21m.d b/ld/testsuite/ld-mmix/bpo-21m.d
index b437dd38a61..a6c996bec3d 100644
--- a/ld/testsuite/ld-mmix/bpo-21m.d
+++ b/ld/testsuite/ld-mmix/bpo-21m.d
@@ -3,7 +3,7 @@
#source: bpo-7.s
#as: -linker-allocated-gregs
#ld: -m mmo
-#error: ^[^c][^h][^i][^l][^d].* undefined reference to `areg'$
+#error: ^.*undefined reference to `areg'$
# A BPO reloc against an undefined symbol, with a full set of normal
# BPO:s.
More information about the Binutils-cvs
mailing list