x86/ldt: Further fix FPU emulation
[linux/fpc-iii.git] / tools / build / feature / test-all.c
blob84689a67814a9a622bd3f12b69fe5a8f5733a499
1 /*
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.
6 */
8 /*
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"
14 #undef main
16 #define main main_test_libpython_version
17 # include "test-libpython-version.c"
18 #undef main
20 #define main main_test_libperl
21 # include "test-libperl.c"
22 #undef main
24 #define main main_test_hello
25 # include "test-hello.c"
26 #undef main
28 #define main main_test_libelf
29 # include "test-libelf.c"
30 #undef main
32 #define main main_test_libelf_mmap
33 # include "test-libelf-mmap.c"
34 #undef main
36 #define main main_test_glibc
37 # include "test-glibc.c"
38 #undef main
40 #define main main_test_dwarf
41 # include "test-dwarf.c"
42 #undef main
44 #define main main_test_libelf_getphdrnum
45 # include "test-libelf-getphdrnum.c"
46 #undef main
48 #define main main_test_libunwind
49 # include "test-libunwind.c"
50 #undef main
52 #define main main_test_libaudit
53 # include "test-libaudit.c"
54 #undef main
56 #define main main_test_libslang
57 # include "test-libslang.c"
58 #undef main
60 #define main main_test_gtk2
61 # include "test-gtk2.c"
62 #undef main
64 #define main main_test_gtk2_infobar
65 # include "test-gtk2-infobar.c"
66 #undef main
68 #define main main_test_libbfd
69 # include "test-libbfd.c"
70 #undef main
72 #define main main_test_backtrace
73 # include "test-backtrace.c"
74 #undef main
76 #define main main_test_libnuma
77 # include "test-libnuma.c"
78 #undef main
80 #define main main_test_timerfd
81 # include "test-timerfd.c"
82 #undef main
84 #define main main_test_stackprotector_all
85 # include "test-stackprotector-all.c"
86 #undef main
88 #define main main_test_libdw_dwarf_unwind
89 # include "test-libdw-dwarf-unwind.c"
90 #undef main
92 #define main main_test_sync_compare_and_swap
93 # include "test-sync-compare-and-swap.c"
94 #undef main
96 #define main main_test_zlib
97 # include "test-zlib.c"
98 #undef main
100 #define main main_test_pthread_attr_setaffinity_np
101 # include "test-pthread-attr-setaffinity-np.c"
102 #undef main
104 # if 0
106 * Disable libbabeltrace check for test-all, because the requested
107 * library version is not released yet in most distributions. Will
108 * reenable later.
111 #define main main_test_libbabeltrace
112 # include "test-libbabeltrace.c"
113 #undef main
114 #endif
116 #define main main_test_lzma
117 # include "test-lzma.c"
118 #undef main
120 int main(int argc, char *argv[])
122 main_test_libpython();
123 main_test_libpython_version();
124 main_test_libperl();
125 main_test_hello();
126 main_test_libelf();
127 main_test_libelf_mmap();
128 main_test_glibc();
129 main_test_dwarf();
130 main_test_libelf_getphdrnum();
131 main_test_libunwind();
132 main_test_libaudit();
133 main_test_libslang();
134 main_test_gtk2(argc, argv);
135 main_test_gtk2_infobar(argc, argv);
136 main_test_libbfd();
137 main_test_backtrace();
138 main_test_libnuma();
139 main_test_timerfd();
140 main_test_stackprotector_all();
141 main_test_libdw_dwarf_unwind();
142 main_test_sync_compare_and_swap(argc, argv);
143 main_test_zlib();
144 main_test_pthread_attr_setaffinity_np();
145 main_test_lzma();
147 return 0;