1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
4 # Test data for autotests
6 from autotest_test_funcs import *
8 # groups of tests that can be run in parallel
9 # the grouping has been found largely empirically
10 parallel_test_list = [
12 "Name": "Cycles autotest",
13 "Command": "cycles_autotest",
14 "Func": default_autotest,
18 "Name": "Timer autotest",
19 "Command": "timer_autotest",
20 "Func": timer_autotest,
24 "Name": "Debug autotest",
25 "Command": "debug_autotest",
26 "Func": default_autotest,
30 "Name": "Errno autotest",
31 "Command": "errno_autotest",
32 "Func": default_autotest,
36 "Name": "Meter autotest",
37 "Command": "meter_autotest",
38 "Func": default_autotest,
42 "Name": "Common autotest",
43 "Command": "common_autotest",
44 "Func": default_autotest,
48 "Name": "Resource autotest",
49 "Command": "resource_autotest",
50 "Func": default_autotest,
54 "Name": "Memory autotest",
55 "Command": "memory_autotest",
56 "Func": memory_autotest,
60 "Name": "Read/write lock autotest",
61 "Command": "rwlock_autotest",
62 "Func": rwlock_autotest,
66 "Name": "Logs autotest",
67 "Command": "logs_autotest",
68 "Func": logs_autotest,
72 "Name": "CPU flags autotest",
73 "Command": "cpuflags_autotest",
74 "Func": default_autotest,
78 "Name": "Version autotest",
79 "Command": "version_autotest",
80 "Func": default_autotest,
84 "Name": "EAL filesystem autotest",
85 "Command": "eal_fs_autotest",
86 "Func": default_autotest,
90 "Name": "EAL flags autotest",
91 "Command": "eal_flags_autotest",
92 "Func": default_autotest,
96 "Name": "Hash autotest",
97 "Command": "hash_autotest",
98 "Func": default_autotest,
102 "Name": "LPM autotest",
103 "Command": "lpm_autotest",
104 "Func": default_autotest,
108 "Name": "LPM6 autotest",
109 "Command": "lpm6_autotest",
110 "Func": default_autotest,
114 "Name": "Memcpy autotest",
115 "Command": "memcpy_autotest",
116 "Func": default_autotest,
120 "Name": "Memzone autotest",
121 "Command": "memzone_autotest",
122 "Func": default_autotest,
126 "Name": "String autotest",
127 "Command": "string_autotest",
128 "Func": default_autotest,
132 "Name": "Alarm autotest",
133 "Command": "alarm_autotest",
134 "Func": default_autotest,
138 "Name": "PCI autotest",
139 "Command": "pci_autotest",
140 "Func": default_autotest,
144 "Name": "Malloc autotest",
145 "Command": "malloc_autotest",
146 "Func": default_autotest,
150 "Name": "Multi-process autotest",
151 "Command": "multiprocess_autotest",
152 "Func": default_autotest,
156 "Name": "Mbuf autotest",
157 "Command": "mbuf_autotest",
158 "Func": default_autotest,
162 "Name": "Per-lcore autotest",
163 "Command": "per_lcore_autotest",
164 "Func": default_autotest,
168 "Name": "Ring autotest",
169 "Command": "ring_autotest",
170 "Func": default_autotest,
174 "Name": "Spinlock autotest",
175 "Command": "spinlock_autotest",
176 "Func": spinlock_autotest,
180 "Name": "Byte order autotest",
181 "Command": "byteorder_autotest",
182 "Func": default_autotest,
186 "Name": "TAILQ autotest",
187 "Command": "tailq_autotest",
188 "Func": default_autotest,
192 "Name": "Command-line autotest",
193 "Command": "cmdline_autotest",
194 "Func": default_autotest,
198 "Name": "Interrupts autotest",
199 "Command": "interrupt_autotest",
200 "Func": default_autotest,
204 "Name": "Function reentrancy autotest",
205 "Command": "func_reentrancy_autotest",
206 "Func": default_autotest,
210 "Name": "Mempool autotest",
211 "Command": "mempool_autotest",
212 "Func": default_autotest,
216 "Name": "Atomics autotest",
217 "Command": "atomic_autotest",
218 "Func": default_autotest,
222 "Name": "Prefetch autotest",
223 "Command": "prefetch_autotest",
224 "Func": default_autotest,
228 "Name": "Red autotest",
229 "Command": "red_autotest",
230 "Func": default_autotest,
234 "Name": "PMD ring autotest",
235 "Command": "ring_pmd_autotest",
236 "Func": default_autotest,
240 "Name": "Access list control autotest",
241 "Command": "acl_autotest",
242 "Func": default_autotest,
246 "Name": "Sched autotest",
247 "Command": "sched_autotest",
248 "Func": default_autotest,
253 # tests that should not be run when any other tests are running
254 non_parallel_test_list = [
256 "Name": "Eventdev common autotest",
257 "Command": "eventdev_common_autotest",
258 "Func": default_autotest,
262 "Name": "Eventdev sw autotest",
263 "Command": "eventdev_sw_autotest",
264 "Func": default_autotest,
268 "Name": "KNI autotest",
269 "Command": "kni_autotest",
270 "Func": default_autotest,
274 "Name": "Mempool performance autotest",
275 "Command": "mempool_perf_autotest",
276 "Func": default_autotest,
280 "Name": "Memcpy performance autotest",
281 "Command": "memcpy_perf_autotest",
282 "Func": default_autotest,
286 "Name": "Hash performance autotest",
287 "Command": "hash_perf_autotest",
288 "Func": default_autotest,
292 "Name": "Power autotest",
293 "Command": "power_autotest",
294 "Func": default_autotest,
298 "Name": "Power ACPI cpufreq autotest",
299 "Command": "power_acpi_cpufreq_autotest",
300 "Func": default_autotest,
304 "Name": "Power KVM VM autotest",
305 "Command": "power_kvm_vm_autotest",
306 "Func": default_autotest,
310 "Name": "Timer performance autotest",
311 "Command": "timer_perf_autotest",
312 "Func": default_autotest,
316 # Please always make sure that ring_perf is the last test!
319 "Name": "Ring performance autotest",
320 "Command": "ring_perf_autotest",
321 "Func": default_autotest,