]>
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 | ||
37efbbd8 ZJS |
231 | [['src/test/test-mount-util.c'], |
232 | [], | |
233 | []], | |
234 | ||
049af8ad ZJS |
235 | [['src/test/test-mountpoint-util.c'], |
236 | [], | |
237 | []], | |
238 | ||
37efbbd8 ZJS |
239 | [['src/test/test-exec-util.c'], |
240 | [], | |
241 | []], | |
242 | ||
243 | [['src/test/test-hexdecoct.c'], | |
244 | [], | |
245 | []], | |
246 | ||
247 | [['src/test/test-alloc-util.c'], | |
248 | [], | |
249 | []], | |
250 | ||
251 | [['src/test/test-xattr-util.c'], | |
252 | [], | |
253 | []], | |
254 | ||
255 | [['src/test/test-io-util.c'], | |
256 | [], | |
257 | []], | |
258 | ||
259 | [['src/test/test-glob-util.c'], | |
260 | [], | |
261 | []], | |
262 | ||
263 | [['src/test/test-fs-util.c'], | |
264 | [], | |
265 | []], | |
266 | ||
267 | [['src/test/test-proc-cmdline.c'], | |
268 | [], | |
269 | []], | |
270 | ||
271 | [['src/test/test-fd-util.c'], | |
272 | [], | |
273 | []], | |
274 | ||
275 | [['src/test/test-web-util.c'], | |
276 | [], | |
277 | []], | |
278 | ||
279 | [['src/test/test-cpu-set-util.c'], | |
280 | [], | |
281 | []], | |
282 | ||
283 | [['src/test/test-stat-util.c'], | |
284 | [], | |
285 | []], | |
286 | ||
d58ad743 LP |
287 | [['src/test/test-os-util.c'], |
288 | [], | |
289 | []], | |
290 | ||
37efbbd8 ZJS |
291 | [['src/test/test-escape.c'], |
292 | [], | |
293 | []], | |
294 | ||
e82f30d1 LP |
295 | [['src/test/test-specifier.c'], |
296 | [], | |
297 | []], | |
298 | ||
37efbbd8 ZJS |
299 | [['src/test/test-string-util.c'], |
300 | [], | |
301 | []], | |
302 | ||
303 | [['src/test/test-extract-word.c'], | |
304 | [], | |
305 | []], | |
306 | ||
307 | [['src/test/test-parse-util.c'], | |
308 | [], | |
309 | []], | |
310 | ||
311 | [['src/test/test-user-util.c'], | |
312 | [], | |
313 | []], | |
314 | ||
315 | [['src/test/test-hostname-util.c'], | |
316 | [], | |
317 | []], | |
318 | ||
319 | [['src/test/test-process-util.c'], | |
320 | [], | |
321 | []], | |
322 | ||
323 | [['src/test/test-terminal-util.c'], | |
324 | [], | |
325 | []], | |
326 | ||
327 | [['src/test/test-path-lookup.c'], | |
328 | [], | |
329 | []], | |
330 | ||
294bf0c3 ZJS |
331 | [['src/test/test-pretty-print.c'], |
332 | [], | |
333 | []], | |
334 | ||
37efbbd8 ZJS |
335 | [['src/test/test-uid-range.c'], |
336 | [], | |
337 | []], | |
338 | ||
339 | [['src/test/test-cap-list.c', | |
340 | generated_gperf_headers], | |
341 | [], | |
342 | [libcap]], | |
343 | ||
344 | [['src/test/test-socket-util.c'], | |
345 | [], | |
346 | []], | |
347 | ||
f4912f3a LP |
348 | [['src/test/test-in-addr-util.c'], |
349 | [], | |
350 | []], | |
351 | ||
37efbbd8 ZJS |
352 | [['src/test/test-barrier.c'], |
353 | [], | |
354 | []], | |
355 | ||
356 | [['src/test/test-tmpfiles.c'], | |
357 | [], | |
358 | []], | |
359 | ||
360 | [['src/test/test-namespace.c'], | |
361 | [libcore, | |
34ce0a52 | 362 | libshared], |
37efbbd8 ZJS |
363 | [threads, |
364 | libblkid]], | |
365 | ||
366 | [['src/test/test-verbs.c'], | |
367 | [], | |
368 | []], | |
369 | ||
370 | [['src/test/test-install-root.c'], | |
371 | [], | |
372 | []], | |
373 | ||
374 | [['src/test/test-acl-util.c'], | |
375 | [], | |
376 | [], | |
377 | 'HAVE_ACL'], | |
378 | ||
379 | [['src/test/test-seccomp.c'], | |
380 | [], | |
381 | [libseccomp], | |
382 | 'HAVE_SECCOMP'], | |
383 | ||
384 | [['src/test/test-rlimit-util.c'], | |
385 | [], | |
386 | []], | |
387 | ||
388 | [['src/test/test-ask-password-api.c'], | |
389 | [], | |
390 | [], | |
391 | '', 'manual'], | |
392 | ||
393 | [['src/test/test-dissect-image.c'], | |
394 | [], | |
395 | [libblkid], | |
396 | '', 'manual'], | |
397 | ||
398 | [['src/test/test-signal-util.c'], | |
399 | [], | |
400 | []], | |
401 | ||
402 | [['src/test/test-selinux.c'], | |
403 | [], | |
404 | []], | |
405 | ||
406 | [['src/test/test-sizeof.c'], | |
407 | [libbasic], | |
408 | []], | |
409 | ||
db3a5930 DM |
410 | [['src/test/test-bpf.c', |
411 | 'src/test/test-helper.c'], | |
412 | [libcore, | |
413 | libshared], | |
414 | [libmount, | |
415 | threads, | |
416 | librt, | |
417 | libseccomp, | |
418 | libselinux, | |
419 | libblkid]], | |
420 | ||
62a76913 LP |
421 | [['src/test/test-watch-pid.c', |
422 | 'src/test/test-helper.c'], | |
423 | [libcore, | |
424 | libshared], | |
425 | [libmount, | |
426 | threads, | |
427 | librt, | |
428 | libseccomp, | |
429 | libselinux, | |
430 | libblkid]], | |
431 | ||
37efbbd8 ZJS |
432 | [['src/test/test-hashmap.c', |
433 | 'src/test/test-hashmap-plain.c', | |
434 | test_hashmap_ordered_c], | |
435 | [], | |
436 | [], | |
437 | '', 'timeout=90'], | |
438 | ||
439 | [['src/test/test-set.c'], | |
440 | [], | |
441 | []], | |
442 | ||
3ffd12bf YW |
443 | [['src/test/test-set-disable-mempool.c'], |
444 | [], | |
445 | [threads]], | |
446 | ||
37efbbd8 ZJS |
447 | [['src/test/test-bitmap.c'], |
448 | [], | |
449 | []], | |
450 | ||
451 | [['src/test/test-xml.c'], | |
452 | [], | |
453 | []], | |
454 | ||
455 | [['src/test/test-list.c'], | |
456 | [], | |
457 | []], | |
458 | ||
9aef9a67 LP |
459 | [['src/test/test-procfs-util.c'], |
460 | [], | |
461 | []], | |
462 | ||
37efbbd8 ZJS |
463 | [['src/test/test-unaligned.c'], |
464 | [], | |
465 | []], | |
466 | ||
467 | [['src/test/test-tables.c', | |
468 | 'src/shared/test-tables.h', | |
469 | 'src/journal/journald-server.c', | |
470 | 'src/journal/journald-server.h'], | |
471 | [libcore, | |
472 | libjournal_core, | |
473 | libudev_core, | |
0c06b506 | 474 | libudev_static, |
37efbbd8 ZJS |
475 | libsystemd_network, |
476 | libshared], | |
477 | [threads, | |
478 | libseccomp, | |
479 | libmount, | |
480 | libxz, | |
481 | liblz4, | |
482 | libblkid], | |
483 | '', '', [], libudev_core_includes], | |
484 | ||
485 | [['src/test/test-prioq.c'], | |
486 | [], | |
487 | []], | |
488 | ||
489 | [['src/test/test-fileio.c'], | |
490 | [], | |
491 | []], | |
492 | ||
b996f7e4 | 493 | [['src/test/test-time-util.c'], |
37efbbd8 ZJS |
494 | [], |
495 | []], | |
496 | ||
497 | [['src/test/test-clock.c'], | |
498 | [], | |
499 | []], | |
500 | ||
501 | [['src/test/test-architecture.c'], | |
502 | [], | |
503 | []], | |
504 | ||
505 | [['src/test/test-log.c'], | |
506 | [], | |
507 | []], | |
508 | ||
509 | [['src/test/test-ipcrm.c'], | |
510 | [], | |
511 | [], | |
512 | '', 'unsafe'], | |
513 | ||
514 | [['src/test/test-btrfs.c'], | |
515 | [], | |
516 | [], | |
517 | '', 'manual'], | |
518 | ||
519 | ||
520 | [['src/test/test-firewall-util.c'], | |
c3045943 | 521 | [libshared], |
37efbbd8 ZJS |
522 | [], |
523 | 'HAVE_LIBIPTC'], | |
524 | ||
525 | [['src/test/test-netlink-manual.c'], | |
526 | [], | |
527 | [libkmod], | |
528 | 'HAVE_KMOD', 'manual'], | |
529 | ||
530 | [['src/test/test-ellipsize.c'], | |
531 | [], | |
532 | []], | |
533 | ||
534 | [['src/test/test-date.c'], | |
535 | [], | |
536 | []], | |
537 | ||
538 | [['src/test/test-sleep.c'], | |
539 | [], | |
540 | []], | |
541 | ||
542 | [['src/test/test-replace-var.c'], | |
543 | [], | |
544 | []], | |
545 | ||
546 | [['src/test/test-calendarspec.c'], | |
547 | [], | |
548 | []], | |
549 | ||
550 | [['src/test/test-strip-tab-ansi.c'], | |
551 | [], | |
552 | []], | |
553 | ||
554 | [['src/test/test-daemon.c'], | |
555 | [], | |
556 | []], | |
557 | ||
558 | [['src/test/test-cgroup.c'], | |
559 | [], | |
560 | [], | |
561 | '', 'manual'], | |
562 | ||
10f28641 FB |
563 | [['src/test/test-cgroup-cpu.c'], |
564 | [libcore, | |
565 | libshared], | |
566 | []], | |
567 | ||
8c759b33 LP |
568 | [['src/test/test-cgroup-mask.c', |
569 | 'src/test/test-helper.c'], | |
37efbbd8 | 570 | [libcore, |
34ce0a52 | 571 | libshared], |
37efbbd8 ZJS |
572 | [threads, |
573 | librt, | |
574 | libseccomp, | |
575 | libselinux, | |
576 | libmount, | |
577 | libblkid]], | |
578 | ||
579 | [['src/test/test-cgroup-util.c'], | |
580 | [], | |
581 | []], | |
582 | ||
583 | [['src/test/test-env-util.c'], | |
584 | [], | |
585 | []], | |
586 | ||
587 | [['src/test/test-strbuf.c'], | |
588 | [], | |
589 | []], | |
590 | ||
591 | [['src/test/test-strv.c'], | |
592 | [], | |
593 | []], | |
594 | ||
595 | [['src/test/test-path-util.c'], | |
596 | [], | |
597 | []], | |
598 | ||
8c759b33 LP |
599 | [['src/test/test-path.c', |
600 | 'src/test/test-helper.c'], | |
37efbbd8 | 601 | [libcore, |
34ce0a52 | 602 | libshared], |
37efbbd8 ZJS |
603 | [threads, |
604 | librt, | |
605 | libseccomp, | |
606 | libselinux, | |
607 | libmount, | |
608 | libblkid]], | |
609 | ||
8c759b33 LP |
610 | [['src/test/test-execute.c', |
611 | 'src/test/test-helper.c'], | |
37efbbd8 | 612 | [libcore, |
34ce0a52 | 613 | libshared], |
37efbbd8 ZJS |
614 | [threads, |
615 | librt, | |
616 | libseccomp, | |
617 | libselinux, | |
618 | libmount, | |
7e4a49b4 ZJS |
619 | libblkid], |
620 | '', 'timeout=360'], | |
37efbbd8 ZJS |
621 | |
622 | [['src/test/test-siphash24.c'], | |
623 | [], | |
624 | []], | |
625 | ||
626 | [['src/test/test-strxcpyx.c'], | |
627 | [], | |
628 | []], | |
629 | ||
630 | [['src/test/test-install.c'], | |
631 | [libcore, | |
632 | libshared], | |
633 | [], | |
634 | '', 'manual'], | |
635 | ||
636 | [['src/test/test-watchdog.c'], | |
637 | [], | |
638 | []], | |
639 | ||
8c759b33 LP |
640 | [['src/test/test-sched-prio.c', |
641 | 'src/test/test-helper.c'], | |
37efbbd8 | 642 | [libcore, |
34ce0a52 | 643 | libshared], |
37efbbd8 ZJS |
644 | [threads, |
645 | librt, | |
646 | libseccomp, | |
647 | libselinux, | |
648 | libmount, | |
649 | libblkid]], | |
650 | ||
651 | [['src/test/test-conf-files.c'], | |
652 | [], | |
653 | []], | |
654 | ||
655 | [['src/test/test-conf-parser.c'], | |
656 | [], | |
657 | []], | |
658 | ||
659 | [['src/test/test-af-list.c', | |
660 | generated_gperf_headers], | |
661 | [], | |
662 | []], | |
663 | ||
664 | [['src/test/test-arphrd-list.c', | |
665 | generated_gperf_headers], | |
666 | [], | |
667 | []], | |
668 | ||
dca23091 YW |
669 | [['src/test/test-ip-protocol-list.c', |
670 | shared_generated_gperf_headers], | |
671 | [], | |
672 | []], | |
673 | ||
37efbbd8 ZJS |
674 | [['src/test/test-journal-importer.c'], |
675 | [], | |
676 | []], | |
677 | ||
678 | [['src/test/test-libudev.c'], | |
34ce0a52 | 679 | [libshared], |
37efbbd8 ZJS |
680 | []], |
681 | ||
682 | [['src/test/test-udev.c'], | |
683 | [libudev_core, | |
0c06b506 | 684 | libudev_static, |
37efbbd8 ZJS |
685 | libsystemd_network, |
686 | libshared], | |
687 | [threads, | |
688 | librt, | |
689 | libblkid, | |
690 | libkmod, | |
691 | libacl], | |
feae122f | 692 | '', 'manual', '-DLOG_REALM=LOG_REALM_UDEV'], |
37efbbd8 ZJS |
693 | |
694 | [['src/test/test-id128.c'], | |
695 | [], | |
696 | []], | |
697 | ||
698 | [['src/test/test-hash.c'], | |
699 | [], | |
700 | []], | |
701 | ||
bd181f27 ZJS |
702 | [['src/test/test-gcrypt-util.c'], |
703 | [], | |
704 | [], | |
705 | 'HAVE_GCRYPT'], | |
706 | ||
37efbbd8 ZJS |
707 | [['src/test/test-nss.c'], |
708 | [], | |
709 | [libdl], | |
08540a95 | 710 | 'ENABLE_NSS', 'manual'], |
6fa392bf ZJS |
711 | |
712 | [['src/test/test-umount.c', | |
713 | 'src/core/mount-setup.c', | |
714 | 'src/core/mount-setup.h', | |
715 | 'src/core/umount.c', | |
716 | 'src/core/umount.h'], | |
717 | [], | |
718 | [libmount]], | |
24924cc9 ZJS |
719 | |
720 | [['src/test/test-bus-util.c'], | |
721 | [], | |
722 | []], | |
ca7a9afc ZJS |
723 | |
724 | [['src/test/test-sd-hwdb.c'], | |
725 | [], | |
726 | []], | |
37efbbd8 | 727 | ] |
69e96427 ZJS |
728 | |
729 | ############################################################ | |
730 | ||
731 | # define some tests here, because the link_with deps were not defined earlier | |
732 | ||
733 | tests += [ | |
37efbbd8 ZJS |
734 | [['src/journal/test-journal.c'], |
735 | [libjournal_core, | |
736 | libshared], | |
737 | [threads, | |
738 | libxz, | |
739 | liblz4]], | |
740 | ||
741 | [['src/journal/test-journal-send.c'], | |
742 | [libjournal_core, | |
743 | libshared], | |
744 | [threads, | |
745 | libxz, | |
746 | liblz4]], | |
747 | ||
748 | [['src/journal/test-journal-syslog.c'], | |
749 | [libjournal_core, | |
34ce0a52 | 750 | libshared], |
37efbbd8 ZJS |
751 | [threads, |
752 | libxz, | |
753 | liblz4, | |
754 | libselinux]], | |
755 | ||
756 | [['src/journal/test-journal-match.c'], | |
757 | [libjournal_core, | |
758 | libshared], | |
759 | [threads, | |
760 | libxz, | |
761 | liblz4]], | |
762 | ||
763 | [['src/journal/test-journal-enum.c'], | |
764 | [libjournal_core, | |
765 | libshared], | |
766 | [threads, | |
767 | libxz, | |
76b38997 ZJS |
768 | liblz4], |
769 | '', 'timeout=360'], | |
37efbbd8 ZJS |
770 | |
771 | [['src/journal/test-journal-stream.c'], | |
772 | [libjournal_core, | |
773 | libshared], | |
774 | [threads, | |
775 | libxz, | |
776 | liblz4]], | |
777 | ||
778 | [['src/journal/test-journal-flush.c'], | |
779 | [libjournal_core, | |
780 | libshared], | |
781 | [threads, | |
782 | libxz, | |
783 | liblz4]], | |
784 | ||
785 | [['src/journal/test-journal-init.c'], | |
786 | [libjournal_core, | |
787 | libshared], | |
788 | [threads, | |
789 | libxz, | |
790 | liblz4]], | |
791 | ||
1b7cf0e5 AG |
792 | [['src/journal/test-journal-config.c'], |
793 | [libjournal_core, | |
794 | libshared], | |
795 | [libxz, | |
796 | liblz4, | |
797 | libselinux]], | |
798 | ||
37efbbd8 ZJS |
799 | [['src/journal/test-journal-verify.c'], |
800 | [libjournal_core, | |
801 | libshared], | |
802 | [threads, | |
803 | libxz, | |
804 | liblz4]], | |
805 | ||
806 | [['src/journal/test-journal-interleaving.c'], | |
807 | [libjournal_core, | |
808 | libshared], | |
809 | [threads, | |
810 | libxz, | |
811 | liblz4]], | |
812 | ||
813 | [['src/journal/test-mmap-cache.c'], | |
814 | [libjournal_core, | |
815 | libshared], | |
816 | [threads, | |
817 | libxz, | |
818 | liblz4]], | |
819 | ||
820 | [['src/journal/test-catalog.c'], | |
821 | [libjournal_core, | |
822 | libshared], | |
823 | [threads, | |
824 | libxz, | |
49cdae63 | 825 | liblz4]], |
37efbbd8 ZJS |
826 | |
827 | [['src/journal/test-compress.c'], | |
828 | [libjournal_core, | |
829 | libshared], | |
830 | [liblz4, | |
831 | libxz]], | |
832 | ||
833 | [['src/journal/test-compress-benchmark.c'], | |
834 | [libjournal_core, | |
835 | libshared], | |
836 | [liblz4, | |
837 | libxz], | |
838 | '', 'timeout=90'], | |
839 | ||
840 | [['src/journal/test-audit-type.c'], | |
841 | [libjournal_core, | |
842 | libshared], | |
843 | [liblz4, | |
844 | libxz]], | |
845 | ] | |
f4ee10a2 ZJS |
846 | |
847 | ############################################################ | |
848 | ||
849 | tests += [ | |
8a0c1913 ZJS |
850 | [['src/libsystemd/sd-bus/test-bus-address.c'], |
851 | [], | |
852 | [threads]], | |
853 | ||
37efbbd8 ZJS |
854 | [['src/libsystemd/sd-bus/test-bus-marshal.c'], |
855 | [], | |
856 | [threads, | |
857 | libglib, | |
858 | libgobject, | |
859 | libgio, | |
860 | libdbus]], | |
861 | ||
862 | [['src/libsystemd/sd-bus/test-bus-signature.c'], | |
863 | [], | |
864 | [threads]], | |
865 | ||
8a5cd31e LP |
866 | [['src/libsystemd/sd-bus/test-bus-watch-bind.c'], |
867 | [], | |
868 | [threads], '', 'timeout=120'], | |
869 | ||
37efbbd8 ZJS |
870 | [['src/libsystemd/sd-bus/test-bus-chat.c'], |
871 | [], | |
872 | [threads]], | |
873 | ||
874 | [['src/libsystemd/sd-bus/test-bus-cleanup.c'], | |
875 | [], | |
876 | [threads, | |
877 | libseccomp]], | |
878 | ||
879 | [['src/libsystemd/sd-bus/test-bus-error.c'], | |
880 | [libshared_static, | |
37e4d7a8 | 881 | libsystemd_static], |
37efbbd8 ZJS |
882 | []], |
883 | ||
884 | [['src/libsystemd/sd-bus/test-bus-track.c'], | |
885 | [], | |
886 | [libseccomp]], | |
887 | ||
888 | [['src/libsystemd/sd-bus/test-bus-server.c'], | |
889 | [], | |
890 | [threads]], | |
891 | ||
892 | [['src/libsystemd/sd-bus/test-bus-objects.c'], | |
893 | [], | |
894 | [threads]], | |
895 | ||
94e2523b ZJS |
896 | [['src/libsystemd/sd-bus/test-bus-vtable.c'], |
897 | [], | |
898 | []], | |
899 | ||
37efbbd8 ZJS |
900 | [['src/libsystemd/sd-bus/test-bus-gvariant.c'], |
901 | [], | |
902 | [libglib, | |
903 | libgobject, | |
904 | libgio]], | |
905 | ||
906 | [['src/libsystemd/sd-bus/test-bus-creds.c'], | |
907 | [], | |
908 | []], | |
909 | ||
910 | [['src/libsystemd/sd-bus/test-bus-match.c'], | |
911 | [], | |
912 | []], | |
913 | ||
37efbbd8 ZJS |
914 | [['src/libsystemd/sd-bus/test-bus-benchmark.c'], |
915 | [], | |
a132bef0 ZJS |
916 | [threads], |
917 | '', 'manual'], | |
37efbbd8 ZJS |
918 | |
919 | [['src/libsystemd/sd-bus/test-bus-introspect.c'], | |
920 | [], | |
921 | []], | |
922 | ||
923 | [['src/libsystemd/sd-event/test-event.c'], | |
924 | [], | |
925 | []], | |
926 | ||
927 | [['src/libsystemd/sd-netlink/test-netlink.c'], | |
928 | [], | |
929 | []], | |
930 | ||
931 | [['src/libsystemd/sd-netlink/test-local-addresses.c'], | |
932 | [], | |
933 | []], | |
934 | ||
935 | [['src/libsystemd/sd-resolve/test-resolve.c'], | |
936 | [], | |
c92ab239 ZJS |
937 | [threads], |
938 | '', 'timeout=120'], | |
37efbbd8 ZJS |
939 | |
940 | [['src/libsystemd/sd-login/test-login.c'], | |
941 | [], | |
ce737f46 | 942 | []], |
9380d34c YW |
943 | |
944 | [['src/libsystemd/sd-device/test-sd-device.c'], | |
945 | [], | |
946 | []], | |
a6ee01ca YW |
947 | |
948 | [['src/libsystemd/sd-device/test-sd-device-thread.c'], | |
949 | [libbasic, | |
950 | libshared_static, | |
951 | libsystemd], | |
952 | [threads]], | |
cb3e926a YW |
953 | |
954 | [['src/libsystemd/sd-device/test-udev-device-thread.c'], | |
955 | [libbasic, | |
956 | libshared_static, | |
957 | libudev], | |
958 | [threads]], | |
aaa5b4ce YW |
959 | |
960 | [['src/libsystemd/sd-device/test-sd-device-monitor.c'], | |
961 | [], | |
962 | []], | |
963 | ||
826472ce | 964 | ] |
69e96427 | 965 | |
46e63a2a | 966 | if cxx_cmd != '' |
94e2523b ZJS |
967 | tests += [ |
968 | [['src/libsystemd/sd-bus/test-bus-vtable-cc.cc'], | |
969 | [], | |
970 | []] | |
971 | ] | |
972 | endif | |
973 | ||
69e96427 ZJS |
974 | ############################################################ |
975 | ||
976 | tests += [ | |
37efbbd8 ZJS |
977 | [['src/libsystemd-network/test-dhcp-option.c', |
978 | 'src/libsystemd-network/dhcp-protocol.h', | |
979 | 'src/libsystemd-network/dhcp-internal.h'], | |
980 | [libshared, | |
981 | libsystemd_network], | |
982 | []], | |
983 | ||
b85bc551 DW |
984 | [['src/libsystemd-network/test-sd-dhcp-lease.c', |
985 | 'src/libsystemd-network/dhcp-lease-internal.h'], | |
986 | [libshared, | |
987 | libsystemd_network], | |
988 | []], | |
989 | ||
37efbbd8 ZJS |
990 | [['src/libsystemd-network/test-dhcp-client.c', |
991 | 'src/libsystemd-network/dhcp-protocol.h', | |
992 | 'src/libsystemd-network/dhcp-internal.h', | |
993 | 'src/systemd/sd-dhcp-client.h'], | |
994 | [libshared, | |
34ce0a52 | 995 | libsystemd_network], |
37efbbd8 ZJS |
996 | []], |
997 | ||
998 | [['src/libsystemd-network/test-dhcp-server.c'], | |
999 | [libshared, | |
1000 | libsystemd_network], | |
1001 | []], | |
1002 | ||
1003 | [['src/libsystemd-network/test-ipv4ll.c', | |
1004 | 'src/libsystemd-network/arp-util.h', | |
1005 | 'src/systemd/sd-ipv4ll.h'], | |
1006 | [libshared, | |
1007 | libsystemd_network], | |
1008 | []], | |
1009 | ||
1010 | [['src/libsystemd-network/test-ipv4ll-manual.c', | |
1011 | 'src/systemd/sd-ipv4ll.h'], | |
1012 | [libshared, | |
1013 | libsystemd_network], | |
1014 | [], | |
1015 | '', 'manual'], | |
1016 | ||
1017 | [['src/libsystemd-network/test-acd.c', | |
1018 | 'src/systemd/sd-ipv4acd.h'], | |
1019 | [libshared, | |
1020 | libsystemd_network], | |
1021 | [], | |
1022 | '', 'manual'], | |
1023 | ||
1024 | [['src/libsystemd-network/test-ndisc-rs.c', | |
1025 | 'src/libsystemd-network/dhcp-identifier.h', | |
1026 | 'src/libsystemd-network/dhcp-identifier.c', | |
1027 | 'src/libsystemd-network/icmp6-util.h', | |
1028 | 'src/systemd/sd-dhcp6-client.h', | |
1029 | 'src/systemd/sd-ndisc.h'], | |
1030 | [libshared, | |
34ce0a52 | 1031 | libsystemd_network], |
37efbbd8 ZJS |
1032 | []], |
1033 | ||
4a24ba71 ZJS |
1034 | [['src/libsystemd-network/test-ndisc-ra.c', |
1035 | 'src/libsystemd-network/icmp6-util.h', | |
1036 | 'src/systemd/sd-ndisc.h'], | |
1037 | [libshared, | |
1038 | libsystemd_network], | |
1039 | []], | |
1040 | ||
37efbbd8 ZJS |
1041 | [['src/libsystemd-network/test-dhcp6-client.c', |
1042 | 'src/libsystemd-network/dhcp-identifier.h', | |
1043 | 'src/libsystemd-network/dhcp-identifier.c', | |
1044 | 'src/libsystemd-network/dhcp6-internal.h', | |
1045 | 'src/systemd/sd-dhcp6-client.h'], | |
1046 | [libshared, | |
34ce0a52 | 1047 | libsystemd_network], |
37efbbd8 ZJS |
1048 | []], |
1049 | ||
1050 | [['src/libsystemd-network/test-lldp.c'], | |
1051 | [libshared, | |
1052 | libsystemd_network], | |
1053 | []], | |
1054 | ] | |
69e96427 ZJS |
1055 | |
1056 | ############################################################ | |
1057 | ||
1058 | tests += [ | |
37efbbd8 ZJS |
1059 | [['src/login/test-login-shared.c'], |
1060 | [], | |
1061 | []], | |
1062 | ||
1063 | [['src/login/test-inhibit.c'], | |
1064 | [], | |
1065 | [], | |
1066 | '', 'manual'], | |
1067 | ||
1068 | [['src/login/test-login-tables.c'], | |
1069 | [liblogind_core, | |
34ce0a52 | 1070 | libshared], |
37efbbd8 ZJS |
1071 | [threads]], |
1072 | ] |