Commit | Line | Data |
---|---|---|
355f483d DG |
1 | Tests = \ |
2 | [ | |
3 | # lttng-tools unit tests | |
4 | { | |
5 | 'bin': "tools/test_sessions", 'daemon': False, 'kern': False, 'name': "Test sessions", | |
6 | 'desc': "Test tracing session data structures and methods.", | |
7 | 'success': 0, 'enabled': True | |
8 | }, | |
9 | { | |
10 | 'bin': "tools/test_kernel_data_trace", 'daemon': False, 'kern': False, | |
11 | 'name': "Kernel data structures", | |
12 | 'desc': "Test Kernel data structures and methods.", | |
13 | 'success': 0, 'enabled': True | |
14 | }, | |
15 | { | |
16 | 'bin': "tools/test_ust_data_trace", 'daemon': False, 'kern': False, | |
17 | 'name': "UST data structures", | |
18 | 'desc': "Test UST data structures and methods.", | |
19 | 'success': 0, 'enabled': True | |
20 | }, | |
f4e40ab6 DG |
21 | { |
22 | 'bin': "tools/streaming/run-ust", 'daemon': True, 'kern': False, | |
23 | 'name': "UST network streaming", | |
24 | 'desc': "Test user space tracing network streaming support", | |
25 | 'success': 0, 'enabled': True | |
26 | }, | |
27 | { | |
28 | 'bin': "tools/streaming/run-kernel", 'daemon': True, 'kern': True, | |
29 | 'name': "Kernel network streaming", | |
30 | 'desc': "Test kernel tracing network streaming support", | |
31 | 'success': 0, 'enabled': True | |
32 | }, | |
355f483d | 33 | |
1c946780 | 34 | # Kernel tests |
355f483d DG |
35 | { |
36 | 'bin': "kernel/run-kernel-tests.sh", 'daemon': True, 'kern': True, | |
37 | 'name': "Kernel tracer - lttng client", | |
38 | 'desc': "Test the Kernel tracer using the lttng client", | |
39 | 'success': 0, 'enabled': True | |
40 | }, | |
41 | ||
1c946780 | 42 | # UST tests |
355f483d DG |
43 | { |
44 | 'bin': "ust/run-ust-global-tests.sh", 'daemon': True, 'kern': False, | |
45 | 'name': "UST tracer - Global domain", | |
46 | 'desc': "Test the UST tracer functionnalities for domain LTTNG_DOMAIN_UST", | |
47 | 'success': 0, 'enabled': True | |
48 | }, | |
49 | { | |
50 | 'bin': "ust/nprocesses/run", 'daemon': True, 'kern': False, | |
51 | 'name': "UST tracer - Multiple processes", | |
52 | 'desc': "Test multiple process registering and tracing", | |
53 | 'success': 0, 'enabled': True | |
355f483d | 54 | }, |
e72d66a6 DG |
55 | { |
56 | 'bin': "ust/high-throughput/run", 'daemon': True, 'kern': False, | |
57 | 'name': "UST tracer - Testing high events throughput", | |
58 | 'desc': "Test multiple large number of events with concurrent application", | |
59 | 'success': 0, 'enabled': True | |
60 | }, | |
00eb21af | 61 | # Deactivated. This test last 20 minutes... |
1c946780 CB |
62 | #{ |
63 | #'bin': "ust/low-throughput/run", 'daemon': True, 'kern': False, | |
64 | #'name': "UST tracer - Testing high events throughput", | |
65 | #'desc': "Test low throughput of events", | |
66 | #'success': 0, 'enabled': False | |
67 | #}, | |
b19155c0 DG |
68 | { |
69 | 'bin': "ust/before-after/run", 'daemon': True, 'kern': False, | |
70 | 'name': "UST tracer - Tracing before and after app execution", | |
71 | 'desc': "Test tracing before and after app execution", | |
72 | 'success': 0, 'enabled': True | |
73 | }, | |
00eb21af DG |
74 | { |
75 | 'bin': "ust/multi-session/run", 'daemon': True, 'kern': False, | |
76 | 'name': "UST tracer - Multi-session", | |
77 | 'desc': "Test tracing with 4 sessions for one application", | |
78 | 'success': 0, 'enabled': True | |
79 | }, | |
1c946780 CB |
80 | |
81 | # Tools filtering tests | |
82 | { | |
83 | 'bin': "tools/filtering/unsupported-ops", 'daemon': True, 'kern': False, | |
84 | 'name': "Filtering - Unsupported operators", | |
85 | 'desc': "Test the failure of filter with unsupported operators", | |
86 | 'success': 0, 'enabled': True | |
87 | }, | |
88 | { | |
89 | 'bin': "tools/filtering/invalid-filters", 'daemon': True, 'kern': False, | |
90 | 'name': "Filtering - Invalid filters", | |
91 | 'desc': "Test the failure of invalid filters", | |
92 | 'success': 0, 'enabled': True | |
93 | }, | |
94 | { | |
95 | 'bin': "tools/filtering/valid-filters", 'daemon': True, 'kern': False, | |
96 | 'name': "Filtering - Valid filters", | |
97 | 'desc': "Validate the expected trace output of valid filters", | |
98 | 'success': 0, 'enabled': True | |
99 | }, | |
100 | ||
101 | # Tools health check tests | |
102 | { | |
103 | 'bin': "tools/health/health_thread_exit", 'daemon': "test", 'kern': True, | |
104 | 'name': "Health check - Thread exit", | |
105 | 'desc': "Call exit in the various lttng-sessiond threads and ensure that health failure is detected", | |
106 | 'success': 0, 'enabled': True | |
107 | }, | |
108 | { | |
109 | 'bin': "tools/health/health_thread_stall", 'daemon': "test", 'kern': True, | |
110 | 'name': "Health check - Thread stall", | |
111 | 'desc': "Stall the various lttng-sessiond threads and ensure that health failure is detected", | |
112 | 'success': 0, 'enabled': True | |
113 | }, | |
114 | { | |
115 | 'bin': "tools/health/health_tp_fail", 'daemon': "test", 'kern': True, | |
116 | 'name': "Health check - Testpoint failure", | |
117 | 'desc': "Trigger a failure in the testpoint mechanism in each thread to provoke thread teardown", | |
118 | 'success': 0, 'enabled': True | |
119 | }, | |
120 | ||
121 | # Tools streaming tests | |
122 | { | |
123 | 'bin': "tools/streaming/run-kernel", 'daemon': True, 'kern': True, | |
124 | 'name': "Streaming - Kernel tracing", | |
125 | 'desc': "Stream a kernel trace across the network", | |
126 | 'success': 0, 'enabled': True | |
127 | }, | |
128 | { | |
129 | 'bin': "tools/streaming/run-ust", 'daemon': True, 'kern': False, | |
130 | 'name': "Streaming - Userspace tracing", | |
131 | 'desc': "Stream a userspace trace across the network", | |
132 | 'success': 0, 'enabled': True | |
133 | }, | |
134 | { | |
135 | 'bin': "tools/streaming/uri_switch", 'daemon': True, 'kern': False, | |
136 | 'name': "Streaming - URI switching", | |
137 | 'desc': "Switch URI and verify that the trace result are in the proper location", | |
138 | 'success': 0, 'enabled': True | |
139 | }, | |
140 | { | |
141 | 'bin': "tools/streaming/high_throughput_limits", 'daemon': True, 'kern': True, | |
142 | 'name': "Streaming - High throughput with bandwith limits", | |
143 | 'desc': "Trace streaming with bandwidth limits", | |
144 | 'success': 0, 'enabled': True | |
145 | }, | |
355f483d | 146 | ] |