2 * test-all.c: Try to build all the main testcases at once.
4 * A well-configured system will have all the prereqs installed, so we can speed
5 * up auto-detection on such systems.
9 * Quirk: Python and Perl headers cannot be in arbitrary places, so keep
10 * these 3 testcases at the top:
12 #define main main_test_libpython
13 # include "test-libpython.c"
16 #define main main_test_libpython_version
17 # include "test-libpython-version.c"
20 #define main main_test_libperl
21 # include "test-libperl.c"
24 #define main main_test_hello
25 # include "test-hello.c"
28 #define main main_test_libelf
29 # include "test-libelf.c"
32 #define main main_test_libelf_mmap
33 # include "test-libelf-mmap.c"
36 #define main main_test_glibc
37 # include "test-glibc.c"
40 #define main main_test_dwarf
41 # include "test-dwarf.c"
44 #define main main_test_dwarf_getlocations
45 # include "test-dwarf_getlocations.c"
48 #define main main_test_libelf_getphdrnum
49 # include "test-libelf-getphdrnum.c"
52 #define main main_test_libelf_gelf_getnote
53 # include "test-libelf-gelf_getnote.c"
56 #define main main_test_libelf_getshdrstrndx
57 # include "test-libelf-getshdrstrndx.c"
60 #define main main_test_libunwind
61 # include "test-libunwind.c"
64 #define main main_test_libaudit
65 # include "test-libaudit.c"
68 #define main main_test_libslang
69 # include "test-libslang.c"
72 #define main main_test_gtk2
73 # include "test-gtk2.c"
76 #define main main_test_gtk2_infobar
77 # include "test-gtk2-infobar.c"
80 #define main main_test_libbfd
81 # include "test-libbfd.c"
84 #define main main_test_backtrace
85 # include "test-backtrace.c"
88 #define main main_test_libnuma
89 # include "test-libnuma.c"
92 #define main main_test_numa_num_possible_cpus
93 # include "test-numa_num_possible_cpus.c"
96 #define main main_test_timerfd
97 # include "test-timerfd.c"
100 #define main main_test_stackprotector_all
101 # include "test-stackprotector-all.c"
104 #define main main_test_libdw_dwarf_unwind
105 # include "test-libdw-dwarf-unwind.c"
108 #define main main_test_sync_compare_and_swap
109 # include "test-sync-compare-and-swap.c"
112 #define main main_test_zlib
113 # include "test-zlib.c"
116 #define main main_test_pthread_attr_setaffinity_np
117 # include "test-pthread-attr-setaffinity-np.c"
120 #define main main_test_sched_getcpu
121 # include "test-sched_getcpu.c"
126 * Disable libbabeltrace check for test-all, because the requested
127 * library version is not released yet in most distributions. Will
131 #define main main_test_libbabeltrace
132 # include "test-libbabeltrace.c"
136 #define main main_test_lzma
137 # include "test-lzma.c"
140 #define main main_test_get_cpuid
141 # include "test-get_cpuid.c"
144 #define main main_test_bpf
145 # include "test-bpf.c"
148 #define main main_test_libcrypto
149 # include "test-libcrypto.c"
152 #define main main_test_sdt
153 # include "test-sdt.c"
156 int main(int argc, char *argv[])
158 main_test_libpython();
159 main_test_libpython_version();
163 main_test_libelf_mmap();
166 main_test_dwarf_getlocations();
167 main_test_libelf_getphdrnum();
168 main_test_libelf_gelf_getnote();
169 main_test_libelf_getshdrstrndx();
170 main_test_libunwind();
171 main_test_libaudit();
172 main_test_libslang();
173 main_test_gtk2(argc, argv);
174 main_test_gtk2_infobar(argc, argv);
176 main_test_backtrace();
178 main_test_numa_num_possible_cpus();
180 main_test_stackprotector_all();
181 main_test_libdw_dwarf_unwind();
182 main_test_sync_compare_and_swap(argc, argv);
184 main_test_pthread_attr_setaffinity_np();
186 main_test_get_cpuid();
188 main_test_libcrypto();
189 main_test_sched_getcpu();