This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Use failif on ld-elf/exclude3 tests


Hi,

I checked in this patch to use failif on ld-elf/exclude3 tests.

H.J.
---
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ChangeLog,v
retrieving revision 1.1596
diff -u -p -r1.1596 ChangeLog
--- ChangeLog	24 Aug 2012 18:20:39 -0000	1.1596
+++ ChangeLog	24 Aug 2012 18:24:13 -0000
@@ -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: ld-elf/exclude3a.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/exclude3a.d,v
retrieving revision 1.1
diff -u -p -r1.1 exclude3a.d
--- ld-elf/exclude3a.d	18 May 2010 03:31:06 -0000	1.1
+++ ld-elf/exclude3a.d	24 Aug 2012 18:24:13 -0000
@@ -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: ld-elf/exclude3b.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/exclude3b.d,v
retrieving revision 1.2
diff -u -p -r1.2 exclude3b.d
--- ld-elf/exclude3b.d	14 Jul 2010 00:30:57 -0000	1.2
+++ ld-elf/exclude3b.d	24 Aug 2012 18:24:13 -0000
@@ -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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]