root/tools/build/feature/test-all.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. main

   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_gettid
  42 # include "test-gettid.c"
  43 #undef main
  44 
  45 #define main main_test_glibc
  46 # include "test-glibc.c"
  47 #undef main
  48 
  49 #define main main_test_dwarf
  50 # include "test-dwarf.c"
  51 #undef main
  52 
  53 #define main main_test_dwarf_getlocations
  54 # include "test-dwarf_getlocations.c"
  55 #undef main
  56 
  57 #define main main_test_eventfd
  58 # include "test-eventfd.c"
  59 #undef main
  60 
  61 #define main main_test_libelf_getphdrnum
  62 # include "test-libelf-getphdrnum.c"
  63 #undef main
  64 
  65 #define main main_test_libelf_gelf_getnote
  66 # include "test-libelf-gelf_getnote.c"
  67 #undef main
  68 
  69 #define main main_test_libelf_getshdrstrndx
  70 # include "test-libelf-getshdrstrndx.c"
  71 #undef main
  72 
  73 #define main main_test_libunwind
  74 # include "test-libunwind.c"
  75 #undef main
  76 
  77 #define main main_test_libaudit
  78 # include "test-libaudit.c"
  79 #undef main
  80 
  81 #define main main_test_libslang
  82 # include "test-libslang.c"
  83 #undef main
  84 
  85 #define main main_test_gtk2
  86 # include "test-gtk2.c"
  87 #undef main
  88 
  89 #define main main_test_gtk2_infobar
  90 # include "test-gtk2-infobar.c"
  91 #undef main
  92 
  93 #define main main_test_libbfd
  94 # include "test-libbfd.c"
  95 #undef main
  96 
  97 #define main main_test_backtrace
  98 # include "test-backtrace.c"
  99 #undef main
 100 
 101 #define main main_test_libnuma
 102 # include "test-libnuma.c"
 103 #undef main
 104 
 105 #define main main_test_numa_num_possible_cpus
 106 # include "test-numa_num_possible_cpus.c"
 107 #undef main
 108 
 109 #define main main_test_timerfd
 110 # include "test-timerfd.c"
 111 #undef main
 112 
 113 #define main main_test_stackprotector_all
 114 # include "test-stackprotector-all.c"
 115 #undef main
 116 
 117 #define main main_test_libdw_dwarf_unwind
 118 # include "test-libdw-dwarf-unwind.c"
 119 #undef main
 120 
 121 #define main main_test_sync_compare_and_swap
 122 # include "test-sync-compare-and-swap.c"
 123 #undef main
 124 
 125 #define main main_test_zlib
 126 # include "test-zlib.c"
 127 #undef main
 128 
 129 #define main main_test_pthread_attr_setaffinity_np
 130 # include "test-pthread-attr-setaffinity-np.c"
 131 #undef main
 132 
 133 #define main main_test_pthread_barrier
 134 # include "test-pthread-barrier.c"
 135 #undef main
 136 
 137 #define main main_test_sched_getcpu
 138 # include "test-sched_getcpu.c"
 139 #undef main
 140 
 141 # if 0
 142 /*
 143  * Disable libbabeltrace check for test-all, because the requested
 144  * library version is not released yet in most distributions. Will
 145  * reenable later.
 146  */
 147 
 148 #define main main_test_libbabeltrace
 149 # include "test-libbabeltrace.c"
 150 #undef main
 151 #endif
 152 
 153 #define main main_test_lzma
 154 # include "test-lzma.c"
 155 #undef main
 156 
 157 #define main main_test_get_cpuid
 158 # include "test-get_cpuid.c"
 159 #undef main
 160 
 161 #define main main_test_bpf
 162 # include "test-bpf.c"
 163 #undef main
 164 
 165 #define main main_test_libcrypto
 166 # include "test-libcrypto.c"
 167 #undef main
 168 
 169 #define main main_test_sdt
 170 # include "test-sdt.c"
 171 #undef main
 172 
 173 #define main main_test_setns
 174 # include "test-setns.c"
 175 #undef main
 176 
 177 #define main main_test_libaio
 178 # include "test-libaio.c"
 179 #undef main
 180 
 181 #define main main_test_reallocarray
 182 # include "test-reallocarray.c"
 183 #undef main
 184 
 185 #define main main_test_disassembler_four_args
 186 # include "test-disassembler-four-args.c"
 187 #undef main
 188 
 189 #define main main_test_libzstd
 190 # include "test-libzstd.c"
 191 #undef main
 192 
 193 int main(int argc, char *argv[])
 194 {
 195         main_test_libpython();
 196         main_test_libpython_version();
 197         main_test_libperl();
 198         main_test_hello();
 199         main_test_libelf();
 200         main_test_libelf_mmap();
 201         main_test_get_current_dir_name();
 202         main_test_gettid();
 203         main_test_glibc();
 204         main_test_dwarf();
 205         main_test_dwarf_getlocations();
 206         main_test_eventfd();
 207         main_test_libelf_getphdrnum();
 208         main_test_libelf_gelf_getnote();
 209         main_test_libelf_getshdrstrndx();
 210         main_test_libunwind();
 211         main_test_libaudit();
 212         main_test_libslang();
 213         main_test_gtk2(argc, argv);
 214         main_test_gtk2_infobar(argc, argv);
 215         main_test_libbfd();
 216         main_test_backtrace();
 217         main_test_libnuma();
 218         main_test_numa_num_possible_cpus();
 219         main_test_timerfd();
 220         main_test_stackprotector_all();
 221         main_test_libdw_dwarf_unwind();
 222         main_test_sync_compare_and_swap(argc, argv);
 223         main_test_zlib();
 224         main_test_pthread_attr_setaffinity_np();
 225         main_test_pthread_barrier();
 226         main_test_lzma();
 227         main_test_get_cpuid();
 228         main_test_bpf();
 229         main_test_libcrypto();
 230         main_test_sched_getcpu();
 231         main_test_sdt();
 232         main_test_setns();
 233         main_test_libaio();
 234         main_test_reallocarray();
 235         main_test_disassembler_four_args();
 236         main_test_libzstd();
 237 
 238         return 0;
 239 }

/* [<][>][^][v][top][bottom][index][help] */