tools/perf/build: Fix feature-libunwind-debug-frame handling
[deliverable/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 #define main main_test_timerfd
85 # include "test-timerfd.c"
86 #undef main
87
88 int main(int argc, char *argv[])
89 {
90 main_test_libpython();
91 main_test_libpython_version();
92 main_test_libperl();
93 main_test_hello();
94 main_test_libelf();
95 main_test_libelf_mmap();
96 main_test_glibc();
97 main_test_dwarf();
98 main_test_libelf_getphdrnum();
99 main_test_libunwind();
100 main_test_libaudit();
101 main_test_libslang();
102 main_test_gtk2(argc, argv);
103 main_test_gtk2_infobar(argc, argv);
104 main_test_libbfd();
105 main_test_on_exit();
106 main_test_backtrace();
107 main_test_libnuma();
108 main_test_timerfd();
109
110 return 0;
111 }
This page took 0.034298 seconds and 5 git commands to generate.