]>
Commit | Line | Data |
---|---|---|
3a726fcd | 1 | # SPDX-License-Identifier: LGPL-2.1+ |
3a726fcd | 2 | |
69e96427 ZJS |
3 | awkscript = 'test-hashmap-ordered.awk' |
4 | test_hashmap_ordered_c = custom_target( | |
37efbbd8 ZJS |
5 | 'test-hashmap-ordered.c', |
6 | input : [awkscript, 'test-hashmap-plain.c'], | |
7 | output : 'test-hashmap-ordered.c', | |
8 | command : [awk, '-f', '@INPUT0@', '@INPUT1@'], | |
fd1939fb YW |
9 | capture : true, |
10 | build_by_default : want_tests != 'false') | |
69e96427 ZJS |
11 | |
12 | test_include_dir = include_directories('.') | |
13 | ||
14 | path = run_command('sh', ['-c', 'echo "$PATH"']).stdout() | |
15 | test_env = environment() | |
16 | test_env.set('SYSTEMD_KBD_MODEL_MAP', kbd_model_map) | |
17 | test_env.set('SYSTEMD_LANGUAGE_FALLBACK_MAP', language_fallback_map) | |
18 | test_env.set('PATH', path) | |
19 | test_env.prepend('PATH', meson.build_root()) | |
20 | ||
37ab1a25 ZJS |
21 | ############################################################ |
22 | ||
23 | generate_sym_test_py = find_program('generate-sym-test.py') | |
24 | ||
25 | test_libsystemd_sym_c = custom_target( | |
37efbbd8 ZJS |
26 | 'test-libsystemd-sym.c', |
27 | input : [libsystemd_sym_path] + systemd_headers, | |
28 | output : 'test-libsystemd-sym.c', | |
29 | command : [generate_sym_test_py, libsystemd_sym_path] + systemd_headers, | |
fd1939fb YW |
30 | capture : true, |
31 | build_by_default : want_tests != 'false') | |
37ab1a25 | 32 | |
e0bec52f | 33 | test_libudev_sym_c = custom_target( |
37efbbd8 ZJS |
34 | 'test-libudev-sym.c', |
35 | input : [libudev_sym_path, libudev_h_path], | |
36 | output : 'test-libudev-sym.c', | |
37 | command : [generate_sym_test_py, '@INPUT0@', '@INPUT1@'], | |
fd1939fb YW |
38 | capture : true, |
39 | build_by_default : want_tests != 'false') | |
e0bec52f | 40 | |
83b6af36 ZJS |
41 | test_dlopen_c = files('test-dlopen.c') |
42 | ||
37ab1a25 ZJS |
43 | ############################################################ |
44 | ||
d9daae55 ZJS |
45 | test_systemd_tmpfiles_py = find_program('test-systemd-tmpfiles.py') |
46 | ||
47 | ############################################################ | |
48 | ||
69e96427 | 49 | tests += [ |
37efbbd8 ZJS |
50 | [['src/test/test-device-nodes.c'], |
51 | [], | |
52 | []], | |
53 | ||
8c759b33 LP |
54 | [['src/test/test-engine.c', |
55 | 'src/test/test-helper.c'], | |
37efbbd8 ZJS |
56 | [libcore, |
57 | libudev, | |
0c06b506 | 58 | libshared], |
37efbbd8 ZJS |
59 | [threads, |
60 | librt, | |
61 | libseccomp, | |
62 | libselinux, | |
63 | libmount, | |
64 | libblkid]], | |
65 | ||
54fcb619 ZJS |
66 | [['src/test/test-emergency-action.c'], |
67 | [libcore, | |
68 | libshared], | |
69 | []], | |
70 | ||
cb9e44db LP |
71 | [['src/test/test-chown-rec.c'], |
72 | [libcore, | |
73 | libshared], | |
74 | []], | |
75 | ||
37efbbd8 ZJS |
76 | [['src/test/test-job-type.c'], |
77 | [libcore, | |
34ce0a52 | 78 | libshared], |
37efbbd8 ZJS |
79 | [threads, |
80 | librt, | |
81 | libseccomp, | |
82 | libselinux, | |
83 | libmount, | |
84 | libblkid]], | |
85 | ||
86 | [['src/test/test-ns.c'], | |
87 | [libcore, | |
34ce0a52 | 88 | libshared], |
37efbbd8 ZJS |
89 | [threads, |
90 | librt, | |
91 | libseccomp, | |
92 | libselinux, | |
93 | libmount, | |
94 | libblkid], | |
ad68714d | 95 | '', 'manual'], |
37efbbd8 | 96 | |
f079c372 LP |
97 | [['src/test/test-nscd-flush.c'], |
98 | [libcore, | |
99 | libshared], | |
100 | [threads, | |
101 | librt, | |
102 | libseccomp, | |
103 | libselinux, | |
104 | libmount, | |
105 | libblkid], | |
106 | '', 'manual'], | |
107 | ||
37efbbd8 ZJS |
108 | [['src/test/test-loopback.c'], |
109 | [libcore, | |
110 | libshared], | |
111 | [threads, | |
112 | librt, | |
113 | libseccomp, | |
114 | libselinux, | |
115 | libmount, | |
116 | libblkid]], | |
117 | ||
118 | [['src/test/test-hostname.c'], | |
119 | [libcore, | |
34ce0a52 | 120 | libshared], |
37efbbd8 ZJS |
121 | [threads, |
122 | librt, | |
123 | libseccomp, | |
124 | libselinux, | |
125 | libmount, | |
126 | libblkid], | |
127 | '', 'unsafe'], | |
128 | ||
129 | [['src/test/test-dns-domain.c'], | |
130 | [libcore, | |
2d4ceca8 | 131 | libshared, |
37efbbd8 ZJS |
132 | libsystemd_network], |
133 | []], | |
134 | ||
135 | [['src/test/test-boot-timestamps.c'], | |
136 | [], | |
137 | [], | |
138 | 'ENABLE_EFI'], | |
139 | ||
8c759b33 LP |
140 | [['src/test/test-unit-name.c', |
141 | 'src/test/test-helper.c'], | |
37efbbd8 | 142 | [libcore, |
34ce0a52 | 143 | libshared], |
37efbbd8 ZJS |
144 | [threads, |
145 | librt, | |
146 | libseccomp, | |
147 | libselinux, | |
148 | libmount, | |
149 | libblkid]], | |
150 | ||
8c759b33 LP |
151 | [['src/test/test-unit-file.c', |
152 | 'src/test/test-helper.c'], | |
37efbbd8 | 153 | [libcore, |
34ce0a52 | 154 | libshared], |
37efbbd8 ZJS |
155 | [threads, |
156 | librt, | |
157 | libseccomp, | |
158 | libselinux, | |
159 | libmount, | |
160 | libblkid]], | |
161 | ||
40a4c4b3 ZJS |
162 | [['src/test/test-serialize.c'], |
163 | [], | |
164 | []], | |
165 | ||
37efbbd8 ZJS |
166 | [['src/test/test-utf8.c'], |
167 | [], | |
168 | []], | |
169 | ||
30874dda LP |
170 | [['src/test/test-dev-setup.c'], |
171 | [], | |
172 | []], | |
173 | ||
37efbbd8 ZJS |
174 | [['src/test/test-capability.c'], |
175 | [], | |
176 | [libcap]], | |
177 | ||
178 | [['src/test/test-async.c'], | |
179 | [], | |
a28b9567 YW |
180 | [], |
181 | '', 'timeout=120'], | |
37efbbd8 ZJS |
182 | |
183 | [['src/test/test-locale-util.c'], | |
184 | [], | |
185 | []], | |
186 | ||
187 | [['src/test/test-copy.c'], | |
2d4ceca8 | 188 | [], |
37efbbd8 ZJS |
189 | []], |
190 | ||
f36c39aa LP |
191 | [['src/test/test-static-destruct.c'], |
192 | [], | |
193 | []], | |
194 | ||
37efbbd8 ZJS |
195 | [['src/test/test-sigbus.c'], |
196 | [], | |
197 | []], | |
198 | ||
199 | [['src/test/test-condition.c'], | |
200 | [], | |
201 | []], | |
202 | ||
203 | [['src/test/test-fdset.c'], | |
204 | [], | |
205 | []], | |
206 | ||
207 | [['src/test/test-fstab-util.c'], | |
208 | [], | |
209 | []], | |
210 | ||
2416f73b ZJS |
211 | [['src/test/test-random-util.c'], |
212 | [], | |
213 | []], | |
214 | ||
1960e736 LP |
215 | [['src/test/test-format-table.c'], |
216 | [], | |
217 | []], | |
218 | ||
37efbbd8 ZJS |
219 | [['src/test/test-ratelimit.c'], |
220 | [], | |
221 | []], | |
222 | ||
223 | [['src/test/test-util.c'], | |
224 | [], | |
225 | []], | |
226 | ||
788c34be LP |
227 | [['src/test/test-json.c'], |
228 | [], | |
229 | []], | |
230 | ||
b57adc94 ZJS |
231 | [['src/test/test-libmount.c'], |
232 | [], | |
233 | [threads, | |
234 | libmount]], | |
235 | ||
37efbbd8 ZJS |
236 | [['src/test/test-mount-util.c'], |
237 | [], | |
238 | []], | |
239 | ||
049af8ad ZJS |
240 | [['src/test/test-mountpoint-util.c'], |
241 | [], | |
242 | []], | |
243 | ||
37efbbd8 ZJS |
244 | [['src/test/test-exec-util.c'], |
245 | [], | |
246 | []], | |
247 | ||
248 | [['src/test/test-hexdecoct.c'], | |
249 | [], | |
250 | []], | |
251 | ||
252 | [['src/test/test-alloc-util.c'], | |
253 | [], | |
254 | []], | |
255 | ||
256 | [['src/test/test-xattr-util.c'], | |
257 | [], | |
258 | []], | |
259 | ||
260 | [['src/test/test-io-util.c'], | |
261 | [], | |
262 | []], | |
263 | ||
264 | [['src/test/test-glob-util.c'], | |
265 | [], | |
266 | []], | |
267 | ||
268 | [['src/test/test-fs-util.c'], | |
269 | [], | |
270 | []], | |
271 | ||
272 | [['src/test/test-proc-cmdline.c'], | |
273 | [], | |
274 | []], | |
275 | ||
276 | [['src/test/test-fd-util.c'], | |
277 | [], | |
278 | []], | |
279 | ||
280 | [['src/test/test-web-util.c'], | |
281 | [], | |
282 | []], | |
283 | ||
284 | [['src/test/test-cpu-set-util.c'], | |
285 | [], | |
286 | []], | |
287 | ||
288 | [['src/test/test-stat-util.c'], | |
289 | [], | |
290 | []], | |
291 | ||
d58ad743 LP |
292 | [['src/test/test-os-util.c'], |
293 | [], | |
294 | []], | |
295 | ||
37efbbd8 ZJS |
296 | [['src/test/test-escape.c'], |
297 | [], | |
298 | []], | |
299 | ||
e82f30d1 LP |
300 | [['src/test/test-specifier.c'], |
301 | [], | |
302 | []], | |
303 | ||
37efbbd8 ZJS |
304 | [['src/test/test-string-util.c'], |
305 | [], | |
306 | []], | |
307 | ||
308 | [['src/test/test-extract-word.c'], | |
309 | [], | |
310 | []], | |
311 | ||
312 | [['src/test/test-parse-util.c'], | |
313 | [], | |
314 | []], | |
315 | ||
316 | [['src/test/test-user-util.c'], | |
317 | [], | |
318 | []], | |
319 | ||
320 | [['src/test/test-hostname-util.c'], | |
321 | [], | |
322 | []], | |
323 | ||
324 | [['src/test/test-process-util.c'], | |
325 | [], | |
326 | []], | |
327 | ||
328 | [['src/test/test-terminal-util.c'], | |
329 | [], | |
330 | []], | |
331 | ||
332 | [['src/test/test-path-lookup.c'], | |
333 | [], | |
334 | []], | |
335 | ||
294bf0c3 ZJS |
336 | [['src/test/test-pretty-print.c'], |
337 | [], | |
338 | []], | |
339 | ||
37efbbd8 ZJS |
340 | [['src/test/test-uid-range.c'], |
341 | [], | |
342 | []], | |
343 | ||
344 | [['src/test/test-cap-list.c', | |
345 | generated_gperf_headers], | |
346 | [], | |
347 | [libcap]], | |
348 | ||
349 | [['src/test/test-socket-util.c'], | |
350 | [], | |
351 | []], | |
352 | ||
f4912f3a LP |
353 | [['src/test/test-in-addr-util.c'], |
354 | [], | |
355 | []], | |
356 | ||
37efbbd8 ZJS |
357 | [['src/test/test-barrier.c'], |
358 | [], | |
359 | []], | |
360 | ||
361 | [['src/test/test-tmpfiles.c'], | |
362 | [], | |
363 | []], | |
364 | ||
365 | [['src/test/test-namespace.c'], | |
366 | [libcore, | |
34ce0a52 | 367 | libshared], |
37efbbd8 ZJS |
368 | [threads, |
369 | libblkid]], | |
370 | ||
371 | [['src/test/test-verbs.c'], | |
372 | [], | |
373 | []], | |
374 | ||
375 | [['src/test/test-install-root.c'], | |
376 | [], | |
377 | []], | |
378 | ||
379 | [['src/test/test-acl-util.c'], | |
380 | [], | |
381 | [], | |
382 | 'HAVE_ACL'], | |
383 | ||
384 | [['src/test/test-seccomp.c'], | |
385 | [], | |
386 | [libseccomp], | |
387 | 'HAVE_SECCOMP'], | |
388 | ||
389 | [['src/test/test-rlimit-util.c'], | |
390 | [], | |
391 | []], | |
392 | ||
393 | [['src/test/test-ask-password-api.c'], | |
394 | [], | |
395 | [], | |
396 | '', 'manual'], | |
397 | ||
398 | [['src/test/test-dissect-image.c'], | |
399 | [], | |
400 | [libblkid], | |
401 | '', 'manual'], | |
402 | ||
403 | [['src/test/test-signal-util.c'], | |
404 | [], | |
405 | []], | |
406 | ||
407 | [['src/test/test-selinux.c'], | |
408 | [], | |
409 | []], | |
410 | ||
411 | [['src/test/test-sizeof.c'], | |
412 | [libbasic], | |
413 | []], | |
414 | ||
db3a5930 DM |
415 | [['src/test/test-bpf.c', |
416 | 'src/test/test-helper.c'], | |
417 | [libcore, | |
418 | libshared], | |
419 | [libmount, | |
420 | threads, | |
421 | librt, | |
422 | libseccomp, | |
423 | libselinux, | |
424 | libblkid]], | |
425 | ||
62a76913 LP |
426 | [['src/test/test-watch-pid.c', |
427 | 'src/test/test-helper.c'], | |
428 | [libcore, | |
429 | libshared], | |
430 | [libmount, | |
431 | threads, | |
432 | librt, | |
433 | libseccomp, | |
434 | libselinux, | |
435 | libblkid]], | |
436 | ||
37efbbd8 ZJS |
437 | [['src/test/test-hashmap.c', |
438 | 'src/test/test-hashmap-plain.c', | |
439 | test_hashmap_ordered_c], | |
440 | [], | |
441 | [], | |
442 | '', 'timeout=90'], | |
443 | ||
444 | [['src/test/test-set.c'], | |
445 | [], | |
446 | []], | |
447 | ||
1b78172b ZJS |
448 | [['src/test/test-ordered-set.c'], |
449 | [], | |
450 | []], | |
451 | ||
3ffd12bf YW |
452 | [['src/test/test-set-disable-mempool.c'], |
453 | [], | |
454 | [threads]], | |
455 | ||
37efbbd8 ZJS |
456 | [['src/test/test-bitmap.c'], |
457 | [], | |
458 | []], | |
459 | ||
460 | [['src/test/test-xml.c'], | |
461 | [], | |
462 | []], | |
463 | ||
464 | [['src/test/test-list.c'], | |
465 | [], | |
466 | []], | |
467 | ||
9aef9a67 LP |
468 | [['src/test/test-procfs-util.c'], |
469 | [], | |
470 | []], | |
471 | ||
37efbbd8 ZJS |
472 | [['src/test/test-unaligned.c'], |
473 | [], | |
474 | []], | |
475 | ||
476 | [['src/test/test-tables.c', | |
477 | 'src/shared/test-tables.h', | |
478 | 'src/journal/journald-server.c', | |
479 | 'src/journal/journald-server.h'], | |
480 | [libcore, | |
481 | libjournal_core, | |
482 | libudev_core, | |
0c06b506 | 483 | libudev_static, |
37efbbd8 ZJS |
484 | libsystemd_network, |
485 | libshared], | |
486 | [threads, | |
487 | libseccomp, | |
488 | libmount, | |
489 | libxz, | |
490 | liblz4, | |
491 | libblkid], | |
492 | '', '', [], libudev_core_includes], | |
493 | ||
494 | [['src/test/test-prioq.c'], | |
495 | [], | |
496 | []], | |
497 | ||
498 | [['src/test/test-fileio.c'], | |
499 | [], | |
500 | []], | |
501 | ||
b996f7e4 | 502 | [['src/test/test-time-util.c'], |
37efbbd8 ZJS |
503 | [], |
504 | []], | |
505 | ||
506 | [['src/test/test-clock.c'], | |
507 | [], | |
508 | []], | |
509 | ||
510 | [['src/test/test-architecture.c'], | |
511 | [], | |
512 | []], | |
513 | ||
514 | [['src/test/test-log.c'], | |
515 | [], | |
516 | []], | |
517 | ||
518 | [['src/test/test-ipcrm.c'], | |
519 | [], | |
520 | [], | |
521 | '', 'unsafe'], | |
522 | ||
523 | [['src/test/test-btrfs.c'], | |
524 | [], | |
525 | [], | |
526 | '', 'manual'], | |
527 | ||
528 | ||
529 | [['src/test/test-firewall-util.c'], | |
c3045943 | 530 | [libshared], |
37efbbd8 ZJS |
531 | [], |
532 | 'HAVE_LIBIPTC'], | |
533 | ||
534 | [['src/test/test-netlink-manual.c'], | |
535 | [], | |
536 | [libkmod], | |
537 | 'HAVE_KMOD', 'manual'], | |
538 | ||
539 | [['src/test/test-ellipsize.c'], | |
540 | [], | |
541 | []], | |
542 | ||
543 | [['src/test/test-date.c'], | |
544 | [], | |
545 | []], | |
546 | ||
547 | [['src/test/test-sleep.c'], | |
548 | [], | |
549 | []], | |
550 | ||
551 | [['src/test/test-replace-var.c'], | |
552 | [], | |
553 | []], | |
554 | ||
555 | [['src/test/test-calendarspec.c'], | |
556 | [], | |
557 | []], | |
558 | ||
559 | [['src/test/test-strip-tab-ansi.c'], | |
560 | [], | |
561 | []], | |
562 | ||
563 | [['src/test/test-daemon.c'], | |
564 | [], | |
565 | []], | |
566 | ||
567 | [['src/test/test-cgroup.c'], | |
568 | [], | |
569 | [], | |
570 | '', 'manual'], | |
571 | ||
10f28641 FB |
572 | [['src/test/test-cgroup-cpu.c'], |
573 | [libcore, | |
574 | libshared], | |
575 | []], | |
576 | ||
8c759b33 LP |
577 | [['src/test/test-cgroup-mask.c', |
578 | 'src/test/test-helper.c'], | |
37efbbd8 | 579 | [libcore, |
34ce0a52 | 580 | libshared], |
37efbbd8 ZJS |
581 | [threads, |
582 | librt, | |
583 | libseccomp, | |
584 | libselinux, | |
585 | libmount, | |
586 | libblkid]], | |
587 | ||
588 | [['src/test/test-cgroup-util.c'], | |
589 | [], | |
590 | []], | |
591 | ||
592 | [['src/test/test-env-util.c'], | |
593 | [], | |
594 | []], | |
595 | ||
596 | [['src/test/test-strbuf.c'], | |
597 | [], | |
598 | []], | |
599 | ||
600 | [['src/test/test-strv.c'], | |
601 | [], | |
602 | []], | |
603 | ||
604 | [['src/test/test-path-util.c'], | |
605 | [], | |
606 | []], | |
607 | ||
8c759b33 LP |
608 | [['src/test/test-path.c', |
609 | 'src/test/test-helper.c'], | |
37efbbd8 | 610 | [libcore, |
34ce0a52 | 611 | libshared], |
37efbbd8 ZJS |
612 | [threads, |
613 | librt, | |
614 | libseccomp, | |
615 | libselinux, | |
616 | libmount, | |
617 | libblkid]], | |
618 | ||
8c759b33 LP |
619 | [['src/test/test-execute.c', |
620 | 'src/test/test-helper.c'], | |
37efbbd8 | 621 | [libcore, |
34ce0a52 | 622 | libshared], |
37efbbd8 ZJS |
623 | [threads, |
624 | librt, | |
625 | libseccomp, | |
626 | libselinux, | |
627 | libmount, | |
7e4a49b4 ZJS |
628 | libblkid], |
629 | '', 'timeout=360'], | |
37efbbd8 ZJS |
630 | |
631 | [['src/test/test-siphash24.c'], | |
632 | [], | |
633 | []], | |
634 | ||
635 | [['src/test/test-strxcpyx.c'], | |
636 | [], | |
637 | []], | |
638 | ||
639 | [['src/test/test-install.c'], | |
640 | [libcore, | |
641 | libshared], | |
642 | [], | |
643 | '', 'manual'], | |
644 | ||
645 | [['src/test/test-watchdog.c'], | |
646 | [], | |
647 | []], | |
648 | ||
8c759b33 LP |
649 | [['src/test/test-sched-prio.c', |
650 | 'src/test/test-helper.c'], | |
37efbbd8 | 651 | [libcore, |
34ce0a52 | 652 | libshared], |
37efbbd8 ZJS |
653 | [threads, |
654 | librt, | |
655 | libseccomp, | |
656 | libselinux, | |
657 | libmount, | |
658 | libblkid]], | |
659 | ||
660 | [['src/test/test-conf-files.c'], | |
661 | [], | |
662 | []], | |
663 | ||
664 | [['src/test/test-conf-parser.c'], | |
665 | [], | |
666 | []], | |
667 | ||
668 | [['src/test/test-af-list.c', | |
669 | generated_gperf_headers], | |
670 | [], | |
671 | []], | |
672 | ||
673 | [['src/test/test-arphrd-list.c', | |
674 | generated_gperf_headers], | |
675 | [], | |
676 | []], | |
677 | ||
dca23091 YW |
678 | [['src/test/test-ip-protocol-list.c', |
679 | shared_generated_gperf_headers], | |
680 | [], | |
681 | []], | |
682 | ||
37efbbd8 ZJS |
683 | [['src/test/test-journal-importer.c'], |
684 | [], | |
685 | []], | |
686 | ||
687 | [['src/test/test-libudev.c'], | |
34ce0a52 | 688 | [libshared], |
37efbbd8 ZJS |
689 | []], |
690 | ||
691 | [['src/test/test-udev.c'], | |
692 | [libudev_core, | |
0c06b506 | 693 | libudev_static, |
37efbbd8 ZJS |
694 | libsystemd_network, |
695 | libshared], | |
696 | [threads, | |
697 | librt, | |
698 | libblkid, | |
699 | libkmod, | |
700 | libacl], | |
feae122f | 701 | '', 'manual', '-DLOG_REALM=LOG_REALM_UDEV'], |
37efbbd8 ZJS |
702 | |
703 | [['src/test/test-id128.c'], | |
704 | [], | |
705 | []], | |
706 | ||
707 | [['src/test/test-hash.c'], | |
708 | [], | |
709 | []], | |
710 | ||
bd181f27 ZJS |
711 | [['src/test/test-gcrypt-util.c'], |
712 | [], | |
713 | [], | |
714 | 'HAVE_GCRYPT'], | |
715 | ||
37efbbd8 ZJS |
716 | [['src/test/test-nss.c'], |
717 | [], | |
718 | [libdl], | |
08540a95 | 719 | 'ENABLE_NSS', 'manual'], |
6fa392bf ZJS |
720 | |
721 | [['src/test/test-umount.c', | |
9e71f5d9 LP |
722 | 'src/shutdown/umount.c', |
723 | 'src/shutdown/umount.h'], | |
53f79e12 ZJS |
724 | [libcore_shared, |
725 | libshared], | |
6fa392bf | 726 | [libmount]], |
24924cc9 ZJS |
727 | |
728 | [['src/test/test-bus-util.c'], | |
729 | [], | |
730 | []], | |
ca7a9afc ZJS |
731 | |
732 | [['src/test/test-sd-hwdb.c'], | |
733 | [], | |
734 | []], | |
37efbbd8 | 735 | ] |
69e96427 ZJS |
736 | |
737 | ############################################################ | |
738 | ||
739 | # define some tests here, because the link_with deps were not defined earlier | |
740 | ||
741 | tests += [ | |
37efbbd8 ZJS |
742 | [['src/journal/test-journal.c'], |
743 | [libjournal_core, | |
744 | libshared], | |
745 | [threads, | |
746 | libxz, | |
747 | liblz4]], | |
748 | ||
749 | [['src/journal/test-journal-send.c'], | |
750 | [libjournal_core, | |
751 | libshared], | |
752 | [threads, | |
753 | libxz, | |
754 | liblz4]], | |
755 | ||
756 | [['src/journal/test-journal-syslog.c'], | |
757 | [libjournal_core, | |
34ce0a52 | 758 | libshared], |
37efbbd8 ZJS |
759 | [threads, |
760 | libxz, | |
761 | liblz4, | |
762 | libselinux]], | |
763 | ||
764 | [['src/journal/test-journal-match.c'], | |
765 | [libjournal_core, | |
766 | libshared], | |
767 | [threads, | |
768 | libxz, | |
769 | liblz4]], | |
770 | ||
771 | [['src/journal/test-journal-enum.c'], | |
772 | [libjournal_core, | |
773 | libshared], | |
774 | [threads, | |
775 | libxz, | |
76b38997 ZJS |
776 | liblz4], |
777 | '', 'timeout=360'], | |
37efbbd8 ZJS |
778 | |
779 | [['src/journal/test-journal-stream.c'], | |
780 | [libjournal_core, | |
781 | libshared], | |
782 | [threads, | |
783 | libxz, | |
784 | liblz4]], | |
785 | ||
786 | [['src/journal/test-journal-flush.c'], | |
787 | [libjournal_core, | |
788 | libshared], | |
789 | [threads, | |
790 | libxz, | |
791 | liblz4]], | |
792 | ||
793 | [['src/journal/test-journal-init.c'], | |
794 | [libjournal_core, | |
795 | libshared], | |
796 | [threads, | |
797 | libxz, | |
798 | liblz4]], | |
799 | ||
1b7cf0e5 AG |
800 | [['src/journal/test-journal-config.c'], |
801 | [libjournal_core, | |
802 | libshared], | |
803 | [libxz, | |
804 | liblz4, | |
805 | libselinux]], | |
806 | ||
37efbbd8 ZJS |
807 | [['src/journal/test-journal-verify.c'], |
808 | [libjournal_core, | |
809 | libshared], | |
810 | [threads, | |
811 | libxz, | |
812 | liblz4]], | |
813 | ||
814 | [['src/journal/test-journal-interleaving.c'], | |
815 | [libjournal_core, | |
816 | libshared], | |
817 | [threads, | |
818 | libxz, | |
819 | liblz4]], | |
820 | ||
821 | [['src/journal/test-mmap-cache.c'], | |
822 | [libjournal_core, | |
823 | libshared], | |
824 | [threads, | |
825 | libxz, | |
826 | liblz4]], | |
827 | ||
828 | [['src/journal/test-catalog.c'], | |
829 | [libjournal_core, | |
830 | libshared], | |
831 | [threads, | |
832 | libxz, | |
49cdae63 | 833 | liblz4]], |
37efbbd8 ZJS |
834 | |
835 | [['src/journal/test-compress.c'], | |
836 | [libjournal_core, | |
837 | libshared], | |
838 | [liblz4, | |
839 | libxz]], | |
840 | ||
841 | [['src/journal/test-compress-benchmark.c'], | |
842 | [libjournal_core, | |
843 | libshared], | |
844 | [liblz4, | |
845 | libxz], | |
846 | '', 'timeout=90'], | |
847 | ||
848 | [['src/journal/test-audit-type.c'], | |
849 | [libjournal_core, | |
850 | libshared], | |
851 | [liblz4, | |
852 | libxz]], | |
853 | ] | |
f4ee10a2 ZJS |
854 | |
855 | ############################################################ | |
856 | ||
857 | tests += [ | |
8a0c1913 ZJS |
858 | [['src/libsystemd/sd-bus/test-bus-address.c'], |
859 | [], | |
860 | [threads]], | |
861 | ||
37efbbd8 ZJS |
862 | [['src/libsystemd/sd-bus/test-bus-marshal.c'], |
863 | [], | |
864 | [threads, | |
865 | libglib, | |
866 | libgobject, | |
867 | libgio, | |
868 | libdbus]], | |
869 | ||
870 | [['src/libsystemd/sd-bus/test-bus-signature.c'], | |
871 | [], | |
872 | [threads]], | |
873 | ||
4b70aedc LP |
874 | [['src/libsystemd/sd-bus/test-bus-queue-ref-cycle.c'], |
875 | [], | |
876 | [threads]], | |
877 | ||
8a5cd31e LP |
878 | [['src/libsystemd/sd-bus/test-bus-watch-bind.c'], |
879 | [], | |
880 | [threads], '', 'timeout=120'], | |
881 | ||
37efbbd8 ZJS |
882 | [['src/libsystemd/sd-bus/test-bus-chat.c'], |
883 | [], | |
884 | [threads]], | |
885 | ||
886 | [['src/libsystemd/sd-bus/test-bus-cleanup.c'], | |
887 | [], | |
888 | [threads, | |
889 | libseccomp]], | |
890 | ||
891 | [['src/libsystemd/sd-bus/test-bus-error.c'], | |
892 | [libshared_static, | |
37e4d7a8 | 893 | libsystemd_static], |
37efbbd8 ZJS |
894 | []], |
895 | ||
896 | [['src/libsystemd/sd-bus/test-bus-track.c'], | |
897 | [], | |
898 | [libseccomp]], | |
899 | ||
900 | [['src/libsystemd/sd-bus/test-bus-server.c'], | |
901 | [], | |
902 | [threads]], | |
903 | ||
904 | [['src/libsystemd/sd-bus/test-bus-objects.c'], | |
905 | [], | |
906 | [threads]], | |
907 | ||
94e2523b ZJS |
908 | [['src/libsystemd/sd-bus/test-bus-vtable.c'], |
909 | [], | |
910 | []], | |
911 | ||
37efbbd8 ZJS |
912 | [['src/libsystemd/sd-bus/test-bus-gvariant.c'], |
913 | [], | |
914 | [libglib, | |
915 | libgobject, | |
916 | libgio]], | |
917 | ||
918 | [['src/libsystemd/sd-bus/test-bus-creds.c'], | |
919 | [], | |
920 | []], | |
921 | ||
922 | [['src/libsystemd/sd-bus/test-bus-match.c'], | |
923 | [], | |
924 | []], | |
925 | ||
37efbbd8 ZJS |
926 | [['src/libsystemd/sd-bus/test-bus-benchmark.c'], |
927 | [], | |
a132bef0 ZJS |
928 | [threads], |
929 | '', 'manual'], | |
37efbbd8 ZJS |
930 | |
931 | [['src/libsystemd/sd-bus/test-bus-introspect.c'], | |
932 | [], | |
933 | []], | |
934 | ||
935 | [['src/libsystemd/sd-event/test-event.c'], | |
936 | [], | |
937 | []], | |
938 | ||
939 | [['src/libsystemd/sd-netlink/test-netlink.c'], | |
940 | [], | |
941 | []], | |
942 | ||
943 | [['src/libsystemd/sd-netlink/test-local-addresses.c'], | |
944 | [], | |
945 | []], | |
946 | ||
947 | [['src/libsystemd/sd-resolve/test-resolve.c'], | |
948 | [], | |
c92ab239 ZJS |
949 | [threads], |
950 | '', 'timeout=120'], | |
37efbbd8 ZJS |
951 | |
952 | [['src/libsystemd/sd-login/test-login.c'], | |
953 | [], | |
ce737f46 | 954 | []], |
9380d34c YW |
955 | |
956 | [['src/libsystemd/sd-device/test-sd-device.c'], | |
957 | [], | |
958 | []], | |
a6ee01ca YW |
959 | |
960 | [['src/libsystemd/sd-device/test-sd-device-thread.c'], | |
961 | [libbasic, | |
962 | libshared_static, | |
963 | libsystemd], | |
964 | [threads]], | |
cb3e926a YW |
965 | |
966 | [['src/libsystemd/sd-device/test-udev-device-thread.c'], | |
967 | [libbasic, | |
968 | libshared_static, | |
969 | libudev], | |
970 | [threads]], | |
aaa5b4ce YW |
971 | |
972 | [['src/libsystemd/sd-device/test-sd-device-monitor.c'], | |
973 | [], | |
974 | []], | |
975 | ||
826472ce | 976 | ] |
69e96427 | 977 | |
46e63a2a | 978 | if cxx_cmd != '' |
94e2523b ZJS |
979 | tests += [ |
980 | [['src/libsystemd/sd-bus/test-bus-vtable-cc.cc'], | |
981 | [], | |
982 | []] | |
983 | ] | |
984 | endif | |
985 | ||
69e96427 ZJS |
986 | ############################################################ |
987 | ||
988 | tests += [ | |
37efbbd8 ZJS |
989 | [['src/libsystemd-network/test-dhcp-option.c', |
990 | 'src/libsystemd-network/dhcp-protocol.h', | |
991 | 'src/libsystemd-network/dhcp-internal.h'], | |
992 | [libshared, | |
993 | libsystemd_network], | |
994 | []], | |
995 | ||
b85bc551 DW |
996 | [['src/libsystemd-network/test-sd-dhcp-lease.c', |
997 | 'src/libsystemd-network/dhcp-lease-internal.h'], | |
998 | [libshared, | |
999 | libsystemd_network], | |
1000 | []], | |
1001 | ||
37efbbd8 ZJS |
1002 | [['src/libsystemd-network/test-dhcp-client.c', |
1003 | 'src/libsystemd-network/dhcp-protocol.h', | |
1004 | 'src/libsystemd-network/dhcp-internal.h', | |
1005 | 'src/systemd/sd-dhcp-client.h'], | |
1006 | [libshared, | |
34ce0a52 | 1007 | libsystemd_network], |
37efbbd8 ZJS |
1008 | []], |
1009 | ||
1010 | [['src/libsystemd-network/test-dhcp-server.c'], | |
1011 | [libshared, | |
1012 | libsystemd_network], | |
1013 | []], | |
1014 | ||
1015 | [['src/libsystemd-network/test-ipv4ll.c', | |
1016 | 'src/libsystemd-network/arp-util.h', | |
1017 | 'src/systemd/sd-ipv4ll.h'], | |
1018 | [libshared, | |
1019 | libsystemd_network], | |
1020 | []], | |
1021 | ||
1022 | [['src/libsystemd-network/test-ipv4ll-manual.c', | |
1023 | 'src/systemd/sd-ipv4ll.h'], | |
1024 | [libshared, | |
1025 | libsystemd_network], | |
1026 | [], | |
1027 | '', 'manual'], | |
1028 | ||
1029 | [['src/libsystemd-network/test-acd.c', | |
1030 | 'src/systemd/sd-ipv4acd.h'], | |
1031 | [libshared, | |
1032 | libsystemd_network], | |
1033 | [], | |
1034 | '', 'manual'], | |
1035 | ||
1036 | [['src/libsystemd-network/test-ndisc-rs.c', | |
1037 | 'src/libsystemd-network/dhcp-identifier.h', | |
1038 | 'src/libsystemd-network/dhcp-identifier.c', | |
1039 | 'src/libsystemd-network/icmp6-util.h', | |
1040 | 'src/systemd/sd-dhcp6-client.h', | |
1041 | 'src/systemd/sd-ndisc.h'], | |
1042 | [libshared, | |
34ce0a52 | 1043 | libsystemd_network], |
37efbbd8 ZJS |
1044 | []], |
1045 | ||
4a24ba71 ZJS |
1046 | [['src/libsystemd-network/test-ndisc-ra.c', |
1047 | 'src/libsystemd-network/icmp6-util.h', | |
1048 | 'src/systemd/sd-ndisc.h'], | |
1049 | [libshared, | |
1050 | libsystemd_network], | |
1051 | []], | |
1052 | ||
37efbbd8 ZJS |
1053 | [['src/libsystemd-network/test-dhcp6-client.c', |
1054 | 'src/libsystemd-network/dhcp-identifier.h', | |
1055 | 'src/libsystemd-network/dhcp-identifier.c', | |
1056 | 'src/libsystemd-network/dhcp6-internal.h', | |
1057 | 'src/systemd/sd-dhcp6-client.h'], | |
1058 | [libshared, | |
34ce0a52 | 1059 | libsystemd_network], |
37efbbd8 ZJS |
1060 | []], |
1061 | ||
1062 | [['src/libsystemd-network/test-lldp.c'], | |
1063 | [libshared, | |
1064 | libsystemd_network], | |
1065 | []], | |
1066 | ] | |
69e96427 ZJS |
1067 | |
1068 | ############################################################ | |
1069 | ||
1070 | tests += [ | |
37efbbd8 ZJS |
1071 | [['src/login/test-login-shared.c'], |
1072 | [], | |
1073 | []], | |
1074 | ||
1075 | [['src/login/test-inhibit.c'], | |
1076 | [], | |
1077 | [], | |
1078 | '', 'manual'], | |
1079 | ||
1080 | [['src/login/test-login-tables.c'], | |
1081 | [liblogind_core, | |
34ce0a52 | 1082 | libshared], |
37efbbd8 ZJS |
1083 | [threads]], |
1084 | ] |