diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-08-24 18:24:52 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-08-24 18:24:52 +0000 |
commit | 029b79d7681923edda5e411b98731496ed64e2ae (patch) | |
tree | ffe174fe8a39ad883e4c28fd1ecccf42ef2b2870 /ld/testsuite/ld-elf | |
parent | ce79e999114bde9cdfe04fcf8265528b4fbe6c95 (diff) | |
download | binutils-redhat-029b79d7681923edda5e411b98731496ed64e2ae.tar.gz |
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.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r-- | ld/testsuite/ld-elf/exclude3a.d | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/exclude3b.d | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/exclude3d.d | 9 |
3 files changed, 7 insertions, 18 deletions
diff --git a/ld/testsuite/ld-elf/exclude3a.d b/ld/testsuite/ld-elf/exclude3a.d index 7343e4528d..2647cce41d 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 8d8a43fd98..553c30b851 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 0d487f5eb3..0000000000 --- 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 |