]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
bogus FAILs from mmix ld testsuite
authorAlan Modra <amodra@gmail.com>
Mon, 24 Nov 2025 01:01:18 +0000 (11:31 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 24 Nov 2025 21:20:17 +0000 (07:50 +1030)
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.

ld/testsuite/ld-mmix/bpo-15.d
ld/testsuite/ld-mmix/bpo-15m.d
ld/testsuite/ld-mmix/bpo-21.d
ld/testsuite/ld-mmix/bpo-21m.d

index 6845a878e74f73fcf7b6a7898e5aa173df4cfd56..325933e12459af40b55fcbf7ea5766950e2662a3 100644 (file)
@@ -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.
index eacedf57f61fa276f269854fa5a28c5e96c6c7ac..3ab2b9d02c6cd8c4f8f0ef11fbfb6aa0f2b559da 100644 (file)
@@ -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.
index f208cb6a5271988efc5e9b4baee8b7ca9093831d..9681ae1864dee58fa4c0a3a18148c8b1428c4b5d 100644 (file)
@@ -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.
index b437dd38a61381ce24a126128843ba16e2b51b1f..a6c996bec3dfc5a45d8db1e314c01c084fee1beb 100644 (file)
@@ -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.