]> asedeno.scripts.mit.edu Git - linux.git/blob - tools/build/feature/test-all.c
Merge branches 'iommu/fixes', 'arm/renesas', 'arm/mediatek', 'arm/tegra', 'arm/omap...
[linux.git] / tools / build / feature / test-all.c
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * test-all.c: Try to build all the main testcases at once.
4  *
5  * A well-configured system will have all the prereqs installed, so we can speed
6  * up auto-detection on such systems.
7  */
8
9 /*
10  * Quirk: Python and Perl headers cannot be in arbitrary places, so keep
11  * these 3 testcases at the top:
12  */
13 #define main main_test_libpython
14 # include "test-libpython.c"
15 #undef main
16
17 #define main main_test_libpython_version
18 # include "test-libpython-version.c"
19 #undef main
20
21 #define main main_test_libperl
22 # include "test-libperl.c"
23 #undef main
24
25 #define main main_test_hello
26 # include "test-hello.c"
27 #undef main
28
29 #define main main_test_libelf
30 # include "test-libelf.c"
31 #undef main
32
33 #define main main_test_libelf_mmap
34 # include "test-libelf-mmap.c"
35 #undef main
36
37 #define main main_test_get_current_dir_name
38 # include "test-get_current_dir_name.c"
39 #undef main
40
41 #define main main_test_glibc
42 # include "test-glibc.c"
43 #undef main
44
45 #define main main_test_dwarf
46 # include "test-dwarf.c"
47 #undef main
48
49 #define main main_test_dwarf_getlocations
50 # include "test-dwarf_getlocations.c"
51 #undef main
52
53 #define main main_test_libelf_getphdrnum
54 # include "test-libelf-getphdrnum.c"
55 #undef main
56
57 #define main main_test_libelf_gelf_getnote
58 # include "test-libelf-gelf_getnote.c"
59 #undef main
60
61 #define main main_test_libelf_getshdrstrndx
62 # include "test-libelf-getshdrstrndx.c"
63 #undef main
64
65 #define main main_test_libunwind
66 # include "test-libunwind.c"
67 #undef main
68
69 #define main main_test_libaudit
70 # include "test-libaudit.c"
71 #undef main
72
73 #define main main_test_libslang
74 # include "test-libslang.c"
75 #undef main
76
77 #define main main_test_gtk2
78 # include "test-gtk2.c"
79 #undef main
80
81 #define main main_test_gtk2_infobar
82 # include "test-gtk2-infobar.c"
83 #undef main
84
85 #define main main_test_libbfd
86 # include "test-libbfd.c"
87 #undef main
88
89 #define main main_test_backtrace
90 # include "test-backtrace.c"
91 #undef main
92
93 #define main main_test_libnuma
94 # include "test-libnuma.c"
95 #undef main
96
97 #define main main_test_numa_num_possible_cpus
98 # include "test-numa_num_possible_cpus.c"
99 #undef main
100
101 #define main main_test_timerfd
102 # include "test-timerfd.c"
103 #undef main
104
105 #define main main_test_stackprotector_all
106 # include "test-stackprotector-all.c"
107 #undef main
108
109 #define main main_test_libdw_dwarf_unwind
110 # include "test-libdw-dwarf-unwind.c"
111 #undef main
112
113 #define main main_test_sync_compare_and_swap
114 # include "test-sync-compare-and-swap.c"
115 #undef main
116
117 #define main main_test_zlib
118 # include "test-zlib.c"
119 #undef main
120
121 #define main main_test_pthread_attr_setaffinity_np
122 # include "test-pthread-attr-setaffinity-np.c"
123 #undef main
124
125 #define main main_test_pthread_barrier
126 # include "test-pthread-barrier.c"
127 #undef main
128
129 #define main main_test_sched_getcpu
130 # include "test-sched_getcpu.c"
131 #undef main
132
133 # if 0
134 /*
135  * Disable libbabeltrace check for test-all, because the requested
136  * library version is not released yet in most distributions. Will
137  * reenable later.
138  */
139
140 #define main main_test_libbabeltrace
141 # include "test-libbabeltrace.c"
142 #undef main
143 #endif
144
145 #define main main_test_lzma
146 # include "test-lzma.c"
147 #undef main
148
149 #define main main_test_get_cpuid
150 # include "test-get_cpuid.c"
151 #undef main
152
153 #define main main_test_bpf
154 # include "test-bpf.c"
155 #undef main
156
157 #define main main_test_libcrypto
158 # include "test-libcrypto.c"
159 #undef main
160
161 #define main main_test_sdt
162 # include "test-sdt.c"
163 #undef main
164
165 #define main main_test_setns
166 # include "test-setns.c"
167 #undef main
168
169 #define main main_test_libopencsd
170 # include "test-libopencsd.c"
171 #undef main
172
173 int main(int argc, char *argv[])
174 {
175         main_test_libpython();
176         main_test_libpython_version();
177         main_test_libperl();
178         main_test_hello();
179         main_test_libelf();
180         main_test_libelf_mmap();
181         main_test_get_current_dir_name();
182         main_test_glibc();
183         main_test_dwarf();
184         main_test_dwarf_getlocations();
185         main_test_libelf_getphdrnum();
186         main_test_libelf_gelf_getnote();
187         main_test_libelf_getshdrstrndx();
188         main_test_libunwind();
189         main_test_libaudit();
190         main_test_libslang();
191         main_test_gtk2(argc, argv);
192         main_test_gtk2_infobar(argc, argv);
193         main_test_libbfd();
194         main_test_backtrace();
195         main_test_libnuma();
196         main_test_numa_num_possible_cpus();
197         main_test_timerfd();
198         main_test_stackprotector_all();
199         main_test_libdw_dwarf_unwind();
200         main_test_sync_compare_and_swap(argc, argv);
201         main_test_zlib();
202         main_test_pthread_attr_setaffinity_np();
203         main_test_pthread_barrier();
204         main_test_lzma();
205         main_test_get_cpuid();
206         main_test_bpf();
207         main_test_libcrypto();
208         main_test_sched_getcpu();
209         main_test_sdt();
210         main_test_setns();
211         main_test_libopencsd();
212
213         return 0;
214 }