Use failif on ld-elf/exclude3 tests
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 24 Aug 2012 18:24:52 +0000 (18:24 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 24 Aug 2012 18:24:52 +0000 (18:24 +0000)
* 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.

ld/testsuite/ChangeLog
ld/testsuite/ld-elf/exclude3a.d
ld/testsuite/ld-elf/exclude3b.d
ld/testsuite/ld-elf/exclude3d.d [deleted file]

index dbca5ed..e6c2ae0 100644 (file)
@@ -1,5 +1,14 @@
 2012-08-24  H.J. Lu  <hongjiu.lu@intel.com>
 
+       * 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  <hongjiu.lu@intel.com>
+
        * ld-elf/elf.exp: Add Solaris/x86-64 support to eh[1-4] test.
 
 2012-08-24  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
index 7343e45..2647cce 100644 (file)
@@ -1,10 +1,8 @@
 #source: exclude3.s
 #ld:
 #readelf: -S --wide
-#target: x86_64-*-* i?86-*-* ia64-*-*
 
+#failif
+#...
+[      ]*\[.*\][       ]+\.foo1[       ]+.*
 #...
-[      ]*\[.*\][       ]+NULL.*
-[      ]*\[.*\][       ]+\.text[       ]+PROGBITS.*
-[      ]*\[.*\][       ]+.*STRTAB.*
-#pass
index 8d8a43f..553c30b 100644 (file)
@@ -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 (file)
index 0d487f5..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#source: exclude3.s
-#ld: --shared
-#readelf: -S --wide
-#target: ia64-*-*
-
-#...
-[      ]*\[.*\][       ]+\.got.*[      ]+PROGBITS.*
-[      ]*\[.*\][       ]+.*STRTAB.*
-#pass