~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/build/feature/test-all.c

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /tools/build/feature/test-all.c (Version linux-6.11-rc3) and /tools/build/feature/test-all.c (Version linux-5.2.21)


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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php