aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-08-24 18:24:52 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-08-24 18:24:52 +0000
commit92a289b3800274d15d440cea98c0df067da4c2ec (patch)
tree9f9cd0cd5d825e84dc82f71495fe78bbecfa8fcd /ld
parent5cc5186427193bf6f65ba896ba4a67778be53321 (diff)
downloadgdb-92a289b3800274d15d440cea98c0df067da4c2ec.zip
gdb-92a289b3800274d15d440cea98c0df067da4c2ec.tar.gz
gdb-92a289b3800274d15d440cea98c0df067da4c2ec.tar.bz2
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')
-rw-r--r--ld/testsuite/ChangeLog9
-rw-r--r--ld/testsuite/ld-elf/exclude3a.d8
-rw-r--r--ld/testsuite/ld-elf/exclude3b.d8
-rw-r--r--ld/testsuite/ld-elf/exclude3d.d9
4 files changed, 16 insertions, 18 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index dbca5ed..e6c2ae0 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -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>
diff --git a/ld/testsuite/ld-elf/exclude3a.d b/ld/testsuite/ld-elf/exclude3a.d
index 7343e45..2647cce 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 8d8a43f..553c30b 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 0d487f5..0000000
--- 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