xref: /aosp_15_r20/external/elfutils/tests/Makefile.am (revision 7304104da70ce23c86437a01be71edd1a2d7f37e)
1*7304104dSAndroid Build Coastguard Worker## Process this file with automake to create Makefile.in
2*7304104dSAndroid Build Coastguard Worker##
3*7304104dSAndroid Build Coastguard Worker## Copyright (C) 1996-2019 Red Hat, Inc.
4*7304104dSAndroid Build Coastguard Worker## This file is part of elfutils.
5*7304104dSAndroid Build Coastguard Worker##
6*7304104dSAndroid Build Coastguard Worker## This file is free software; you can redistribute it and/or modify
7*7304104dSAndroid Build Coastguard Worker## it under the terms of the GNU General Public License as published by
8*7304104dSAndroid Build Coastguard Worker## the Free Software Foundation; either version 3 of the License, or
9*7304104dSAndroid Build Coastguard Worker## (at your option) any later version.
10*7304104dSAndroid Build Coastguard Worker##
11*7304104dSAndroid Build Coastguard Worker## elfutils is distributed in the hope that it will be useful, but
12*7304104dSAndroid Build Coastguard Worker## WITHOUT ANY WARRANTY; without even the implied warranty of
13*7304104dSAndroid Build Coastguard Worker## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*7304104dSAndroid Build Coastguard Worker## GNU General Public License for more details.
15*7304104dSAndroid Build Coastguard Worker##
16*7304104dSAndroid Build Coastguard Worker## You should have received a copy of the GNU General Public License
17*7304104dSAndroid Build Coastguard Worker## along with this program.  If not, see <http://www.gnu.org/licenses/>.
18*7304104dSAndroid Build Coastguard Worker##
19*7304104dSAndroid Build Coastguard Workerinclude $(top_srcdir)/config/eu.am
20*7304104dSAndroid Build Coastguard WorkerBUILD_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf
21*7304104dSAndroid Build Coastguard Worker
22*7304104dSAndroid Build Coastguard WorkerAM_CPPFLAGS += -I$(top_srcdir)/libasm -I$(top_srcdir)/libdw \
23*7304104dSAndroid Build Coastguard Worker	    -I$(top_srcdir)/libdwfl -I$(top_srcdir)/libdwelf \
24*7304104dSAndroid Build Coastguard Worker	    -I$(top_srcdir)/libebl -I$(top_srcdir)/libelf \
25*7304104dSAndroid Build Coastguard Worker	    -I$(top_srcdir)/lib -I..
26*7304104dSAndroid Build Coastguard WorkerAM_LDFLAGS = -Wl,-rpath-link,../libasm:../libdw:../libelf
27*7304104dSAndroid Build Coastguard Worker
28*7304104dSAndroid Build Coastguard Workerif TESTS_RPATH
29*7304104dSAndroid Build Coastguard WorkerAM_LDFLAGS += -Wl,-rpath,$(BUILD_RPATH)
30*7304104dSAndroid Build Coastguard Workertests_rpath = yes
31*7304104dSAndroid Build Coastguard Workerelse
32*7304104dSAndroid Build Coastguard Workertests_rpath = no
33*7304104dSAndroid Build Coastguard Workerendif
34*7304104dSAndroid Build Coastguard Worker
35*7304104dSAndroid Build Coastguard Workercheck_PROGRAMS = arextract arsymtest newfile saridx scnnames sectiondump \
36*7304104dSAndroid Build Coastguard Worker		  showptable update1 update2 update3 update4 test-nlist \
37*7304104dSAndroid Build Coastguard Worker		  show-die-info get-files next-files get-lines next-lines \
38*7304104dSAndroid Build Coastguard Worker		  get-pubnames \
39*7304104dSAndroid Build Coastguard Worker		  get-aranges allfcts line2addr addrscopes funcscopes \
40*7304104dSAndroid Build Coastguard Worker		  show-abbrev hash newscn ecp dwflmodtest \
41*7304104dSAndroid Build Coastguard Worker		  find-prologues funcretval allregs rdwrmmap \
42*7304104dSAndroid Build Coastguard Worker		  dwfl-bug-addr-overflow arls dwfl-bug-fd-leak \
43*7304104dSAndroid Build Coastguard Worker		  dwfl-addr-sect dwfl-bug-report early-offscn \
44*7304104dSAndroid Build Coastguard Worker		  dwfl-bug-getmodules dwarf-getmacros dwarf-ranges addrcfi \
45*7304104dSAndroid Build Coastguard Worker		  dwfl-core-noncontig dwarfcfi \
46*7304104dSAndroid Build Coastguard Worker		  test-flag-nobits dwarf-getstring rerequest_tag \
47*7304104dSAndroid Build Coastguard Worker		  alldts typeiter typeiter2 low_high_pc \
48*7304104dSAndroid Build Coastguard Worker		  test-elf_cntl_gelf_getshdr dwflsyms dwfllines \
49*7304104dSAndroid Build Coastguard Worker		  dwfl-report-elf-align dwfl-report-segment-contiguous \
50*7304104dSAndroid Build Coastguard Worker		  dwfl-report-offline-memory \
51*7304104dSAndroid Build Coastguard Worker		  varlocs backtrace backtrace-child \
52*7304104dSAndroid Build Coastguard Worker		  backtrace-data backtrace-dwarf debuglink debugaltlink \
53*7304104dSAndroid Build Coastguard Worker		  buildid deleted deleted-lib.so aggregate_size peel_type \
54*7304104dSAndroid Build Coastguard Worker		  vdsosyms \
55*7304104dSAndroid Build Coastguard Worker		  getsrc_die strptr newdata elfstrtab dwfl-proc-attach \
56*7304104dSAndroid Build Coastguard Worker		  elfshphehdr elfstrmerge dwelfgnucompressed elfgetchdr \
57*7304104dSAndroid Build Coastguard Worker		  elfgetzdata elfputzdata zstrptr emptyfile vendorelf \
58*7304104dSAndroid Build Coastguard Worker		  fillfile dwarf_default_lower_bound dwarf-die-addr-die \
59*7304104dSAndroid Build Coastguard Worker		  get-units-invalid get-units-split attr-integrate-skel \
60*7304104dSAndroid Build Coastguard Worker		  all-dwarf-ranges unit-info next_cfi \
61*7304104dSAndroid Build Coastguard Worker		  elfcopy addsections xlate_notes elfrdwrnop \
62*7304104dSAndroid Build Coastguard Worker		  dwelf_elf_e_machine_string \
63*7304104dSAndroid Build Coastguard Worker		  getphdrnum leb128 read_unaligned \
64*7304104dSAndroid Build Coastguard Worker		  msg_tst system-elf-libelf-test system-elf-gelf-test \
65*7304104dSAndroid Build Coastguard Worker		  nvidia_extended_linemap_libdw elf-print-reloc-syms \
66*7304104dSAndroid Build Coastguard Worker		  cu-dwp-section-info declfiles \
67*7304104dSAndroid Build Coastguard Worker		  $(asm_TESTS)
68*7304104dSAndroid Build Coastguard Worker
69*7304104dSAndroid Build Coastguard Workerasm_TESTS = asm-tst1 asm-tst2 asm-tst3 asm-tst4 asm-tst5 \
70*7304104dSAndroid Build Coastguard Worker	    asm-tst6 asm-tst7 asm-tst8 asm-tst9
71*7304104dSAndroid Build Coastguard Worker
72*7304104dSAndroid Build Coastguard Workerif BIARCH
73*7304104dSAndroid Build Coastguard Workercheck_PROGRAMS += backtrace-child-biarch
74*7304104dSAndroid Build Coastguard Workerendif
75*7304104dSAndroid Build Coastguard Worker
76*7304104dSAndroid Build Coastguard Worker# Substitute $(COMPILE).
77*7304104dSAndroid Build Coastguard Workerbacktrace-child-biarch$(EXEEXT): backtrace-child.c
78*7304104dSAndroid Build Coastguard Worker	$(AM_V_CC)$(CC_BIARCH) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
79*7304104dSAndroid Build Coastguard Worker		     $(AM_CPPFLAGS) $(CPPFLAGS) \
80*7304104dSAndroid Build Coastguard Worker		     $(AM_CFLAGS) $(CFLAGS) $(backtrace_child_CFLAGS) \
81*7304104dSAndroid Build Coastguard Worker		     $(AM_LDFLAGS) $(LDFLAGS) $(backtrace_child_LDFLAGS) \
82*7304104dSAndroid Build Coastguard Worker		     -o $@ $<
83*7304104dSAndroid Build Coastguard Worker
84*7304104dSAndroid Build Coastguard Workerif GCOV
85*7304104dSAndroid Build Coastguard WorkerGCOV_FLAGS=-fprofile-arcs -ftest-coverage
86*7304104dSAndroid Build Coastguard Workerelse
87*7304104dSAndroid Build Coastguard WorkerGCOV_FLAGS=
88*7304104dSAndroid Build Coastguard Workerendif
89*7304104dSAndroid Build Coastguard Worker
90*7304104dSAndroid Build Coastguard Worker# test_nlist checks its own symbol table, and expects various symbols
91*7304104dSAndroid Build Coastguard Worker# to be in the order as specified in the source file. Explicitly set
92*7304104dSAndroid Build Coastguard Worker# minimal CFLAGS. But add sanitizers if in use.
93*7304104dSAndroid Build Coastguard Workerif USE_ADDRESS_SANITIZER
94*7304104dSAndroid Build Coastguard WorkerEXTRA_NLIST_CFLAGS=-fsanitize=address
95*7304104dSAndroid Build Coastguard Workerelse
96*7304104dSAndroid Build Coastguard Workerif USE_MEMORY_SANITIZER
97*7304104dSAndroid Build Coastguard WorkerEXTRA_NLIST_CFLAGS=-fsanitize=memory -fsanitize-memory-track-origins
98*7304104dSAndroid Build Coastguard Workerelse
99*7304104dSAndroid Build Coastguard WorkerEXTRA_NLIST_CFLAGS=
100*7304104dSAndroid Build Coastguard Workerendif
101*7304104dSAndroid Build Coastguard Workerendif
102*7304104dSAndroid Build Coastguard Worker
103*7304104dSAndroid Build Coastguard Workertest-nlist$(EXEEXT): test-nlist.c
104*7304104dSAndroid Build Coastguard Worker	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
105*7304104dSAndroid Build Coastguard Worker	  $(AM_CPPFLAGS) $(CPPFLAGS) \
106*7304104dSAndroid Build Coastguard Worker	  $(test_nlist_CFLAGS) $(GCOV_FLAGS) -o $@ $< $(test_nlist_LDADD)
107*7304104dSAndroid Build Coastguard Worker
108*7304104dSAndroid Build Coastguard WorkerTESTS = run-arextract.sh run-arsymtest.sh run-ar.sh newfile test-nlist \
109*7304104dSAndroid Build Coastguard Worker	run-ar-N.sh \
110*7304104dSAndroid Build Coastguard Worker	update1 update2 update3 update4 \
111*7304104dSAndroid Build Coastguard Worker	run-show-die-info.sh run-get-files.sh run-get-lines.sh \
112*7304104dSAndroid Build Coastguard Worker	run-next-files.sh run-next-lines.sh \
113*7304104dSAndroid Build Coastguard Worker	run-get-pubnames.sh run-get-aranges.sh run-allfcts.sh \
114*7304104dSAndroid Build Coastguard Worker	run-show-abbrev.sh run-line2addr.sh hash \
115*7304104dSAndroid Build Coastguard Worker	run-large-elf-file.sh \
116*7304104dSAndroid Build Coastguard Worker	newscn run-strip-test.sh run-strip-test2.sh \
117*7304104dSAndroid Build Coastguard Worker	run-strip-test3.sh run-strip-test4.sh run-strip-test5.sh \
118*7304104dSAndroid Build Coastguard Worker	run-strip-test6.sh run-strip-test7.sh run-strip-test8.sh \
119*7304104dSAndroid Build Coastguard Worker	run-strip-test9.sh run-strip-test10.sh run-strip-test11.sh \
120*7304104dSAndroid Build Coastguard Worker	run-strip-test12.sh \
121*7304104dSAndroid Build Coastguard Worker	run-strip-nothing.sh run-strip-g.sh run-annobingroup.sh \
122*7304104dSAndroid Build Coastguard Worker	run-strip-groups.sh run-strip-strmerge.sh \
123*7304104dSAndroid Build Coastguard Worker	run-strip-reloc-ko.sh run-strip-reloc-self.sh \
124*7304104dSAndroid Build Coastguard Worker	run-strip-reloc-ppc64.sh \
125*7304104dSAndroid Build Coastguard Worker	run-strip-nobitsalign.sh run-strip-remove-keep.sh \
126*7304104dSAndroid Build Coastguard Worker	run-unstrip-test.sh run-unstrip-test2.sh run-unstrip-test3.sh \
127*7304104dSAndroid Build Coastguard Worker	run-unstrip-test4.sh run-unstrip-M.sh run-elfstrmerge-test.sh \
128*7304104dSAndroid Build Coastguard Worker	run-ecp-test.sh run-ecp-test2.sh run-alldts.sh \
129*7304104dSAndroid Build Coastguard Worker	run-elflint-test.sh run-elflint-self.sh run-ranlib-test.sh \
130*7304104dSAndroid Build Coastguard Worker	run-ranlib-test2.sh run-ranlib-test3.sh run-ranlib-test4.sh \
131*7304104dSAndroid Build Coastguard Worker	run-addrscopes.sh run-strings-test.sh run-funcscopes.sh \
132*7304104dSAndroid Build Coastguard Worker	run-find-prologues.sh run-allregs.sh run-addrcfi.sh \
133*7304104dSAndroid Build Coastguard Worker	run-dwarfcfi.sh run-nm-syms.sh \
134*7304104dSAndroid Build Coastguard Worker	run-nm-self.sh run-readelf-self.sh run-readelf-info-plus.sh \
135*7304104dSAndroid Build Coastguard Worker	run-srcfiles-self.sh \
136*7304104dSAndroid Build Coastguard Worker	run-readelf-compressed.sh \
137*7304104dSAndroid Build Coastguard Worker	run-readelf-const-values.sh \
138*7304104dSAndroid Build Coastguard Worker	run-varlocs-self.sh run-exprlocs-self.sh \
139*7304104dSAndroid Build Coastguard Worker	run-readelf-test1.sh run-readelf-test2.sh run-readelf-test3.sh \
140*7304104dSAndroid Build Coastguard Worker	run-readelf-test4.sh run-readelf-twofiles.sh \
141*7304104dSAndroid Build Coastguard Worker	run-readelf-macro.sh run-readelf-loc.sh run-readelf-ranges.sh \
142*7304104dSAndroid Build Coastguard Worker	run-readelf-aranges.sh run-readelf-line.sh run-readelf-z.sh \
143*7304104dSAndroid Build Coastguard Worker	run-readelf-frames.sh \
144*7304104dSAndroid Build Coastguard Worker	run-readelf-n.sh \
145*7304104dSAndroid Build Coastguard Worker	run-retain.sh \
146*7304104dSAndroid Build Coastguard Worker	run-native-test.sh run-bug1-test.sh \
147*7304104dSAndroid Build Coastguard Worker	run-debuglink.sh run-debugaltlink.sh run-buildid.sh \
148*7304104dSAndroid Build Coastguard Worker	dwfl-bug-addr-overflow run-addrname-test.sh \
149*7304104dSAndroid Build Coastguard Worker	dwfl-bug-fd-leak dwfl-bug-report dwfl-report-segment-contiguous \
150*7304104dSAndroid Build Coastguard Worker	run-dwfl-bug-offline-rel.sh run-dwfl-addr-sect.sh \
151*7304104dSAndroid Build Coastguard Worker	run-disasm-x86.sh run-disasm-x86-64.sh \
152*7304104dSAndroid Build Coastguard Worker	run-early-offscn.sh run-dwarf-getmacros.sh run-dwarf-ranges.sh \
153*7304104dSAndroid Build Coastguard Worker	run-test-flag-nobits.sh run-prelink-addr-test.sh \
154*7304104dSAndroid Build Coastguard Worker	run-dwarf-getstring.sh run-rerequest_tag.sh run-typeiter.sh \
155*7304104dSAndroid Build Coastguard Worker	run-readelf-d.sh run-readelf-gdb_index.sh run-unstrip-n.sh \
156*7304104dSAndroid Build Coastguard Worker	run-low_high_pc.sh run-macro-test.sh run-elf_cntl_gelf_getshdr.sh \
157*7304104dSAndroid Build Coastguard Worker	run-test-archive64.sh run-readelf-vmcoreinfo.sh \
158*7304104dSAndroid Build Coastguard Worker	run-readelf-mixed-corenote.sh run-dwfllines.sh \
159*7304104dSAndroid Build Coastguard Worker	run-readelf-variant.sh run-readelf-fat-lto.sh \
160*7304104dSAndroid Build Coastguard Worker	run-dwfl-report-elf-align.sh run-addr2line-test.sh \
161*7304104dSAndroid Build Coastguard Worker	run-dwfl-report-offline-memory.sh \
162*7304104dSAndroid Build Coastguard Worker	run-addr2line-C-test.sh \
163*7304104dSAndroid Build Coastguard Worker	run-addr2line-i-test.sh run-addr2line-i-lex-test.sh \
164*7304104dSAndroid Build Coastguard Worker	run-addr2line-i-demangle-test.sh run-addr2line-alt-debugpath.sh \
165*7304104dSAndroid Build Coastguard Worker	run-varlocs.sh run-exprlocs.sh run-varlocs-vars.sh run-funcretval.sh \
166*7304104dSAndroid Build Coastguard Worker	run-backtrace-native.sh run-backtrace-data.sh run-backtrace-dwarf.sh \
167*7304104dSAndroid Build Coastguard Worker	run-backtrace-native-biarch.sh run-backtrace-native-core.sh \
168*7304104dSAndroid Build Coastguard Worker	run-backtrace-native-core-biarch.sh run-backtrace-core-x86_64.sh \
169*7304104dSAndroid Build Coastguard Worker	run-backtrace-fp-core-x86_64.sh \
170*7304104dSAndroid Build Coastguard Worker	run-backtrace-fp-core-aarch64.sh \
171*7304104dSAndroid Build Coastguard Worker	run-backtrace-fp-core-ppc64le.sh \
172*7304104dSAndroid Build Coastguard Worker	run-backtrace-core-x32.sh \
173*7304104dSAndroid Build Coastguard Worker	run-backtrace-core-i386.sh run-backtrace-fp-core-i386.sh \
174*7304104dSAndroid Build Coastguard Worker	run-backtrace-core-ppc.sh \
175*7304104dSAndroid Build Coastguard Worker	run-backtrace-core-s390x.sh run-backtrace-core-s390.sh \
176*7304104dSAndroid Build Coastguard Worker	run-backtrace-core-aarch64.sh run-backtrace-core-sparc.sh \
177*7304104dSAndroid Build Coastguard Worker	run-backtrace-demangle.sh run-stack-d-test.sh run-stack-i-test.sh \
178*7304104dSAndroid Build Coastguard Worker	run-stack-demangled-test.sh run-readelf-zx.sh run-readelf-zp.sh \
179*7304104dSAndroid Build Coastguard Worker	run-readelf-arm-flags.sh \
180*7304104dSAndroid Build Coastguard Worker	run-readelf-addr.sh run-readelf-str.sh \
181*7304104dSAndroid Build Coastguard Worker	run-readelf-multi-noline.sh \
182*7304104dSAndroid Build Coastguard Worker	run-readelf-types.sh \
183*7304104dSAndroid Build Coastguard Worker	run-readelf-dwz-multi.sh run-allfcts-multi.sh run-deleted.sh \
184*7304104dSAndroid Build Coastguard Worker	run-linkmap-cut.sh run-aggregate-size.sh run-peel-type.sh \
185*7304104dSAndroid Build Coastguard Worker	vdsosyms run-readelf-A.sh \
186*7304104dSAndroid Build Coastguard Worker	run-getsrc-die.sh run-strptr.sh newdata elfstrtab dwfl-proc-attach \
187*7304104dSAndroid Build Coastguard Worker	elfshphehdr run-lfs-symbols.sh run-dwelfgnucompressed.sh \
188*7304104dSAndroid Build Coastguard Worker	run-elfgetchdr.sh \
189*7304104dSAndroid Build Coastguard Worker	run-elfgetzdata.sh run-elfputzdata.sh run-zstrptr.sh \
190*7304104dSAndroid Build Coastguard Worker	run-compress-test.sh \
191*7304104dSAndroid Build Coastguard Worker	run-readelf-zdebug.sh run-readelf-zdebug-rel.sh \
192*7304104dSAndroid Build Coastguard Worker	emptyfile vendorelf fillfile dwarf_default_lower_bound \
193*7304104dSAndroid Build Coastguard Worker	run-dwarf-die-addr-die.sh \
194*7304104dSAndroid Build Coastguard Worker	run-get-units-invalid.sh run-get-units-split.sh \
195*7304104dSAndroid Build Coastguard Worker	run-attr-integrate-skel.sh \
196*7304104dSAndroid Build Coastguard Worker	run-all-dwarf-ranges.sh run-unit-info.sh \
197*7304104dSAndroid Build Coastguard Worker	run-reloc-bpf.sh \
198*7304104dSAndroid Build Coastguard Worker	run-next-cfi.sh run-next-cfi-self.sh \
199*7304104dSAndroid Build Coastguard Worker	run-reverse-sections.sh run-reverse-sections-self.sh \
200*7304104dSAndroid Build Coastguard Worker	run-copyadd-sections.sh \
201*7304104dSAndroid Build Coastguard Worker	run-copymany-be32.sh run-copymany-le32.sh \
202*7304104dSAndroid Build Coastguard Worker	run-copymany-be64.sh run-copymany-le64.sh \
203*7304104dSAndroid Build Coastguard Worker	run-typeiter-many.sh run-strip-test-many.sh \
204*7304104dSAndroid Build Coastguard Worker	run-strip-version.sh run-xlate-note.sh \
205*7304104dSAndroid Build Coastguard Worker	run-readelf-discr.sh \
206*7304104dSAndroid Build Coastguard Worker	run-dwelf_elf_e_machine_string.sh \
207*7304104dSAndroid Build Coastguard Worker	run-elfclassify.sh run-elfclassify-self.sh \
208*7304104dSAndroid Build Coastguard Worker	run-disasm-riscv64.sh \
209*7304104dSAndroid Build Coastguard Worker	run-pt_gnu_prop-tests.sh \
210*7304104dSAndroid Build Coastguard Worker	run-getphdrnum.sh run-test-includes.sh \
211*7304104dSAndroid Build Coastguard Worker	leb128 read_unaligned \
212*7304104dSAndroid Build Coastguard Worker	msg_tst system-elf-libelf-test system-elf-gelf-test \
213*7304104dSAndroid Build Coastguard Worker	$(asm_TESTS) run-disasm-bpf.sh run-low_high_pc-dw-form-indirect.sh \
214*7304104dSAndroid Build Coastguard Worker	run-nvidia-extended-linemap-libdw.sh run-nvidia-extended-linemap-readelf.sh \
215*7304104dSAndroid Build Coastguard Worker	run-readelf-dw-form-indirect.sh run-strip-largealign.sh \
216*7304104dSAndroid Build Coastguard Worker	run-readelf-Dd.sh run-dwfl-core-noncontig.sh run-cu-dwp-section-info.sh \
217*7304104dSAndroid Build Coastguard Worker	run-declfiles.sh
218*7304104dSAndroid Build Coastguard Worker
219*7304104dSAndroid Build Coastguard Workerif !BIARCH
220*7304104dSAndroid Build Coastguard Workerexport ELFUTILS_DISABLE_BIARCH = 1
221*7304104dSAndroid Build Coastguard Workerendif
222*7304104dSAndroid Build Coastguard Worker
223*7304104dSAndroid Build Coastguard Workerif !DEMANGLE
224*7304104dSAndroid Build Coastguard Workerexport ELFUTILS_DISABLE_DEMANGLE = 1
225*7304104dSAndroid Build Coastguard Workerendif
226*7304104dSAndroid Build Coastguard Worker
227*7304104dSAndroid Build Coastguard Workerif LZMA
228*7304104dSAndroid Build Coastguard WorkerTESTS += run-readelf-s.sh run-dwflsyms.sh
229*7304104dSAndroid Build Coastguard Workerendif
230*7304104dSAndroid Build Coastguard Worker
231*7304104dSAndroid Build Coastguard Workerif HAVE_ZSTD
232*7304104dSAndroid Build Coastguard WorkerTESTS += run-readelf-compressed-zstd.sh
233*7304104dSAndroid Build Coastguard Workerendif
234*7304104dSAndroid Build Coastguard Worker
235*7304104dSAndroid Build Coastguard Workerif USE_ZSTD_COMPRESS
236*7304104dSAndroid Build Coastguard Workerexport ELFUTILS_ZSTD = 1
237*7304104dSAndroid Build Coastguard Workerendif
238*7304104dSAndroid Build Coastguard Worker
239*7304104dSAndroid Build Coastguard Workerif USE_MEMORY_SANITIZER
240*7304104dSAndroid Build Coastguard Workerexport ELFUTILS_MEMORY_SANITIZER = 1
241*7304104dSAndroid Build Coastguard Workerendif
242*7304104dSAndroid Build Coastguard Worker
243*7304104dSAndroid Build Coastguard Workerif DEBUGINFOD
244*7304104dSAndroid Build Coastguard Workercheck_PROGRAMS += debuginfod_build_id_find
245*7304104dSAndroid Build Coastguard Worker# With the dummy delegation doesn't work
246*7304104dSAndroid Build Coastguard Workerif !DUMMY_LIBDEBUGINFOD
247*7304104dSAndroid Build Coastguard WorkerTESTS += run-debuginfod-dlopen.sh \
248*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-artifact-running.sh \
249*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-fd-prefetch-caches.sh \
250*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-regex.sh \
251*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-duplicate-urls.sh \
252*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-file.sh \
253*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-sizetime.sh \
254*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-malformed.sh \
255*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-negative-cache.sh \
256*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-tmp-home.sh \
257*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-writable.sh \
258*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-no-urls.sh \
259*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-query-retry.sh \
260*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-extraction.sh \
261*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-archive-groom.sh \
262*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-archive-rename.sh \
263*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-archive-test.sh \
264*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-federation-sqlite.sh \
265*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-federation-link.sh \
266*7304104dSAndroid Build Coastguard Worker         run-debuginfod-percent-escape.sh \
267*7304104dSAndroid Build Coastguard Worker         run-debuginfod-x-forwarded-for.sh \
268*7304104dSAndroid Build Coastguard Worker         run-debuginfod-response-headers.sh \
269*7304104dSAndroid Build Coastguard Worker         run-debuginfod-extraction-passive.sh \
270*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-webapi-concurrency.sh \
271*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-section.sh \
272*7304104dSAndroid Build Coastguard Worker	 run-debuginfod-IXr.sh
273*7304104dSAndroid Build Coastguard Workerendif
274*7304104dSAndroid Build Coastguard Workerif !OLD_LIBMICROHTTPD
275*7304104dSAndroid Build Coastguard Worker# Will crash on too old libmicrohttpd
276*7304104dSAndroid Build Coastguard Worker# Too many open file descriptors confuses libmicrohttpd < 0.9.51
277*7304104dSAndroid Build Coastguard WorkerTESTS += run-debuginfod-federation-metrics.sh
278*7304104dSAndroid Build Coastguard Workerendif
279*7304104dSAndroid Build Coastguard Workerendif
280*7304104dSAndroid Build Coastguard Worker
281*7304104dSAndroid Build Coastguard Workerif HAVE_CXX11
282*7304104dSAndroid Build Coastguard Workercheck_PROGRAMS += funcretval_test++11
283*7304104dSAndroid Build Coastguard Workerfuncretval_test__11_SOURCES = funcretval_test++11.cxx
284*7304104dSAndroid Build Coastguard WorkerTESTS += run-funcretval++11.sh
285*7304104dSAndroid Build Coastguard Workerendif
286*7304104dSAndroid Build Coastguard Worker
287*7304104dSAndroid Build Coastguard WorkerEXTRA_DIST = run-arextract.sh run-arsymtest.sh run-ar.sh \
288*7304104dSAndroid Build Coastguard Worker	     run-ar-N.sh \
289*7304104dSAndroid Build Coastguard Worker	     run-show-die-info.sh run-get-files.sh run-get-lines.sh \
290*7304104dSAndroid Build Coastguard Worker	     run-next-files.sh run-next-lines.sh testfile-only-debug-line.bz2 \
291*7304104dSAndroid Build Coastguard Worker	     run-get-pubnames.sh run-get-aranges.sh \
292*7304104dSAndroid Build Coastguard Worker	     run-show-abbrev.sh run-strip-test.sh \
293*7304104dSAndroid Build Coastguard Worker	     run-strip-test2.sh run-ecp-test.sh run-ecp-test2.sh \
294*7304104dSAndroid Build Coastguard Worker	     testfile.bz2 testfile2.bz2 testfile3.bz2 testfile4.bz2 \
295*7304104dSAndroid Build Coastguard Worker	     testfile5.bz2 testfile6.bz2 testfile7.bz2 testfile8.bz2 \
296*7304104dSAndroid Build Coastguard Worker	     testfile9.bz2 testfile10.bz2 testfile11.bz2 testfile12.bz2 \
297*7304104dSAndroid Build Coastguard Worker	     testfile13.bz2 run-strip-test3.sh run-allfcts.sh \
298*7304104dSAndroid Build Coastguard Worker	     testfile_class_func.bz2 testfile_nested_funcs.bz2 \
299*7304104dSAndroid Build Coastguard Worker	     testfile-lto-gcc10.bz2 \
300*7304104dSAndroid Build Coastguard Worker	     testfile-lto-gcc9.bz2 testfile-lto-gcc8.bz2 \
301*7304104dSAndroid Build Coastguard Worker	     run-line2addr.sh run-elflint-test.sh testfile14.bz2 \
302*7304104dSAndroid Build Coastguard Worker	     run-strip-test4.sh run-strip-test5.sh run-strip-test6.sh \
303*7304104dSAndroid Build Coastguard Worker	     run-strip-test7.sh run-strip-test8.sh run-strip-groups.sh \
304*7304104dSAndroid Build Coastguard Worker	     run-strip-test9.sh run-strip-test10.sh run-strip-test11.sh \
305*7304104dSAndroid Build Coastguard Worker	     run-strip-test12.sh \
306*7304104dSAndroid Build Coastguard Worker	     run-strip-nothing.sh run-strip-remove-keep.sh run-strip-g.sh \
307*7304104dSAndroid Build Coastguard Worker	     run-annobingroup.sh testfile-annobingroup.o.bz2 \
308*7304104dSAndroid Build Coastguard Worker	     testfile-annobingroup-i386.o.bz2 \
309*7304104dSAndroid Build Coastguard Worker	     testfile-annobingroup-x86_64.o.bz2 \
310*7304104dSAndroid Build Coastguard Worker	     run-strip-strmerge.sh run-strip-nobitsalign.sh \
311*7304104dSAndroid Build Coastguard Worker	     testfile-nobitsalign.bz2 testfile-nobitsalign.strip.bz2 \
312*7304104dSAndroid Build Coastguard Worker	     run-strip-reloc-ko.sh run-strip-reloc-self.sh \
313*7304104dSAndroid Build Coastguard Worker	     run-strip-reloc-ppc64.sh strip-reloc-subr.sh \
314*7304104dSAndroid Build Coastguard Worker	     hello_i386.ko.bz2 hello_x86_64.ko.bz2 \
315*7304104dSAndroid Build Coastguard Worker	     hello_ppc64.ko.bz2 hello_s390.ko.bz2 hello_aarch64.ko.bz2 \
316*7304104dSAndroid Build Coastguard Worker	     hello_m68k.ko.bz2 hello_riscv64.ko.bz2 hello_csky.ko.bz2 \
317*7304104dSAndroid Build Coastguard Worker	     hello_arc_hs4.ko.bz2 \
318*7304104dSAndroid Build Coastguard Worker	     run-unstrip-test.sh run-unstrip-test2.sh \
319*7304104dSAndroid Build Coastguard Worker	     testfile-info-link.bz2 testfile-info-link.debuginfo.bz2 \
320*7304104dSAndroid Build Coastguard Worker	     testfile-info-link.stripped.bz2 run-unstrip-test3.sh \
321*7304104dSAndroid Build Coastguard Worker	     run-unstrip-test4.sh testfile-strtab.bz2 \
322*7304104dSAndroid Build Coastguard Worker	     testfile-strtab.stripped.bz2 testfile-strtab.debuginfo.bz2 \
323*7304104dSAndroid Build Coastguard Worker	     run-unstrip-M.sh run-elfstrmerge-test.sh \
324*7304104dSAndroid Build Coastguard Worker	     run-elflint-self.sh run-ranlib-test.sh run-ranlib-test2.sh \
325*7304104dSAndroid Build Coastguard Worker	     run-ranlib-test3.sh run-ranlib-test4.sh \
326*7304104dSAndroid Build Coastguard Worker	     run-addrscopes.sh run-strings-test.sh run-funcscopes.sh \
327*7304104dSAndroid Build Coastguard Worker	     run-nm-syms.sh testfilesyms32.bz2 testfilesyms64.bz2 \
328*7304104dSAndroid Build Coastguard Worker	     run-nm-self.sh run-readelf-self.sh run-readelf-info-plus.sh \
329*7304104dSAndroid Build Coastguard Worker	     run-srcfiles-self.sh \
330*7304104dSAndroid Build Coastguard Worker		 run-readelf-compressed.sh \
331*7304104dSAndroid Build Coastguard Worker	     run-readelf-compressed-zstd.sh \
332*7304104dSAndroid Build Coastguard Worker	     run-readelf-const-values.sh testfile-const-values.debug.bz2 \
333*7304104dSAndroid Build Coastguard Worker	     run-addrcfi.sh run-dwarfcfi.sh \
334*7304104dSAndroid Build Coastguard Worker	     testfile11-debugframe.bz2 testfile12-debugframe.bz2 \
335*7304104dSAndroid Build Coastguard Worker	     testfileaarch64-debugframe.bz2 testfilearm-debugframe.bz2 \
336*7304104dSAndroid Build Coastguard Worker	     testfileppc32-debugframe.bz2 testfileppc64-debugframe.bz2 \
337*7304104dSAndroid Build Coastguard Worker	     testfilecsky.bz2 \
338*7304104dSAndroid Build Coastguard Worker	     run-varlocs-self.sh run-exprlocs-self.sh \
339*7304104dSAndroid Build Coastguard Worker	     run-find-prologues.sh run-allregs.sh run-native-test.sh \
340*7304104dSAndroid Build Coastguard Worker	     run-addrname-test.sh run-dwfl-bug-offline-rel.sh \
341*7304104dSAndroid Build Coastguard Worker	     run-dwfl-addr-sect.sh run-early-offscn.sh \
342*7304104dSAndroid Build Coastguard Worker	     run-dwarf-getmacros.sh \
343*7304104dSAndroid Build Coastguard Worker	     run-dwarf-ranges.sh debug-ranges-no-lowpc.o.bz2 \
344*7304104dSAndroid Build Coastguard Worker	     testfileranges4.debug.bz2 testfileranges5.debug.bz2 \
345*7304104dSAndroid Build Coastguard Worker	     testfilesplitranges5.debug.bz2 \
346*7304104dSAndroid Build Coastguard Worker	     testfile-ranges-hello5.dwo.bz2 testfile-ranges-world5.dwo.bz2 \
347*7304104dSAndroid Build Coastguard Worker	     run-test-flag-nobits.sh \
348*7304104dSAndroid Build Coastguard Worker	     run-dwarf-getstring.sh run-rerequest_tag.sh run-alldts.sh \
349*7304104dSAndroid Build Coastguard Worker	     testfile15.bz2 testfile15.debug.bz2 \
350*7304104dSAndroid Build Coastguard Worker	     testfile16.bz2 testfile16.debug.bz2 \
351*7304104dSAndroid Build Coastguard Worker	     testfile17.bz2 testfile17.debug.bz2 \
352*7304104dSAndroid Build Coastguard Worker	     testfile18.bz2 testfile19.bz2 testfile19.index.bz2 \
353*7304104dSAndroid Build Coastguard Worker	     testfile20.bz2 testfile20.index.bz2 \
354*7304104dSAndroid Build Coastguard Worker	     testfile21.bz2 testfile21.index.bz2 \
355*7304104dSAndroid Build Coastguard Worker	     testfile22.bz2 testfile23.bz2 testfile24.bz2 testfile25.bz2 \
356*7304104dSAndroid Build Coastguard Worker	     testfile26.bz2 testfile27.bz2 \
357*7304104dSAndroid Build Coastguard Worker	     coverage.sh test-subr.sh test-wrapper.sh debuginfod-subr.sh \
358*7304104dSAndroid Build Coastguard Worker	     run-readelf-test1.sh run-readelf-test2.sh run-readelf-test3.sh \
359*7304104dSAndroid Build Coastguard Worker	     run-readelf-test4.sh run-readelf-twofiles.sh \
360*7304104dSAndroid Build Coastguard Worker	     run-bug1-test.sh testfile28.bz2 testfile28.rdwr.bz2 \
361*7304104dSAndroid Build Coastguard Worker	     run-debuglink.sh run-debugaltlink.sh run-buildid.sh \
362*7304104dSAndroid Build Coastguard Worker	     testfile29.bz2 testfile29.rdwr.bz2 \
363*7304104dSAndroid Build Coastguard Worker	     testfile30.bz2 testfile31.bz2 testfile32.bz2 testfile33.bz2 \
364*7304104dSAndroid Build Coastguard Worker	     testfile34.bz2 testfile35.bz2 testfile35.debug.bz2 \
365*7304104dSAndroid Build Coastguard Worker	     testfile36.bz2 testfile36.debug.bz2 \
366*7304104dSAndroid Build Coastguard Worker	     testfile37.bz2 testfile37.debug.bz2 \
367*7304104dSAndroid Build Coastguard Worker	     testfile38.bz2 testfile39.bz2 testfile40.bz2 testfile40.debug.bz2 \
368*7304104dSAndroid Build Coastguard Worker	     testfile41.bz2 testfile42.bz2 testfile42_noshdrs.bz2 \
369*7304104dSAndroid Build Coastguard Worker	     testfile43.bz2 \
370*7304104dSAndroid Build Coastguard Worker	     testfile44.S.bz2 testfile44.expect.bz2 run-disasm-x86.sh \
371*7304104dSAndroid Build Coastguard Worker	     testfile45.S.bz2 testfile45.expect.bz2 run-disasm-x86-64.sh \
372*7304104dSAndroid Build Coastguard Worker	     testfile46.bz2 testfile47.bz2 testfile48.bz2 testfile48.debug.bz2 \
373*7304104dSAndroid Build Coastguard Worker	     testfile49.bz2 testfile50.bz2 testfile51.bz2 \
374*7304104dSAndroid Build Coastguard Worker	     testfile-macros-0xff.bz2 \
375*7304104dSAndroid Build Coastguard Worker	     run-readelf-macro.sh testfilemacro.bz2 \
376*7304104dSAndroid Build Coastguard Worker	     run-readelf-loc.sh testfileloc.bz2 \
377*7304104dSAndroid Build Coastguard Worker	     splitdwarf4-not-split4.dwo.bz2 \
378*7304104dSAndroid Build Coastguard Worker	     testfile-splitdwarf4-not-split4.debug.bz2 \
379*7304104dSAndroid Build Coastguard Worker	     run-readelf-ranges.sh \
380*7304104dSAndroid Build Coastguard Worker	     run-readelf-aranges.sh run-readelf-line.sh testfilefoobarbaz.bz2 \
381*7304104dSAndroid Build Coastguard Worker	     testfile-ppc64-min-instr.bz2 \
382*7304104dSAndroid Build Coastguard Worker	     testfile-dwarf-45.source \
383*7304104dSAndroid Build Coastguard Worker	     testfile-dwarf-4.bz2 testfile-dwarf-5.bz2 \
384*7304104dSAndroid Build Coastguard Worker	     run-readelf-z.sh \
385*7304104dSAndroid Build Coastguard Worker	     run-readelf-dwz-multi.sh libtestfile_multi_shared.so.bz2 \
386*7304104dSAndroid Build Coastguard Worker	     testfile_multi.dwz.bz2 testfile_multi_main.bz2 \
387*7304104dSAndroid Build Coastguard Worker	     testfile-dwzstr.bz2 testfile-dwzstr.multi.bz2 \
388*7304104dSAndroid Build Coastguard Worker	     run-readelf-arm-flags.sh testfile-arm-flags.bz2 \
389*7304104dSAndroid Build Coastguard Worker	     run-readelf-addr.sh run-readelf-str.sh \
390*7304104dSAndroid Build Coastguard Worker	     run-readelf-multi-noline.sh testfile_multi_noline.bz2 \
391*7304104dSAndroid Build Coastguard Worker	     run-readelf-types.sh \
392*7304104dSAndroid Build Coastguard Worker	     run-readelf-frames.sh \
393*7304104dSAndroid Build Coastguard Worker	     run-readelf-n.sh \
394*7304104dSAndroid Build Coastguard Worker	     testfile-gnu-property-note.bz2 testfile-gnu-property-note.o.bz2 \
395*7304104dSAndroid Build Coastguard Worker	     testfile_gnu_props.32le.o.bz2 \
396*7304104dSAndroid Build Coastguard Worker	     testfile_gnu_props.64le.o.bz2 \
397*7304104dSAndroid Build Coastguard Worker	     testfile_gnu_props.32be.o.bz2 \
398*7304104dSAndroid Build Coastguard Worker	     testfile_gnu_props.64be.o.bz2 \
399*7304104dSAndroid Build Coastguard Worker	     testfile-gnu-property-note-aarch64.bz2 \
400*7304104dSAndroid Build Coastguard Worker	     run-retain.sh testfile-retain.o.bz2 \
401*7304104dSAndroid Build Coastguard Worker	     run-allfcts-multi.sh \
402*7304104dSAndroid Build Coastguard Worker	     test-offset-loop.bz2 test-offset-loop.alt.bz2 \
403*7304104dSAndroid Build Coastguard Worker	     run-prelink-addr-test.sh \
404*7304104dSAndroid Build Coastguard Worker	     testfile52-32.so.bz2 testfile52-32.so.debug.bz2 \
405*7304104dSAndroid Build Coastguard Worker	     testfile52-32.prelink.so.bz2 testfile52-32.noshdrs.so.bz2 \
406*7304104dSAndroid Build Coastguard Worker	     testfile52-64.so.bz2 testfile52-64.so.debug.bz2 \
407*7304104dSAndroid Build Coastguard Worker	     testfile52-64.prelink.so.bz2 testfile52-64.noshdrs.so.bz2 \
408*7304104dSAndroid Build Coastguard Worker	     testfile53-32.bz2 testfile53-32.debug.bz2 \
409*7304104dSAndroid Build Coastguard Worker	     testfile53-32.prelink.bz2 testfile53-64.bz2 \
410*7304104dSAndroid Build Coastguard Worker	     testfile53-64.debug.bz2 testfile53-64.prelink.bz2 \
411*7304104dSAndroid Build Coastguard Worker	     testfile54-32.so.bz2 testfile54-32.so.debug.bz2 \
412*7304104dSAndroid Build Coastguard Worker	     testfile54-32.prelink.so.bz2 testfile54-32.noshdrs.so.bz2 \
413*7304104dSAndroid Build Coastguard Worker	     testfile54-64.so.bz2 testfile54-64.so.debug.bz2 \
414*7304104dSAndroid Build Coastguard Worker	     testfile54-64.prelink.so.bz2 testfile54-64.noshdrs.so.bz2 \
415*7304104dSAndroid Build Coastguard Worker	     testfile55-32.bz2 testfile55-32.debug.bz2 \
416*7304104dSAndroid Build Coastguard Worker	     testfile55-32.prelink.bz2 testfile55-64.bz2 \
417*7304104dSAndroid Build Coastguard Worker	     testfile55-64.debug.bz2 testfile55-64.prelink.bz2 \
418*7304104dSAndroid Build Coastguard Worker	     testfile56.bz2 testfile57.bz2 testfile58.bz2 \
419*7304104dSAndroid Build Coastguard Worker	     run-typeiter.sh testfile59.bz2 \
420*7304104dSAndroid Build Coastguard Worker	     run-readelf-d.sh testlib_dynseg.so.bz2 \
421*7304104dSAndroid Build Coastguard Worker	     run-readelf-Dd.sh \
422*7304104dSAndroid Build Coastguard Worker	     testfile-s390x-hash-both.bz2 \
423*7304104dSAndroid Build Coastguard Worker	     run-readelf-gdb_index.sh testfilegdbindex5.bz2 \
424*7304104dSAndroid Build Coastguard Worker	     testfilegdbindex7.bz2 testfilegdbindex9.bz2 \
425*7304104dSAndroid Build Coastguard Worker	     testfilegdbindex9-no-maininfo.bz2 \
426*7304104dSAndroid Build Coastguard Worker	     run-readelf-s.sh testfilebazdbg.bz2 testfilebazdyn.bz2 \
427*7304104dSAndroid Build Coastguard Worker	     testfilebazmin.bz2 testfilebazdbg.debug.bz2 testfilebazmdb.bz2 \
428*7304104dSAndroid Build Coastguard Worker	     testfilebaztab.bz2 testfilebasmin.bz2 testfilebaxmin.bz2 \
429*7304104dSAndroid Build Coastguard Worker	     testfilebazdbg_pl.bz2 testfilebazmin_pl.bz2 \
430*7304104dSAndroid Build Coastguard Worker	     testfilebazdbg_plr.bz2 testfilebazmin_plr.bz2 \
431*7304104dSAndroid Build Coastguard Worker	     testfilebazdbgppc64.bz2 testfilebazdbgppc64.debug.bz2 \
432*7304104dSAndroid Build Coastguard Worker	     testfilebazdbgppc64_pl.bz2 testfilebazdbgppc64_plr.bz2 \
433*7304104dSAndroid Build Coastguard Worker	     testfilebazdynppc64.bz2 testfilebazmdbppc64.bz2 \
434*7304104dSAndroid Build Coastguard Worker	     testfilebazminppc64.bz2 testfilebazminppc64_pl.bz2 \
435*7304104dSAndroid Build Coastguard Worker	     testfilebazminppc64_plr.bz2 testfilebaztabppc64.bz2 \
436*7304104dSAndroid Build Coastguard Worker	     run-readelf-variant.sh testfile-ada-variant.bz2 \
437*7304104dSAndroid Build Coastguard Worker	     run-readelf-fat-lto.sh testfile-dwarf5-fat-lto.o.bz2 \
438*7304104dSAndroid Build Coastguard Worker	     run-dwflsyms.sh \
439*7304104dSAndroid Build Coastguard Worker	     run-unstrip-n.sh testcore-rtlib.bz2 testcore-rtlib-ppc.bz2 \
440*7304104dSAndroid Build Coastguard Worker	     run-low_high_pc.sh testfile_low_high_pc.bz2 \
441*7304104dSAndroid Build Coastguard Worker	     run-macro-test.sh testfile-macinfo.bz2 testfile-macros.bz2 \
442*7304104dSAndroid Build Coastguard Worker	     run-elf_cntl_gelf_getshdr.sh \
443*7304104dSAndroid Build Coastguard Worker	     run-test-archive64.sh testarchive64.a.bz2 \
444*7304104dSAndroid Build Coastguard Worker	     testfile61.bz2 \
445*7304104dSAndroid Build Coastguard Worker	     run-readelf-vmcoreinfo.sh testfile62.bz2 \
446*7304104dSAndroid Build Coastguard Worker	     run-readelf-mixed-corenote.sh testfile63.bz2 testfile64.bz2 \
447*7304104dSAndroid Build Coastguard Worker	     testfile65.bz2 testfile67.bz2 testfile68.bz2 \
448*7304104dSAndroid Build Coastguard Worker	     testfile69.core.bz2 testfile69.so.bz2 \
449*7304104dSAndroid Build Coastguard Worker	     testfile70.core.bz2 testfile70.exec.bz2 testfile71.bz2 \
450*7304104dSAndroid Build Coastguard Worker	     run-dwfllines.sh run-dwfl-report-elf-align.sh \
451*7304104dSAndroid Build Coastguard Worker	     run-dwfl-report-offline-memory.sh \
452*7304104dSAndroid Build Coastguard Worker	     testfile-dwfl-report-elf-align-shlib.so.bz2 \
453*7304104dSAndroid Build Coastguard Worker	     testfilenolines.bz2 test-core-lib.so.bz2 test-core.core.bz2 \
454*7304104dSAndroid Build Coastguard Worker	     test-core.exec.bz2 run-addr2line-test.sh \
455*7304104dSAndroid Build Coastguard Worker	     run-addr2line-C-test.sh \
456*7304104dSAndroid Build Coastguard Worker	     run-addr2line-i-test.sh testfile-inlines.bz2 \
457*7304104dSAndroid Build Coastguard Worker	     testfile-inlines-lto.bz2 \
458*7304104dSAndroid Build Coastguard Worker	     run-addr2line-i-lex-test.sh testfile-lex-inlines.bz2 \
459*7304104dSAndroid Build Coastguard Worker	     run-addr2line-i-demangle-test.sh run-addr2line-alt-debugpath.sh \
460*7304104dSAndroid Build Coastguard Worker	     testfileppc32.bz2 testfileppc64.bz2 \
461*7304104dSAndroid Build Coastguard Worker	     testfiles390.bz2 testfiles390x.bz2 \
462*7304104dSAndroid Build Coastguard Worker	     testfilearm.bz2 testfileaarch64.bz2 \
463*7304104dSAndroid Build Coastguard Worker	     run-varlocs.sh run-exprlocs.sh run-varlocs-vars.sh \
464*7304104dSAndroid Build Coastguard Worker	     testfile-vars-clang-dwarf4-32.o.bz2 \
465*7304104dSAndroid Build Coastguard Worker	     testfile-vars-clang-dwarf4-64.o.bz2 \
466*7304104dSAndroid Build Coastguard Worker	     testfile-vars-clang-dwarf5-32.o.bz2 \
467*7304104dSAndroid Build Coastguard Worker	     testfile-vars-clang-dwarf5-64.o.bz2 \
468*7304104dSAndroid Build Coastguard Worker	     testfile-vars-gcc-dwarf4-32.o.bz2 \
469*7304104dSAndroid Build Coastguard Worker	     testfile-vars-gcc-dwarf4-64.o.bz2 \
470*7304104dSAndroid Build Coastguard Worker	     testfile-vars-gcc-dwarf5-32.o.bz2 \
471*7304104dSAndroid Build Coastguard Worker	     testfile-vars-gcc-dwarf5-64.o.bz2 \
472*7304104dSAndroid Build Coastguard Worker	     testfile-stridex.bz2 \
473*7304104dSAndroid Build Coastguard Worker	     testfile_const_type.c testfile_const_type.bz2 \
474*7304104dSAndroid Build Coastguard Worker	     testfile_implicit_pointer.c testfile_implicit_pointer.bz2 \
475*7304104dSAndroid Build Coastguard Worker	     testfile_parameter_ref.c testfile_parameter_ref.bz2 \
476*7304104dSAndroid Build Coastguard Worker	     testfile_entry_value.c testfile_entry_value.bz2 \
477*7304104dSAndroid Build Coastguard Worker	     testfile_implicit_value.c testfile_implicit_value.bz2 \
478*7304104dSAndroid Build Coastguard Worker	     testfile_aarch64_core.bz2 testfile_i686_core.bz2 \
479*7304104dSAndroid Build Coastguard Worker	     addrx_constx-4.dwo.bz2 addrx_constx-5.dwo.bz2 \
480*7304104dSAndroid Build Coastguard Worker	     testfile-addrx_constx-4.bz2 testfile-addrx_constx-5.bz2 \
481*7304104dSAndroid Build Coastguard Worker	     run-funcretval.sh funcretval_test.c funcretval_test_aarch64.bz2 \
482*7304104dSAndroid Build Coastguard Worker	     run-backtrace-data.sh run-backtrace-dwarf.sh cleanup-13.c \
483*7304104dSAndroid Build Coastguard Worker	     run-backtrace-native.sh run-backtrace-native-biarch.sh \
484*7304104dSAndroid Build Coastguard Worker	     run-backtrace-native-core.sh run-backtrace-native-core-biarch.sh \
485*7304104dSAndroid Build Coastguard Worker	     run-backtrace-core-x86_64.sh run-backtrace-core-i386.sh \
486*7304104dSAndroid Build Coastguard Worker	     run-backtrace-fp-core-x86_64.sh \
487*7304104dSAndroid Build Coastguard Worker	     run-backtrace-core-x32.sh \
488*7304104dSAndroid Build Coastguard Worker	     run-backtrace-fp-core-aarch64.sh \
489*7304104dSAndroid Build Coastguard Worker	     backtrace.aarch64.fp.core.bz2 backtrace.aarch64.fp.exec.bz2 \
490*7304104dSAndroid Build Coastguard Worker	     backtrace-subr.sh backtrace.i386.core.bz2 backtrace.i386.exec.bz2 \
491*7304104dSAndroid Build Coastguard Worker	     run-backtrace-fp-core-i386.sh \
492*7304104dSAndroid Build Coastguard Worker	     backtrace.i386.fp.core.bz2 backtrace.i386.fp.exec.bz2 \
493*7304104dSAndroid Build Coastguard Worker	     run-backtrace-fp-core-ppc64le.sh \
494*7304104dSAndroid Build Coastguard Worker	     backtrace.ppc64le.fp.core.bz2 backtrace.ppc64le.fp.exec.bz2 \
495*7304104dSAndroid Build Coastguard Worker	     backtrace.x86_64.core.bz2 backtrace.x86_64.exec.bz2 \
496*7304104dSAndroid Build Coastguard Worker	     backtrace.x86_64.fp.core.bz2 backtrace.x86_64.fp.exec.bz2 \
497*7304104dSAndroid Build Coastguard Worker	     backtrace.ppc.core.bz2 backtrace.ppc.exec.bz2 \
498*7304104dSAndroid Build Coastguard Worker	     run-backtrace-core-ppc.sh testfile66.bz2 testfile66.core.bz2 \
499*7304104dSAndroid Build Coastguard Worker	     backtrace.s390x.core.bz2 backtrace.s390x.exec.bz2 \
500*7304104dSAndroid Build Coastguard Worker	     backtrace.s390.core.bz2 backtrace.s390.exec.bz2 \
501*7304104dSAndroid Build Coastguard Worker	     run-backtrace-core-s390x.sh run-backtrace-core-s390.sh \
502*7304104dSAndroid Build Coastguard Worker	     run-backtrace-core-aarch64.sh \
503*7304104dSAndroid Build Coastguard Worker	     backtrace.aarch64.core.bz2 backtrace.aarch64.exec.bz2 \
504*7304104dSAndroid Build Coastguard Worker	     run-backtrace-core-sparc.sh \
505*7304104dSAndroid Build Coastguard Worker	     backtrace.sparc.core.bz2 backtrace.sparc.exec.bz2 \
506*7304104dSAndroid Build Coastguard Worker	     run-backtrace-demangle.sh testfile-backtrace-demangle.bz2 \
507*7304104dSAndroid Build Coastguard Worker	     testfile-backtrace-demangle.cc \
508*7304104dSAndroid Build Coastguard Worker	     testfile-backtrace-demangle.core.bz2 \
509*7304104dSAndroid Build Coastguard Worker	     run-stack-d-test.sh run-stack-i-test.sh \
510*7304104dSAndroid Build Coastguard Worker	     run-stack-demangled-test.sh \
511*7304104dSAndroid Build Coastguard Worker	     testfiledwarfinlines.bz2 testfiledwarfinlines.core.bz2 \
512*7304104dSAndroid Build Coastguard Worker	     run-readelf-zdebug.sh testfile-debug.bz2 testfile-zdebug.bz2 \
513*7304104dSAndroid Build Coastguard Worker	     run-readelf-zdebug-rel.sh testfile-debug-rel.o.bz2 \
514*7304104dSAndroid Build Coastguard Worker	     testfile-debug-rel-g.o.bz2 testfile-debug-rel-z.o.bz2 \
515*7304104dSAndroid Build Coastguard Worker	     run-readelf-zx.sh run-readelf-zp.sh \
516*7304104dSAndroid Build Coastguard Worker	     run-deleted.sh run-linkmap-cut.sh linkmap-cut-lib.so.bz2 \
517*7304104dSAndroid Build Coastguard Worker	     linkmap-cut.bz2 linkmap-cut.core.bz2 \
518*7304104dSAndroid Build Coastguard Worker	     run-aggregate-size.sh testfile-sizes1.o.bz2 testfile-sizes2.o.bz2 \
519*7304104dSAndroid Build Coastguard Worker	     testfile-sizes3.o.bz2 testfile-sizes4.o.bz2 testfile-sizes4.s \
520*7304104dSAndroid Build Coastguard Worker	     run-peel-type.sh \
521*7304104dSAndroid Build Coastguard Worker	     run-readelf-A.sh testfileppc32attrs.o.bz2 \
522*7304104dSAndroid Build Coastguard Worker	     testfilesparc64attrs.o.bz2 testfileppc64attrs.o.bz2 \
523*7304104dSAndroid Build Coastguard Worker	     testfile-debug-types.bz2 \
524*7304104dSAndroid Build Coastguard Worker	     run-getsrc-die.sh run-strptr.sh \
525*7304104dSAndroid Build Coastguard Worker	     testfile-x32-core.bz2 testfile-x32.bz2 \
526*7304104dSAndroid Build Coastguard Worker	     backtrace.x32.core.bz2 backtrace.x32.exec.bz2 \
527*7304104dSAndroid Build Coastguard Worker	     testfile-x32-s.bz2 testfile-x32-d.bz2 testfile-x32-debug.bz2 \
528*7304104dSAndroid Build Coastguard Worker	     run-lfs-symbols.sh lfs-symbols testfile-nolfs.bz2 \
529*7304104dSAndroid Build Coastguard Worker	     testfile-zgnu32.bz2 testfile-zgnu64.bz2 \
530*7304104dSAndroid Build Coastguard Worker	     testfile-zgnu32be.bz2 testfile-zgnu64be.bz2 \
531*7304104dSAndroid Build Coastguard Worker	     run-dwelfgnucompressed.sh \
532*7304104dSAndroid Build Coastguard Worker	     testfile-zgabi32.bz2 testfile-zgabi64.bz2 \
533*7304104dSAndroid Build Coastguard Worker	     testfile-zgabi32be.bz2 testfile-zgabi64be.bz2 \
534*7304104dSAndroid Build Coastguard Worker	     run-elfgetchdr.sh run-elfgetzdata.sh run-elfputzdata.sh \
535*7304104dSAndroid Build Coastguard Worker	     run-zstrptr.sh run-compress-test.sh \
536*7304104dSAndroid Build Coastguard Worker	     run-disasm-bpf.sh \
537*7304104dSAndroid Build Coastguard Worker	     testfile-bpf-dis1.expect.bz2 testfile-bpf-dis1.o.bz2 \
538*7304104dSAndroid Build Coastguard Worker	     run-reloc-bpf.sh \
539*7304104dSAndroid Build Coastguard Worker	     testfile-bpf-reloc.expect.bz2 testfile-bpf-reloc.o.bz2 \
540*7304104dSAndroid Build Coastguard Worker	     testfile-m68k-core.bz2 testfile-m68k.bz2 testfile-m68k-s.bz2 \
541*7304104dSAndroid Build Coastguard Worker	     run-dwarf-die-addr-die.sh \
542*7304104dSAndroid Build Coastguard Worker	     run-get-units-invalid.sh run-get-units-split.sh \
543*7304104dSAndroid Build Coastguard Worker	     testfile-hello4.dwo.bz2 testfile-hello5.dwo.bz2 \
544*7304104dSAndroid Build Coastguard Worker	     testfile-splitdwarf-4.bz2 testfile-splitdwarf-5.bz2 \
545*7304104dSAndroid Build Coastguard Worker	     testfile-world5.dwo.bz2 testfile-world4.dwo.bz2 \
546*7304104dSAndroid Build Coastguard Worker	     run-attr-integrate-skel.sh \
547*7304104dSAndroid Build Coastguard Worker	     run-all-dwarf-ranges.sh testfilesplitranges4.debug.bz2 \
548*7304104dSAndroid Build Coastguard Worker	     testfile-ranges-hello.dwo.bz2 testfile-ranges-world.dwo.bz2 \
549*7304104dSAndroid Build Coastguard Worker	     run-unit-info.sh run-next-cfi.sh run-next-cfi-self.sh \
550*7304104dSAndroid Build Coastguard Worker	     testfile-riscv64.bz2 testfile-riscv64-s.bz2 \
551*7304104dSAndroid Build Coastguard Worker	     testfile-riscv64-core.bz2 \
552*7304104dSAndroid Build Coastguard Worker	     run-reverse-sections.sh run-reverse-sections-self.sh \
553*7304104dSAndroid Build Coastguard Worker	     run-copyadd-sections.sh test-copymany-subr.sh \
554*7304104dSAndroid Build Coastguard Worker	     run-copymany-be32.sh run-copymany-le32.sh \
555*7304104dSAndroid Build Coastguard Worker	     run-copymany-be64.sh run-copymany-le64.sh \
556*7304104dSAndroid Build Coastguard Worker	     run-large-elf-file.sh \
557*7304104dSAndroid Build Coastguard Worker	     run-typeiter-many.sh run-strip-test-many.sh \
558*7304104dSAndroid Build Coastguard Worker	     testfile-debug-rel-ppc64-g.o.bz2 \
559*7304104dSAndroid Build Coastguard Worker	     testfile-debug-rel-ppc64-z.o.bz2 \
560*7304104dSAndroid Build Coastguard Worker	     testfile-debug-rel-ppc64.o.bz2 \
561*7304104dSAndroid Build Coastguard Worker	     run-strip-version.sh testfile-version.bz2 \
562*7304104dSAndroid Build Coastguard Worker	     run-xlate-note.sh \
563*7304104dSAndroid Build Coastguard Worker	     run-readelf-discr.sh \
564*7304104dSAndroid Build Coastguard Worker	     testfile-rng.debug.bz2 testfile-urng.debug.bz2 \
565*7304104dSAndroid Build Coastguard Worker	     run-dwelf_elf_e_machine_string.sh \
566*7304104dSAndroid Build Coastguard Worker	     run-elfclassify.sh run-elfclassify-self.sh \
567*7304104dSAndroid Build Coastguard Worker	     run-disasm-riscv64.sh \
568*7304104dSAndroid Build Coastguard Worker	     testfile-riscv64-dis1.o.bz2 testfile-riscv64-dis1.expect.bz2 \
569*7304104dSAndroid Build Coastguard Worker             run-debuginfod-extraction.sh \
570*7304104dSAndroid Build Coastguard Worker             run-debuginfod-federation-link.sh \
571*7304104dSAndroid Build Coastguard Worker             run-debuginfod-federation-metrics.sh \
572*7304104dSAndroid Build Coastguard Worker             run-debuginfod-artifact-running.sh \
573*7304104dSAndroid Build Coastguard Worker             run-debuginfod-federation-sqlite.sh \
574*7304104dSAndroid Build Coastguard Worker             run-debuginfod-x-forwarded-for.sh \
575*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-fd-prefetch-caches.sh \
576*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-regex.sh \
577*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-duplicate-urls.sh \
578*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-file.sh \
579*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-sizetime.sh \
580*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-dlopen.sh \
581*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-malformed.sh \
582*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-negative-cache.sh \
583*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-tmp-home.sh \
584*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-writable.sh \
585*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-no-urls.sh \
586*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-query-retry.sh \
587*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-archive-groom.sh \
588*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-archive-rename.sh \
589*7304104dSAndroid Build Coastguard Worker             run-debuginfod-archive-test.sh \
590*7304104dSAndroid Build Coastguard Worker             run-debuginfod-percent-escape.sh \
591*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-response-headers.sh \
592*7304104dSAndroid Build Coastguard Worker             run-debuginfod-extraction-passive.sh \
593*7304104dSAndroid Build Coastguard Worker             run-debuginfod-webapi-concurrency.sh \
594*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-section.sh \
595*7304104dSAndroid Build Coastguard Worker	     run-debuginfod-IXr.sh \
596*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/fedora30/hello2-1.0-2.src.rpm \
597*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/fedora30/hello2-1.0-2.x86_64.rpm \
598*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/fedora30/hello2-debuginfo-1.0-2.x86_64.rpm \
599*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/fedora30/hello2-debugsource-1.0-2.x86_64.rpm \
600*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/fedora30/hello2-two-1.0-2.x86_64.rpm \
601*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/fedora30/hello2-two-debuginfo-1.0-2.x86_64.rpm \
602*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/fedora31/hello3-1.0-2.src.rpm \
603*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/fedora31/hello3-1.0-2.x86_64.rpm \
604*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/fedora31/hello3-debuginfo-1.0-2.x86_64.rpm \
605*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/fedora31/hello3-debugsource-1.0-2.x86_64.rpm \
606*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/fedora31/hello3-two-1.0-2.x86_64.rpm \
607*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/fedora31/hello3-two-debuginfo-1.0-2.x86_64.rpm \
608*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/hello2.specfile \
609*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/hello3.specfile \
610*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/rhel6/hello2-1.0-2.i686.rpm \
611*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/rhel6/hello2-1.0-2.src.rpm \
612*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/rhel6/hello2-debuginfo-1.0-2.i686.rpm \
613*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/rhel6/hello2-two-1.0-2.i686.rpm \
614*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/rhel7/hello2-1.0-2.src.rpm \
615*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/rhel7/hello2-1.0-2.x86_64.rpm \
616*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/rhel7/hello2-debuginfo-1.0-2.x86_64.rpm \
617*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/rhel7/hello2-two-1.0-2.x86_64.rpm \
618*7304104dSAndroid Build Coastguard Worker	     debuginfod-rpms/rhel7/hello2-two-1.0-2.x86_64.rpm \
619*7304104dSAndroid Build Coastguard Worker	     debuginfod-debs/hithere-dbgsym_1.0-1_amd64.ddeb \
620*7304104dSAndroid Build Coastguard Worker	     debuginfod-debs/hithere_1.0-1.debian.tar.xz \
621*7304104dSAndroid Build Coastguard Worker	     debuginfod-debs/hithere_1.0-1.dsc \
622*7304104dSAndroid Build Coastguard Worker	     debuginfod-debs/hithere_1.0-1_amd64.deb \
623*7304104dSAndroid Build Coastguard Worker	     debuginfod-debs/hithere_1.0.orig.tar.gz \
624*7304104dSAndroid Build Coastguard Worker	     debuginfod-tars/hello-1-1-x86_64.pkg.tar.xz \
625*7304104dSAndroid Build Coastguard Worker	     debuginfod-tars/hello-debug-1-1-x86_64.pkg.tar.bz2 \
626*7304104dSAndroid Build Coastguard Worker	     debuginfod-tars/pacman-sources/PKGBUILD \
627*7304104dSAndroid Build Coastguard Worker	     debuginfod-tars/pacman-sources/README.md \
628*7304104dSAndroid Build Coastguard Worker	     debuginfod-tars/pacman-sources/hello.c \
629*7304104dSAndroid Build Coastguard Worker	     run-pt_gnu_prop-tests.sh \
630*7304104dSAndroid Build Coastguard Worker	     testfile_pt_gnu_prop.bz2 testfile_pt_gnu_prop32.bz2 \
631*7304104dSAndroid Build Coastguard Worker	     run-getphdrnum.sh testfile-phdrs.elf.bz2 \
632*7304104dSAndroid Build Coastguard Worker	     run-test-includes.sh run-low_high_pc-dw-form-indirect.sh \
633*7304104dSAndroid Build Coastguard Worker	     run-readelf-dw-form-indirect.sh testfile-dw-form-indirect.bz2 \
634*7304104dSAndroid Build Coastguard Worker	     run-nvidia-extended-linemap-libdw.sh run-nvidia-extended-linemap-readelf.sh \
635*7304104dSAndroid Build Coastguard Worker	     testfile_nvidia_linemap.bz2 \
636*7304104dSAndroid Build Coastguard Worker	     testfile-largealign.o.bz2 run-strip-largealign.sh \
637*7304104dSAndroid Build Coastguard Worker	     run-funcretval++11.sh \
638*7304104dSAndroid Build Coastguard Worker	     test-ar-duplicates.a.bz2 \
639*7304104dSAndroid Build Coastguard Worker	     run-dwfl-core-noncontig.sh testcore-noncontig.bz2 \
640*7304104dSAndroid Build Coastguard Worker	     testfile-dwarf5-line-clang.bz2 \
641*7304104dSAndroid Build Coastguard Worker	     testfile-dwp-4.bz2 testfile-dwp-4.dwp.bz2 \
642*7304104dSAndroid Build Coastguard Worker	     testfile-dwp-4-strict.bz2 testfile-dwp-4-strict.dwp.bz2 \
643*7304104dSAndroid Build Coastguard Worker	     testfile-dwp-5.bz2 testfile-dwp-5.dwp.bz2 testfile-dwp.source \
644*7304104dSAndroid Build Coastguard Worker	     run-cu-dwp-section-info.sh run-declfiles.sh \
645*7304104dSAndroid Build Coastguard Worker	     testfile-dwp-5-cu-index-overflow.bz2 \
646*7304104dSAndroid Build Coastguard Worker	     testfile-dwp-5-cu-index-overflow.dwp.bz2 \
647*7304104dSAndroid Build Coastguard Worker	     testfile-dwp-4-cu-index-overflow.bz2 \
648*7304104dSAndroid Build Coastguard Worker	     testfile-dwp-4-cu-index-overflow.dwp.bz2 \
649*7304104dSAndroid Build Coastguard Worker	     testfile-dwp-cu-index-overflow.source
650*7304104dSAndroid Build Coastguard Worker
651*7304104dSAndroid Build Coastguard Worker
652*7304104dSAndroid Build Coastguard Workerif USE_VALGRIND
653*7304104dSAndroid Build Coastguard Workervalgrind_cmd=valgrind -q --leak-check=full --error-exitcode=1
654*7304104dSAndroid Build Coastguard Workerendif
655*7304104dSAndroid Build Coastguard Worker
656*7304104dSAndroid Build Coastguard Worker
657*7304104dSAndroid Build Coastguard Workerinstalled_TESTS_ENVIRONMENT = libdir='$(DESTDIR)$(libdir)'; \
658*7304104dSAndroid Build Coastguard Worker			      bindir='$(DESTDIR)$(bindir)'; \
659*7304104dSAndroid Build Coastguard Worker			      LC_ALL=C; LANG=C; \
660*7304104dSAndroid Build Coastguard Worker			      VALGRIND_CMD='$(valgrind_cmd)'; \
661*7304104dSAndroid Build Coastguard Worker			      abs_srcdir='$(abs_srcdir)'; \
662*7304104dSAndroid Build Coastguard Worker			      abs_builddir='$(abs_builddir)'; \
663*7304104dSAndroid Build Coastguard Worker			      abs_top_builddir='$(abs_top_builddir)'; \
664*7304104dSAndroid Build Coastguard Worker			      export abs_srcdir; export abs_builddir; \
665*7304104dSAndroid Build Coastguard Worker			      export abs_top_builddir; \
666*7304104dSAndroid Build Coastguard Worker			      export libdir; export bindir; \
667*7304104dSAndroid Build Coastguard Worker			      export LC_ALL; export LANG; export VALGRIND_CMD; \
668*7304104dSAndroid Build Coastguard Worker			      unset DEBUGINFOD_URLS; \
669*7304104dSAndroid Build Coastguard Worker			      NM='$(NM)'; export NM; \
670*7304104dSAndroid Build Coastguard Worker			      CC='$(CC)'; export CC;
671*7304104dSAndroid Build Coastguard Workerinstalled_LOG_COMPILER = $(abs_srcdir)/test-wrapper.sh \
672*7304104dSAndroid Build Coastguard Worker			 installed $(tests_rpath) \
673*7304104dSAndroid Build Coastguard Worker			 '$(program_transform_name)'
674*7304104dSAndroid Build Coastguard WorkerTESTS_ENVIRONMENT = LC_ALL=C; LANG=C; VALGRIND_CMD='$(valgrind_cmd)'; \
675*7304104dSAndroid Build Coastguard Worker		    abs_srcdir='$(abs_srcdir)'; \
676*7304104dSAndroid Build Coastguard Worker		    abs_builddir='$(abs_builddir)'; \
677*7304104dSAndroid Build Coastguard Worker		    abs_top_builddir='$(abs_top_builddir)'; \
678*7304104dSAndroid Build Coastguard Worker		    export abs_srcdir; export abs_builddir; \
679*7304104dSAndroid Build Coastguard Worker		    export abs_top_builddir; \
680*7304104dSAndroid Build Coastguard Worker		    export LC_ALL; export LANG; export VALGRIND_CMD; \
681*7304104dSAndroid Build Coastguard Worker		    unset DEBUGINFOD_URLS; \
682*7304104dSAndroid Build Coastguard Worker		    NM='$(NM)'; export NM; \
683*7304104dSAndroid Build Coastguard Worker		    CC='$(CC)'; export CC;
684*7304104dSAndroid Build Coastguard WorkerLOG_COMPILER = $(abs_srcdir)/test-wrapper.sh \
685*7304104dSAndroid Build Coastguard Worker	       $(abs_top_builddir)/libdw:$(abs_top_builddir)/backends:$(abs_top_builddir)/libelf:$(abs_top_builddir)/libasm:$(abs_top_builddir)/debuginfod
686*7304104dSAndroid Build Coastguard Worker
687*7304104dSAndroid Build Coastguard Workerinstallcheck-local:
688*7304104dSAndroid Build Coastguard Worker	$(MAKE) $(AM_MAKEFLAGS) \
689*7304104dSAndroid Build Coastguard Worker		TESTS_ENVIRONMENT="$(installed_TESTS_ENVIRONMENT)" \
690*7304104dSAndroid Build Coastguard Worker		LOG_COMPILER="$(installed_LOG_COMPILER)" check-TESTS
691*7304104dSAndroid Build Coastguard Worker
692*7304104dSAndroid Build Coastguard Workerif BUILD_STATIC
693*7304104dSAndroid Build Coastguard Workerlibdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) $(libebl) -ldl -lpthread
694*7304104dSAndroid Build Coastguard Workerlibelf = ../libelf/libelf.a -lz $(zstd_LIBS)
695*7304104dSAndroid Build Coastguard Workerlibasm = ../libasm/libasm.a
696*7304104dSAndroid Build Coastguard Workerelse
697*7304104dSAndroid Build Coastguard Workerlibdw = ../libdw/libdw.so
698*7304104dSAndroid Build Coastguard Workerlibelf = ../libelf/libelf.so
699*7304104dSAndroid Build Coastguard Workerlibasm = ../libasm/libasm.so
700*7304104dSAndroid Build Coastguard Workerendif
701*7304104dSAndroid Build Coastguard Workerlibebl = ../libebl/libebl.a ../backends/libebl_backends.a ../libcpu/libcpu.a
702*7304104dSAndroid Build Coastguard Workerlibeu = ../lib/libeu.a
703*7304104dSAndroid Build Coastguard Worker
704*7304104dSAndroid Build Coastguard Workerarextract_LDADD = $(libelf)
705*7304104dSAndroid Build Coastguard Workerarsymtest_LDADD = $(libelf)
706*7304104dSAndroid Build Coastguard Workernewfile_LDADD = $(libelf)
707*7304104dSAndroid Build Coastguard Workersaridx_LDADD = $(libeu) $(libelf)
708*7304104dSAndroid Build Coastguard Workerscnnames_LDADD = $(libelf)
709*7304104dSAndroid Build Coastguard Workersectiondump_LDADD = $(libeu) $(libelf)
710*7304104dSAndroid Build Coastguard Workershowptable_LDADD = $(libelf)
711*7304104dSAndroid Build Coastguard Workerhash_LDADD = $(libelf)
712*7304104dSAndroid Build Coastguard Workertest_nlist_CFLAGS =-g -O0 $(EXTRA_NLIST_CFLAGS)
713*7304104dSAndroid Build Coastguard Workertest_nlist_LDADD = $(libelf)
714*7304104dSAndroid Build Coastguard Workermsg_tst_LDADD = $(libelf)
715*7304104dSAndroid Build Coastguard Workernewscn_LDADD = $(libelf)
716*7304104dSAndroid Build Coastguard Workerearly_offscn_LDADD = $(libeu) $(libelf)
717*7304104dSAndroid Build Coastguard Workerecp_LDADD = $(libeu) $(libelf)
718*7304104dSAndroid Build Coastguard Workerupdate1_LDADD = $(libelf)
719*7304104dSAndroid Build Coastguard Workerupdate2_LDADD = $(libelf)
720*7304104dSAndroid Build Coastguard Workerupdate3_LDADD = $(libdw) $(libelf)
721*7304104dSAndroid Build Coastguard Workerupdate4_LDADD = $(libdw) $(libelf)
722*7304104dSAndroid Build Coastguard Workershow_die_info_LDADD = $(libdw) $(libelf)
723*7304104dSAndroid Build Coastguard Workerget_pubnames_LDADD = $(libdw) $(libelf)
724*7304104dSAndroid Build Coastguard Workershow_abbrev_LDADD = $(libdw) $(libelf)
725*7304104dSAndroid Build Coastguard Workerget_lines_LDADD = $(libdw) $(libelf)
726*7304104dSAndroid Build Coastguard Workernext_lines_LDADD = $(libdw) $(libelf)
727*7304104dSAndroid Build Coastguard Workerget_files_LDADD = $(libdw) $(libelf)
728*7304104dSAndroid Build Coastguard Workernext_files_LDADD = $(libdw) $(libelf)
729*7304104dSAndroid Build Coastguard Workerget_aranges_LDADD = $(libdw) $(libelf)
730*7304104dSAndroid Build Coastguard Workerallfcts_LDADD = $(libdw) $(libelf)
731*7304104dSAndroid Build Coastguard Workerline2addr_LDADD = $(libeu) $(libdw) $(argp_LDADD)
732*7304104dSAndroid Build Coastguard Workeraddrscopes_LDADD = $(libeu) $(libdw) $(argp_LDADD)
733*7304104dSAndroid Build Coastguard Workerfuncscopes_LDADD = $(libeu) $(libdw) $(argp_LDADD)
734*7304104dSAndroid Build Coastguard Workerfuncretval_LDADD = $(libeu) $(libdw) $(argp_LDADD)
735*7304104dSAndroid Build Coastguard Workerallregs_LDADD = $(libeu) $(libdw) $(argp_LDADD)
736*7304104dSAndroid Build Coastguard Workerfind_prologues_LDADD = $(libeu) $(libdw) $(argp_LDADD)
737*7304104dSAndroid Build Coastguard Worker#show_ciefde_LDADD = ../libdwarf/libdwarf.so $(libelf)
738*7304104dSAndroid Build Coastguard Workerasm_tst1_LDADD = $(libasm) $(libebl) $(libelf) $(libdw)
739*7304104dSAndroid Build Coastguard Workerasm_tst2_LDADD = $(libasm) $(libebl) $(libelf) $(libdw)
740*7304104dSAndroid Build Coastguard Workerasm_tst3_LDADD = $(libasm) $(libebl) $(libelf) $(libdw)
741*7304104dSAndroid Build Coastguard Workerasm_tst4_LDADD = $(libasm) $(libebl) $(libelf) $(libdw)
742*7304104dSAndroid Build Coastguard Workerasm_tst5_LDADD = $(libasm) $(libebl) $(libelf) $(libdw)
743*7304104dSAndroid Build Coastguard Workerasm_tst6_LDADD = $(libasm) $(libebl) $(libelf) $(libdw)
744*7304104dSAndroid Build Coastguard Workerasm_tst7_LDADD = $(libasm) $(libebl) $(libelf) $(libdw)
745*7304104dSAndroid Build Coastguard Workerasm_tst8_LDADD = $(libasm) $(libebl) $(libelf) $(libdw)
746*7304104dSAndroid Build Coastguard Workerasm_tst9_LDADD = $(libasm) $(libebl) $(libelf) $(libdw)
747*7304104dSAndroid Build Coastguard Workerdwflmodtest_LDADD = $(libeu) $(libdw) $(libebl) $(libelf) $(argp_LDADD)
748*7304104dSAndroid Build Coastguard Workerrdwrmmap_LDADD = $(libeu) $(libelf)
749*7304104dSAndroid Build Coastguard Workerdwfl_bug_addr_overflow_LDADD = $(libdw) $(libebl) $(libelf)
750*7304104dSAndroid Build Coastguard Workerarls_LDADD = $(libelf)
751*7304104dSAndroid Build Coastguard Workerdwfl_bug_fd_leak_LDADD = $(libeu) $(libdw) $(libebl) $(libelf)
752*7304104dSAndroid Build Coastguard Workerdwfl_bug_report_LDADD = $(libdw) $(libebl) $(libelf)
753*7304104dSAndroid Build Coastguard Workerdwfl_bug_getmodules_LDADD = $(libeu) $(libdw) $(libebl) $(libelf)
754*7304104dSAndroid Build Coastguard Workerdwfl_addr_sect_LDADD = $(libeu) $(libdw) $(libebl) $(libelf) $(argp_LDADD)
755*7304104dSAndroid Build Coastguard Workerdwfl_core_noncontig_LDADD = $(libdw) $(libelf)
756*7304104dSAndroid Build Coastguard Workerdwarf_getmacros_LDADD = $(libdw)
757*7304104dSAndroid Build Coastguard Workerdwarf_ranges_LDADD = $(libdw)
758*7304104dSAndroid Build Coastguard Workerdwarf_getstring_LDADD = $(libdw)
759*7304104dSAndroid Build Coastguard Workeraddrcfi_LDADD = $(libdw) $(libebl) $(libelf) $(argp_LDADD)
760*7304104dSAndroid Build Coastguard Workerdwarfcfi_LDADD = $(libeu) $(libdw) $(libelf)
761*7304104dSAndroid Build Coastguard Workertest_flag_nobits_LDADD = $(libelf)
762*7304104dSAndroid Build Coastguard Workerrerequest_tag_LDADD = $(libdw)
763*7304104dSAndroid Build Coastguard Workeralldts_LDADD = $(libdw) $(libelf)
764*7304104dSAndroid Build Coastguard Workertypeiter_LDADD = $(libdw) $(libelf)
765*7304104dSAndroid Build Coastguard Workertypeiter2_LDADD = $(libdw) $(libelf)
766*7304104dSAndroid Build Coastguard Workerlow_high_pc_LDADD = $(libdw) $(libelf) $(argp_LDADD)
767*7304104dSAndroid Build Coastguard Workertest_elf_cntl_gelf_getshdr_LDADD = $(libelf)
768*7304104dSAndroid Build Coastguard Workerdwflsyms_LDADD = $(libdw) $(libelf) $(argp_LDADD)
769*7304104dSAndroid Build Coastguard Workerdwfllines_LDADD = $(libeu) $(libdw) $(libelf) $(argp_LDADD)
770*7304104dSAndroid Build Coastguard Workerdwfl_report_elf_align_LDADD = $(libeu) $(libdw)
771*7304104dSAndroid Build Coastguard Workerdwfl_report_offline_memory_LDADD = $(libeu) $(libdw) $(libelf)
772*7304104dSAndroid Build Coastguard Workerdwfl_report_segment_contiguous_LDADD = $(libdw) $(libebl) $(libelf)
773*7304104dSAndroid Build Coastguard Workervarlocs_LDADD = $(libeu) $(libdw) $(libelf) $(argp_LDADD)
774*7304104dSAndroid Build Coastguard Workerbacktrace_LDADD = $(libeu) $(libdw) $(libelf) $(argp_LDADD)
775*7304104dSAndroid Build Coastguard Worker# backtrace-child-biarch also uses those *_CFLAGS and *_LDLAGS variables:
776*7304104dSAndroid Build Coastguard Workerbacktrace_child_CFLAGS = $(fpie_CFLAGS)
777*7304104dSAndroid Build Coastguard Workerbacktrace_child_LDFLAGS = -pie -pthread
778*7304104dSAndroid Build Coastguard Workerbacktrace_child_biarch_SOURCES = backtrace-child.c
779*7304104dSAndroid Build Coastguard Workerbacktrace_data_LDADD = $(libeu) $(libdw) $(libelf)
780*7304104dSAndroid Build Coastguard Workerbacktrace_dwarf_CFLAGS = -Wno-unused-parameter
781*7304104dSAndroid Build Coastguard Workerbacktrace_dwarf_LDADD = $(libeu) $(libdw) $(libelf)
782*7304104dSAndroid Build Coastguard Workerdebuglink_LDADD = $(libeu) $(libdw) $(libelf)
783*7304104dSAndroid Build Coastguard Workerdebugaltlink_LDADD = $(libeu) $(libdw) $(libelf)
784*7304104dSAndroid Build Coastguard Workerbuildid_LDADD = $(libeu) $(libdw) $(libelf)
785*7304104dSAndroid Build Coastguard Workerdeleted_LDADD = ./deleted-lib.so
786*7304104dSAndroid Build Coastguard Workerdeleted_lib_so_LDFLAGS = -shared
787*7304104dSAndroid Build Coastguard Workerdeleted_lib_so_CFLAGS = $(fpic_CFLAGS) -fasynchronous-unwind-tables
788*7304104dSAndroid Build Coastguard Workeraggregate_size_LDADD = $(libdw) $(libelf) $(argp_LDADD)
789*7304104dSAndroid Build Coastguard Workerpeel_type_LDADD = $(libdw) $(libelf) $(argp_LDADD)
790*7304104dSAndroid Build Coastguard Workervdsosyms_LDADD = $(libeu) $(libdw) $(libelf)
791*7304104dSAndroid Build Coastguard Workergetsrc_die_LDADD = $(libeu) $(libdw) $(libelf)
792*7304104dSAndroid Build Coastguard Workerstrptr_LDADD = $(libelf)
793*7304104dSAndroid Build Coastguard Workernewdata_LDADD = $(libelf)
794*7304104dSAndroid Build Coastguard Workerelfstrtab_LDADD = $(libelf)
795*7304104dSAndroid Build Coastguard Workerdwfl_proc_attach_LDADD = $(libeu) $(libdw)
796*7304104dSAndroid Build Coastguard Workerdwfl_proc_attach_LDFLAGS = -pthread -rdynamic $(AM_LDFLAGS)
797*7304104dSAndroid Build Coastguard Workerelfshphehdr_LDADD =$(libelf)
798*7304104dSAndroid Build Coastguard Workerelfstrmerge_LDADD = $(libeu) $(libdw) $(libelf)
799*7304104dSAndroid Build Coastguard Workerdwelfgnucompressed_LDADD = $(libelf) $(libdw)
800*7304104dSAndroid Build Coastguard Workerelfgetchdr_LDADD = $(libelf) $(libdw)
801*7304104dSAndroid Build Coastguard Workerelfgetzdata_LDADD = $(libelf)
802*7304104dSAndroid Build Coastguard Workerelfputzdata_LDADD = $(libelf)
803*7304104dSAndroid Build Coastguard Workerzstrptr_LDADD = $(libelf)
804*7304104dSAndroid Build Coastguard Workeremptyfile_LDADD = $(libelf)
805*7304104dSAndroid Build Coastguard Workervendorelf_LDADD = $(libelf)
806*7304104dSAndroid Build Coastguard Workerfillfile_LDADD = $(libelf)
807*7304104dSAndroid Build Coastguard Workerdwarf_default_lower_bound_LDADD = $(libdw)
808*7304104dSAndroid Build Coastguard Workerdwarf_die_addr_die_LDADD = $(libdw)
809*7304104dSAndroid Build Coastguard Workerget_units_invalid_LDADD = $(libdw)
810*7304104dSAndroid Build Coastguard Workerget_units_split_LDADD = $(libdw)
811*7304104dSAndroid Build Coastguard Workerattr_integrate_skel_LDADD = $(libdw)
812*7304104dSAndroid Build Coastguard Workerall_dwarf_ranges_LDADD = $(libdw)
813*7304104dSAndroid Build Coastguard Workerunit_info_LDADD = $(libdw)
814*7304104dSAndroid Build Coastguard Workernext_cfi_LDADD = $(libeu) $(libelf) $(libdw)
815*7304104dSAndroid Build Coastguard Workerelfcopy_LDADD = $(libelf)
816*7304104dSAndroid Build Coastguard Workeraddsections_LDADD = $(libelf)
817*7304104dSAndroid Build Coastguard Workerdebuginfod_build_id_find_LDADD = $(libelf) $(libdw)
818*7304104dSAndroid Build Coastguard Workerxlate_notes_LDADD = $(libelf)
819*7304104dSAndroid Build Coastguard Workerelfrdwrnop_LDADD = $(libelf)
820*7304104dSAndroid Build Coastguard Workerdwelf_elf_e_machine_string_LDADD = $(libelf) $(libdw)
821*7304104dSAndroid Build Coastguard Workergetphdrnum_LDADD = $(libelf) $(libdw)
822*7304104dSAndroid Build Coastguard Workerleb128_LDADD = $(libelf) $(libdw)
823*7304104dSAndroid Build Coastguard Workerread_unaligned_LDADD = $(libelf) $(libdw)
824*7304104dSAndroid Build Coastguard Workernvidia_extended_linemap_libdw_LDADD = $(libelf) $(libdw)
825*7304104dSAndroid Build Coastguard Workerelf_print_reloc_syms_LDADD = $(libelf)
826*7304104dSAndroid Build Coastguard Workercu_dwp_section_info_LDADD = $(libdw)
827*7304104dSAndroid Build Coastguard Workerdeclfiles_LDADD = $(libdw)
828*7304104dSAndroid Build Coastguard Worker
829*7304104dSAndroid Build Coastguard Worker# We want to test the libelf headers against the system elf.h header.
830*7304104dSAndroid Build Coastguard Worker# Don't include any -I CPPFLAGS. Except when we install our own elf.h.
831*7304104dSAndroid Build Coastguard Worker# For the gelf test we do want our own libelf.h, but nothing else.
832*7304104dSAndroid Build Coastguard WorkerBUILT_SOURCES = libelf.h
833*7304104dSAndroid Build Coastguard WorkerCLEANFILES += libelf.h
834*7304104dSAndroid Build Coastguard Workerlibelf.h: $(top_srcdir)/libelf/libelf.h
835*7304104dSAndroid Build Coastguard Worker	cp $< $@
836*7304104dSAndroid Build Coastguard Workerif !INSTALL_ELFH
837*7304104dSAndroid Build Coastguard Workersystem_elf_libelf_test_CPPFLAGS =
838*7304104dSAndroid Build Coastguard Workersystem_elf_gelf_test_CPPFLAGS = -I.
839*7304104dSAndroid Build Coastguard Workerelse
840*7304104dSAndroid Build Coastguard Workersystem_elf_libelf_test_CPPFLAGS = -I$(top_srcdir)/libelf
841*7304104dSAndroid Build Coastguard Workersystem_elf_gelf_test_CPPFLAGS = -I$(top_srcdir)/libelf
842*7304104dSAndroid Build Coastguard Workerendif
843*7304104dSAndroid Build Coastguard Workersystem_elf_libelf_test_LDADD = $(libelf)
844*7304104dSAndroid Build Coastguard Workersystem_elf_gelf_test_LDADD = $(libelf)
845*7304104dSAndroid Build Coastguard Worker
846*7304104dSAndroid Build Coastguard Worker# A lock file used to make sure only one test dumps core at a time
847*7304104dSAndroid Build Coastguard WorkerCLEANFILES += core-dump-backtrace.lock
848*7304104dSAndroid Build Coastguard Worker
849*7304104dSAndroid Build Coastguard Workerif GCOV
850*7304104dSAndroid Build Coastguard Workercheck: check-am coverage
851*7304104dSAndroid Build Coastguard Worker.PHONY: coverage
852*7304104dSAndroid Build Coastguard Workercoverage:
853*7304104dSAndroid Build Coastguard Worker	-$(srcdir)/coverage.sh
854*7304104dSAndroid Build Coastguard Workerendif
855