]> git.karo-electronics.de Git - karo-tx-linux.git/blob - tools/perf/config/feature-checks/test-all.c
Merge branch 'x86/uv'
[karo-tx-linux.git] / tools / perf / config / feature-checks / test-all.c
1 /*
2  * test-all.c: Try to build all the main testcases at once.
3  *
4  * A well-configured system will have all the prereqs installed, so we can speed
5  * up auto-detection on such systems.
6  */
7
8 /*
9  * Quirk: Python and Perl headers cannot be in arbitrary places, so keep
10  * these 3 testcases at the top:
11  */
12 #define main main_test_libpython
13 # include "test-libpython.c"
14 #undef main
15
16 #define main main_test_libpython_version
17 # include "test-libpython-version.c"
18 #undef main
19
20 #define main main_test_libperl
21 # include "test-libperl.c"
22 #undef main
23
24 #define main main_test_hello
25 # include "test-hello.c"
26 #undef main
27
28 #define main main_test_libelf
29 # include "test-libelf.c"
30 #undef main
31
32 #define main main_test_libelf_mmap
33 # include "test-libelf-mmap.c"
34 #undef main
35
36 #define main main_test_glibc
37 # include "test-glibc.c"
38 #undef main
39
40 #define main main_test_dwarf
41 # include "test-dwarf.c"
42 #undef main
43
44 #define main main_test_libelf_getphdrnum
45 # include "test-libelf-getphdrnum.c"
46 #undef main
47
48 #define main main_test_libunwind
49 # include "test-libunwind.c"
50 #undef main
51
52 #define main main_test_libaudit
53 # include "test-libaudit.c"
54 #undef main
55
56 #define main main_test_libslang
57 # include "test-libslang.c"
58 #undef main
59
60 #define main main_test_gtk2
61 # include "test-gtk2.c"
62 #undef main
63
64 #define main main_test_gtk2_infobar
65 # include "test-gtk2-infobar.c"
66 #undef main
67
68 #define main main_test_libbfd
69 # include "test-libbfd.c"
70 #undef main
71
72 #define main main_test_on_exit
73 # include "test-on-exit.c"
74 #undef main
75
76 #define main main_test_backtrace
77 # include "test-backtrace.c"
78 #undef main
79
80 #define main main_test_libnuma
81 # include "test-libnuma.c"
82 #undef main
83
84 int main(int argc, char *argv[])
85 {
86         main_test_libpython();
87         main_test_libpython_version();
88         main_test_libperl();
89         main_test_hello();
90         main_test_libelf();
91         main_test_libelf_mmap();
92         main_test_glibc();
93         main_test_dwarf();
94         main_test_libelf_getphdrnum();
95         main_test_libunwind();
96         main_test_libaudit();
97         main_test_libslang();
98         main_test_gtk2(argc, argv);
99         main_test_gtk2_infobar(argc, argv);
100         main_test_libbfd();
101         main_test_on_exit();
102         main_test_backtrace();
103         main_test_libnuma();
104
105         return 0;
106 }