Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/binutils/2.18: 20_all_binutils-skip-some-tests.patch
Date: Sat, 06 Oct 2007 17:56:04
Message-Id: E1IeDjV-0000xz-Lv@stork.gentoo.org
1 vapier 07/10/06 17:46:33
2
3 Added: 20_all_binutils-skip-some-tests.patch
4 Log:
5 disable false positive failing tests
6
7 Revision Changes Path
8 1.1 src/patchsets/binutils/2.18/20_all_binutils-skip-some-tests.patch
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/binutils/2.18/20_all_binutils-skip-some-tests.patch?rev=1.1&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/binutils/2.18/20_all_binutils-skip-some-tests.patch?rev=1.1&content-type=text/plain
12
13 Index: 20_all_binutils-skip-some-tests.patch
14 ===================================================================
15 disable a few false positive tests that fail due to a change in the default
16 behavior in Gentoo's binutils. the failing tests do not indicate a problem
17 in our ld, but rather the output our ld contains a few extra sections/program
18 headers that the expected output does not account for. i'm working on making
19 mainline binutils more flexible, but until that time, just disable these.
20
21 --- ld/testsuite/ld-elf/elf.exp
22 +++ ld/testsuite/ld-elf/elf.exp
23 @@ -24,6 +24,8 @@
24
25 set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
26 foreach t $test_list {
27 + if {[string match "*eh?.d" "$t"]} { continue }
28 +
29 # We need to strip the ".d", but can leave the dirname.
30 verbose [file rootname $t]
31 run_dump_test [file rootname $t]
32 --- ld/testsuite/ld-i386/i386.exp
33 +++ ld/testsuite/ld-i386/i386.exp
34 @@ -65,36 +65,8 @@
35 # readelf: Apply readelf options on result. Compare with regex (last arg).
36
37 set i386tests {
38 - {"TLS -fpic -shared transitions" "-shared -melf_i386"
39 - "--32" {tlspic1.s tlspic2.s}
40 - {{readelf -Ssrl tlspic.rd} {objdump -drj.text tlspic.dd}
41 - {objdump -sj.got tlspic.sd} {objdump -sj.tdata tlspic.td}}
42 - "libtlspic.so"}
43 - {"TLS descriptor -fpic -shared transitions" "-shared -melf_i386"
44 - "--32" {tlsdesc.s tlspic2.s}
45 - {{readelf -Ssrl tlsdesc.rd} {objdump -drj.text tlsdesc.dd}
46 - {objdump "-s -j.got -j.got.plt" tlsdesc.sd} {objdump -sj.tdata tlsdesc.td}}
47 - "libtlsdesc.so"}
48 {"Helper shared library" "-shared -melf_i386"
49 "--32" {tlslib.s} {} "libtlslib.so"}
50 - {"TLS -fpic and -fno-pic exec transitions"
51 - "-melf_i386 tmpdir/libtlslib.so" "--32" {tlsbinpic.s tlsbin.s}
52 - {{readelf -Ssrl tlsbin.rd} {objdump -drj.text tlsbin.dd}
53 - {objdump -sj.got tlsbin.sd} {objdump -sj.tdata tlsbin.td}}
54 - "tlsbin"}
55 - {"TLS descriptor -fpic and -fno-pic exec transitions"
56 - "-melf_i386 tmpdir/libtlslib.so" "--32" {tlsbindesc.s tlsbin.s}
57 - {{readelf -Ssrl tlsbindesc.rd} {objdump -drj.text tlsbindesc.dd}
58 - {objdump -sj.got tlsbindesc.sd} {objdump -sj.tdata tlsbindesc.td}}
59 - "tlsbindesc"}
60 - {"TLS -fno-pic -shared" "-shared -melf_i386"
61 - "--32" {tlsnopic1.s tlsnopic2.s}
62 - {{readelf -Ssrl tlsnopic.rd} {objdump -drj.text tlsnopic.dd}
63 - {objdump -sj.got tlsnopic.sd}} "libtlsnopic.so"}
64 - {"TLS with global dynamic and descriptors"
65 - "-shared -melf_i386" "--32" {tlsgdesc.s}
66 - {{readelf -Ssrl tlsgdesc.rd} {objdump -drj.text tlsgdesc.dd}}
67 - "libtlsgdesc.so"}
68 {"TLS in debug sections" "-melf_i386"
69 "--32" {tlsg.s}
70 {{objdump -sj.debug_foobar tlsg.sd}} "tlsg"}
71 --- ld/testsuite/ld-scripts/empty-aligned.exp
72 +++ ld/testsuite/ld-scripts/empty-aligned.exp
73 @@ -23,4 +23,3 @@
74
75 set testname "empty-aligned"
76
77 -run_dump_test empty-aligned
78 --- ld/testsuite/ld-x86-64/x86-64.exp
79 +++ ld/testsuite/ld-x86-64/x86-64.exp
80 @@ -34,32 +34,8 @@
81 # readelf: Apply readelf options on result. Compare with regex (last arg).
82
83 set x86_64tests {
84 - {"TLS -fpic -shared transitions" "-shared -melf_x86_64"
85 - "--64" {tlspic1.s tlspic2.s}
86 - {{readelf -WSsrl tlspic.rd} {objdump -drj.text tlspic.dd}
87 - {objdump -sj.got tlspic.sd} {objdump -sj.tdata tlspic.td}}
88 - "libtlspic.so"}
89 - {"TLS descriptor -fpic -shared transitions" "-shared -melf_x86_64"
90 - "--64" {tlsdesc.s tlspic2.s}
91 - {{readelf -WSsrld tlsdesc.rd} {objdump -drj.text tlsdesc.dd}
92 - {objdump "-s -j.got -j.got.plt" tlsdesc.sd} {objdump -sj.tdata tlsdesc.td}
93 - {objdump -drj.plt tlsdesc.pd}} "libtlsdesc.so"}
94 {"Helper shared library" "-shared -melf_x86_64"
95 "--64" {tlslib.s} {} "libtlslib.so"}
96 - {"TLS -fpic and -fno-pic exec transitions"
97 - "-melf_x86_64 tmpdir/libtlslib.so" "--64" {tlsbinpic.s tlsbin.s}
98 - {{readelf -WSsrl tlsbin.rd} {objdump -drj.text tlsbin.dd}
99 - {objdump -sj.got tlsbin.sd} {objdump -sj.tdata tlsbin.td}}
100 - "tlsbin"}
101 - {"TLS descriptor -fpic and -fno-pic exec transitions"
102 - "-melf_x86_64 tmpdir/libtlslib.so" "--64" {tlsbindesc.s tlsbin.s}
103 - {{readelf -WSsrl tlsbindesc.rd} {objdump -drj.text tlsbindesc.dd}
104 - {objdump -sj.got tlsbindesc.sd} {objdump -sj.tdata tlsbindesc.td}}
105 - "tlsbindesc"}
106 - {"TLS with global dynamic and descriptors"
107 - "-shared -melf_x86_64" "--64" {tlsgdesc.s}
108 - {{readelf -WSsrl tlsgdesc.rd} {objdump -drj.text tlsgdesc.dd}}
109 - "libtlsgdesc.so"}
110 {"TLS in debug sections" "-melf_x86_64"
111 "--64" {tlsg.s}
112 {{objdump -sj.debug_foobar tlsg.sd}} "tlsg"}
113
114
115
116 --
117 gentoo-commits@g.o mailing list