From: H.J. Lu Date: Fri, 24 Aug 2012 18:24:52 +0000 (+0000) Subject: Use failif on ld-elf/exclude3 tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92a289b3800274d15d440cea98c0df067da4c2ec;p=binutils-gdb.git Use failif on ld-elf/exclude3 tests * ld-elf/exclude3a.d: Remove target and use failif. * ld-elf/exclude3b.d: Change target to *-*-linux* *-*-gnu* and use failif * ld-elf/exclude3d.d: Removed. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index dbca5ed4019..e6c2ae0a6dd 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2012-08-24 H.J. Lu + + * ld-elf/exclude3a.d: Remove target and use failif. + + * ld-elf/exclude3b.d: Change target to *-*-linux* *-*-gnu* and + use failif + + * ld-elf/exclude3d.d: Removed. + 2012-08-24 H.J. Lu * ld-elf/elf.exp: Add Solaris/x86-64 support to eh[1-4] test. diff --git a/ld/testsuite/ld-elf/exclude3a.d b/ld/testsuite/ld-elf/exclude3a.d index 7343e4528de..2647cce41d1 100644 --- a/ld/testsuite/ld-elf/exclude3a.d +++ b/ld/testsuite/ld-elf/exclude3a.d @@ -1,10 +1,8 @@ #source: exclude3.s #ld: #readelf: -S --wide -#target: x86_64-*-* i?86-*-* ia64-*-* +#failif +#... +[ ]*\[.*\][ ]+\.foo1[ ]+.* #... -[ ]*\[.*\][ ]+NULL.* -[ ]*\[.*\][ ]+\.text[ ]+PROGBITS.* -[ ]*\[.*\][ ]+.*STRTAB.* -#pass diff --git a/ld/testsuite/ld-elf/exclude3b.d b/ld/testsuite/ld-elf/exclude3b.d index 8d8a43fd98e..553c30b8510 100644 --- a/ld/testsuite/ld-elf/exclude3b.d +++ b/ld/testsuite/ld-elf/exclude3b.d @@ -1,9 +1,9 @@ #source: exclude3.s #ld: --shared #readelf: -S --wide -#target: x86_64-*-* i?86-*-* +#target: *-*-linux* *-*-gnu* +#failif +#... +[ ]*\[.*\][ ]+\.foo1[ ]+.* #... -[ ]*\[.*\][ ]+\.dynamic[ ]+DYNAMIC.* -[ ]*\[.*\][ ]+.*STRTAB.* -#pass diff --git a/ld/testsuite/ld-elf/exclude3d.d b/ld/testsuite/ld-elf/exclude3d.d deleted file mode 100644 index 0d487f5eb35..00000000000 --- a/ld/testsuite/ld-elf/exclude3d.d +++ /dev/null @@ -1,9 +0,0 @@ -#source: exclude3.s -#ld: --shared -#readelf: -S --wide -#target: ia64-*-* - -#... -[ ]*\[.*\][ ]+\.got.*[ ]+PROGBITS.* -[ ]*\[.*\][ ]+.*STRTAB.* -#pass