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_libelf_getphdrnum
45 # include "test-libelf-getphdrnum.c"
48 #define main main_test_libunwind
49 # include "test-libunwind.c"
52 #define main main_test_libaudit
53 # include "test-libaudit.c"
56 #define main main_test_libslang
57 # include "test-libslang.c"
60 #define main main_test_gtk2
61 # include "test-gtk2.c"
64 #define main main_test_gtk2_infobar
65 # include "test-gtk2-infobar.c"
68 #define main main_test_libbfd
69 # include "test-libbfd.c"
72 #define main main_test_backtrace
73 # include "test-backtrace.c"
76 #define main main_test_libnuma
77 # include "test-libnuma.c"
80 #define main main_test_numa_num_possible_cpus
81 # include "test-numa_num_possible_cpus.c"
84 #define main main_test_timerfd
85 # include "test-timerfd.c"
88 #define main main_test_stackprotector_all
89 # include "test-stackprotector-all.c"
92 #define main main_test_libdw_dwarf_unwind
93 # include "test-libdw-dwarf-unwind.c"
96 #define main main_test_sync_compare_and_swap
97 # include "test-sync-compare-and-swap.c"
100 #define main main_test_zlib
101 # include "test-zlib.c"
104 #define main main_test_pthread_attr_setaffinity_np
105 # include "test-pthread-attr-setaffinity-np.c"
110 * Disable libbabeltrace check for test-all, because the requested
111 * library version is not released yet in most distributions. Will
115 #define main main_test_libbabeltrace
116 # include "test-libbabeltrace.c"
120 #define main main_test_lzma
121 # include "test-lzma.c"
124 #define main main_test_get_cpuid
125 # include "test-get_cpuid.c"
128 #define main main_test_bpf
129 # include "test-bpf.c"
132 #define main main_test_libcrypto
133 # include "test-libcrypto.c"
136 int main(int argc
, char *argv
[])
138 main_test_libpython();
139 main_test_libpython_version();
143 main_test_libelf_mmap();
146 main_test_libelf_getphdrnum();
147 main_test_libunwind();
148 main_test_libaudit();
149 main_test_libslang();
150 main_test_gtk2(argc
, argv
);
151 main_test_gtk2_infobar(argc
, argv
);
153 main_test_backtrace();
155 main_test_numa_num_possible_cpus();
157 main_test_stackprotector_all();
158 main_test_libdw_dwarf_unwind();
159 main_test_sync_compare_and_swap(argc
, argv
);
161 main_test_pthread_attr_setaffinity_np();
163 main_test_get_cpuid();
165 main_test_libcrypto();