[binutils-gdb] Re: DIGEST: testsuite

Alan Modra amodra@sourceware.org
Wed Mar 8 03:17:53 GMT 2023


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

commit c8e85484d8a0fe9f7b88e00a6b9ae63bcb53ba32
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Mar 8 13:22:00 2023 +1030

    Re: DIGEST: testsuite
    
    Correct test target/skip lines to fix fails on alpha-dec-vms,
    alpha-linux-gnuecoff, i386-bsd, i386-msdos, ns32k-openbsd,
    ns32k-pc532-mach, pdp11-dec-aout, rs6000-aix*, tic4x-coff, and
    tic54x-coff.

Diff:
---
 ld/testsuite/ld-scripts/crc64-bad-endian-contents.d | 5 ++---
 ld/testsuite/ld-scripts/crc64-bad-endian-size.d     | 5 ++---
 ld/testsuite/ld-scripts/crc64-bad-label-2.d         | 5 ++---
 ld/testsuite/ld-scripts/crc64-bad-label.d           | 5 ++---
 ld/testsuite/ld-scripts/crc64-ecma.d                | 5 +----
 ld/testsuite/ld-scripts/crc64-in-section.d          | 5 ++---
 ld/testsuite/ld-scripts/crc64-iso.d                 | 5 +----
 ld/testsuite/ld-scripts/crc64-iso_be.d              | 5 +----
 ld/testsuite/ld-scripts/crc64-multiple-digest.d     | 5 ++---
 ld/testsuite/ld-scripts/crc64-poly-size.d           | 5 ++---
 ld/testsuite/ld-scripts/crc64-poly.d                | 5 +----
 ld/testsuite/ld-scripts/crc64-reverse-area.d        | 5 ++---
 ld/testsuite/ld-scripts/crc64-same-section.d        | 5 ++---
 ld/testsuite/ld-scripts/crc64-section.d             | 5 +----
 ld/testsuite/ld-scripts/crc64-unknown-digest.d      | 5 ++---
 15 files changed, 25 insertions(+), 50 deletions(-)

diff --git a/ld/testsuite/ld-scripts/crc64-bad-endian-contents.d b/ld/testsuite/ld-scripts/crc64-bad-endian-contents.d
index 09df3cb2bbf..148297dbcd5 100644
--- a/ld/testsuite/ld-scripts/crc64-bad-endian-contents.d
+++ b/ld/testsuite/ld-scripts/crc64-bad-endian-contents.d
@@ -1,6 +1,5 @@
 #source: crc64-bad-endian-size.s
 #ld: -T crc64-bad-endian-size.t
 # error: .*: bad 'endian' .* in digest label.*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-bad-endian-size.d b/ld/testsuite/ld-scripts/crc64-bad-endian-size.d
index 09df3cb2bbf..148297dbcd5 100644
--- a/ld/testsuite/ld-scripts/crc64-bad-endian-size.d
+++ b/ld/testsuite/ld-scripts/crc64-bad-endian-size.d
@@ -1,6 +1,5 @@
 #source: crc64-bad-endian-size.s
 #ld: -T crc64-bad-endian-size.t
 # error: .*: bad 'endian' .* in digest label.*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-bad-label-2.d b/ld/testsuite/ld-scripts/crc64-bad-label-2.d
index 8e9d1604470..07584618235 100644
--- a/ld/testsuite/ld-scripts/crc64-bad-label-2.d
+++ b/ld/testsuite/ld-scripts/crc64-bad-label-2.d
@@ -1,6 +1,5 @@
 #source: crc64-bad-label-2.s
 #ld: -T crc64-bad-label-2.t
 # error: .*: Illegal label .* in digest command.*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-bad-label.d b/ld/testsuite/ld-scripts/crc64-bad-label.d
index 9215a10fc8f..37c2bb2bae9 100644
--- a/ld/testsuite/ld-scripts/crc64-bad-label.d
+++ b/ld/testsuite/ld-scripts/crc64-bad-label.d
@@ -1,6 +1,5 @@
 #source: crc64-bad-label.s
 #ld: -T crc64-bad-label.t
 # error: .*: Illegal label .* in digest command.*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-ecma.d b/ld/testsuite/ld-scripts/crc64-ecma.d
index 06b0476e627..1c92ff78476 100644
--- a/ld/testsuite/ld-scripts/crc64-ecma.d
+++ b/ld/testsuite/ld-scripts/crc64-ecma.d
@@ -2,10 +2,7 @@
 #ld: -T crc64-ecma.t
 #objdump: -s -j .text
 #target: [is_elf_format] [is_coff_format]
-#notarget: [is_aout_format]
-#xfail: tic4x-*-* tic54x-*-*
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#skip: tic4x-*-* tic54x-*-*
 
 .*:     file format .*
 
diff --git a/ld/testsuite/ld-scripts/crc64-in-section.d b/ld/testsuite/ld-scripts/crc64-in-section.d
index 6f9d678b7fc..ede5d524cee 100644
--- a/ld/testsuite/ld-scripts/crc64-in-section.d
+++ b/ld/testsuite/ld-scripts/crc64-in-section.d
@@ -1,6 +1,5 @@
 #source: crc64-in-section.s
 #ld: -T crc64-in-section.t
 #error: .*: CRC located inside checked area
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-iso.d b/ld/testsuite/ld-scripts/crc64-iso.d
index 11f85c18adf..af416d02082 100644
--- a/ld/testsuite/ld-scripts/crc64-iso.d
+++ b/ld/testsuite/ld-scripts/crc64-iso.d
@@ -2,10 +2,7 @@
 #ld: -T crc64-iso.t
 #objdump: -s -j .text
 #target: [is_elf_format] [is_coff_format]
-#notarget: [is_aout_format]
-#xfail: tic4x-*-* tic54x-*-*
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#skip: tic4x-*-* tic54x-*-*
 
 .*:     file format .*
 
diff --git a/ld/testsuite/ld-scripts/crc64-iso_be.d b/ld/testsuite/ld-scripts/crc64-iso_be.d
index e256b414c5d..0707aae4b9f 100644
--- a/ld/testsuite/ld-scripts/crc64-iso_be.d
+++ b/ld/testsuite/ld-scripts/crc64-iso_be.d
@@ -2,10 +2,7 @@
 #ld: -T crc64-iso_be.t
 #objdump: -s -j .text
 #target: [is_elf_format] [is_coff_format]
-#notarget: [is_aout_format]
-#xfail: tic4x-*-* tic54x-*-*
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#skip: tic4x-*-* tic54x-*-*
 
 .*:     file format .*
 
diff --git a/ld/testsuite/ld-scripts/crc64-multiple-digest.d b/ld/testsuite/ld-scripts/crc64-multiple-digest.d
index 5a1e5ccf3ca..c0279147a1e 100644
--- a/ld/testsuite/ld-scripts/crc64-multiple-digest.d
+++ b/ld/testsuite/ld-scripts/crc64-multiple-digest.d
@@ -1,6 +1,5 @@
 #source: crc64-multiple-digest.s
 #ld: -T crc64-multiple-digest.t
 # error: .*: Duplicate digest .*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-poly-size.d b/ld/testsuite/ld-scripts/crc64-poly-size.d
index 841dd830ff0..6a3651cbff5 100644
--- a/ld/testsuite/ld-scripts/crc64-poly-size.d
+++ b/ld/testsuite/ld-scripts/crc64-poly-size.d
@@ -1,6 +1,5 @@
 #source: crc64-poly-size.s
 #ld: -T crc64-poly-size.t
 # error: .*: Illegal Size in DIGEST: .*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-poly.d b/ld/testsuite/ld-scripts/crc64-poly.d
index 6be05b6aed8..b54ac47e448 100644
--- a/ld/testsuite/ld-scripts/crc64-poly.d
+++ b/ld/testsuite/ld-scripts/crc64-poly.d
@@ -2,10 +2,7 @@
 #ld: -T crc64-poly.t
 #objdump: -s -j .text
 #target: [is_elf_format] [is_coff_format]
-#notarget: [is_aout_format]
-#xfail: tic4x-*-* tic54x-*-*
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#skip: tic4x-*-* tic54x-*-*
 
 .*:     file format .*
 
diff --git a/ld/testsuite/ld-scripts/crc64-reverse-area.d b/ld/testsuite/ld-scripts/crc64-reverse-area.d
index 344e8d28ed9..4f2a3d12c07 100644
--- a/ld/testsuite/ld-scripts/crc64-reverse-area.d
+++ b/ld/testsuite/ld-scripts/crc64-reverse-area.d
@@ -1,6 +1,5 @@
 #source: crc64-reverse-area.s
 #ld: -T crc64-reverse-area.t
 # error: .*: CRC area starts after its end location.*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-same-section.d b/ld/testsuite/ld-scripts/crc64-same-section.d
index 787145a6432..779f24affed 100644
--- a/ld/testsuite/ld-scripts/crc64-same-section.d
+++ b/ld/testsuite/ld-scripts/crc64-same-section.d
@@ -1,6 +1,5 @@
 #source: crc64-same-section.s
 #ld: -T crc64-same-section.t
 #error: .*: The CRC digest and table should be inside the .*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-section.d b/ld/testsuite/ld-scripts/crc64-section.d
index 16e625b71c9..fe1f83c82a2 100644
--- a/ld/testsuite/ld-scripts/crc64-section.d
+++ b/ld/testsuite/ld-scripts/crc64-section.d
@@ -2,10 +2,7 @@
 #ld: -T crc64-section.t
 #objdump: -s -j .foo
 #target: [is_elf_format] [is_coff_format]
-#notarget: [is_aout_format]
-#xfail: tic4x-*-* tic54x-*-*
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#skip: tic4x-*-* tic54x-*-*
 
 .*:     file format .*
 
diff --git a/ld/testsuite/ld-scripts/crc64-unknown-digest.d b/ld/testsuite/ld-scripts/crc64-unknown-digest.d
index 051b06c8879..2e41758a03c 100644
--- a/ld/testsuite/ld-scripts/crc64-unknown-digest.d
+++ b/ld/testsuite/ld-scripts/crc64-unknown-digest.d
@@ -1,6 +1,5 @@
 #source: crc64-unknown-digest.s
 #ld: -T crc64-unknown-digest.t
 # error: .*: Unknown digest.*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*


More information about the Binutils-cvs mailing list